Open overallduka opened 7 years ago
@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"
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? :) https://github.com/romul/newrelic.ex/blob/2641a9b08cd8b0674f11e911891205c2e4823b0f/lib/new_relic/agent.ex#L48
@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.
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