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

database transaction #53

Closed
MeterSoft opened this issue Oct 26, 2018 · 3 comments
Closed

database transaction #53

MeterSoft opened this issue Oct 26, 2018 · 3 comments

Comments

@MeterSoft
Copy link

i added include plug use NewRelic.Transaction to my project but i did not see database details. Should i config something else?

@binaryseed
Copy link
Collaborator

We don't auto-instrument any database calls. There's a new_relic_ecto instrumentation library in the works but it's still early stages

You can always add function tracers to any function call you want and it'll show up:
https://hexdocs.pm/new_relic_agent/NewRelic.Tracer.html

@MeterSoft
Copy link
Author

i added function trace to function with database call but it not visible database detail on ui.

@relistan
Copy link

@MeterSoft they won't show up as database calls if you're instrumenting them with the function tracer. You'll have to look at them as normal function calls. Sounds like @binaryseed is saying they are working on Ecto instrumentation, and that would then most likely show up in the DB detail.

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