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

Ecto telemetry fails #171

Closed
tmaszk opened this issue Jan 31, 2020 · 1 comment · Fixed by #172
Closed

Ecto telemetry fails #171

tmaszk opened this issue Jan 31, 2020 · 1 comment · Fixed by #172

Comments

@tmaszk
Copy link
Contributor

tmaszk commented Jan 31, 2020

Since upgrading to new_relic_agent 1.15.0, database transactions are not uploaded to New Relic.

The issue seems to be that Telemetry.Ecto.Handler expects config for hostname:, port: and database:, which are optional Ecto configuration fields.

Here's the top of the error log.

[error] Handler {:new_relic_ecto, :axdb} has failed and has been detached. Class=:error
Reason={:badmatch, %{database: "development", pool_size: 10}}
Stacktrace=[{NewRelic.Telemetry.Ecto.Handler, :handle_event, 4, [file: 'lib/new_relic/telemetry/ecto/handler.ex', line: 18]},
@binaryseed
Copy link
Collaborator

Thanks! fixed & about to release a patch version via #172

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

Successfully merging a pull request may close this issue.

2 participants