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

Problem using distribution with datadog formatter [HELP] #71

Open
gabrielvf1 opened this issue May 2, 2022 · 1 comment
Open

Problem using distribution with datadog formatter [HELP] #71

gabrielvf1 opened this issue May 2, 2022 · 1 comment

Comments

@gabrielvf1
Copy link

Hello guys! I'm having some problems using the distribution metric and would be very happy if anyone can help me

I am trying to use distribution metric on my project but somehow i am doing something wrong, i think. I have started the telemetry metrics with this settings as you can see in this image:

alt text

I am using a datadog agent in the middle that receives the information via DogStatsD, because of that i used the "formatter: :datadog". And for some metrics like counter its working well but with distribution the value is not showing in datadog metrics. I have made some tries with differente configuration on the metrics but now they are like that:

alt text .

The counter metric this way is working well. As you can see:

alt text .

To populate this metrics i made some test endpoints that generate random data and they are structed like that:

alt text .

But on my datadog i cannot find the metrics as you can see:

alt text
alt text

OBS: And the key "teste.metrics.valor_teste" also doesn't show anything on datadog

I think that's it.
If anyone can show me real world examples working or can tell me what I'm doing wrong, it would help me a lot.
Thank you if you read it until here :) !

@arkgil
Copy link
Collaborator

arkgil commented May 5, 2022

Hey @gabrielvf1 👋 Can you try hooking up the console reporter https://hexdocs.pm/telemetry_metrics/Telemetry.Metrics.ConsoleReporter.html#content and see if the event handlers are being invoked at all?

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

No branches or pull requests

2 participants