Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Language appear as Python #6

Open
overallduka opened this issue Feb 12, 2017 · 3 comments
Open

Language appear as Python #6

overallduka opened this issue Feb 12, 2017 · 3 comments

Comments

@overallduka
Copy link

Not big deal but language appear as Python, accordingly picture below:

https://www.dropbox.com/s/8bth7n6y59k95dp/Screenshot%202017-02-12%2013.19.08.png?dl=0

@romul
Copy link
Owner

romul commented Feb 12, 2017

@overallduka Could you try language configuration option?
NewRelic doesn't officially support Elixir yet, so it could skip data from "unknown language" in some cases.

config :new_relic,
  application_name: System.get_env("NEWRELIC_APP_NAME"),
  license_key: System.get_env("NEWRELIC_LICENSE_KEY"),
  poll_interval: 60_000,
  language: "elixir"

@mousavian
Copy link

mousavian commented Nov 9, 2017

I've added this language to the config but it failed to send logs to newrelic by throwing this error:

{{400, 'Bad Request'},
[{'connection', 'keep-alive'}, {'content-length', '2'},
{'content-type', 'text/json; charset=utf-8'}], "{}"}

plus, why is it even passing python by default in the first place? :)

:language => Application.get_env(:new_relic, :language, "python"),

@romul
Copy link
Owner

romul commented Dec 9, 2017

@mousavian Beсause Python is supported by NewRelic. I guess, you could change it to Ruby or other language that have official support, but not to Elixir still.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants