Problem using distribution with datadog formatter [HELP]
gabrielvf1 opened this issue · comments
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:
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:
The counter metric this way is working well. As you can see:
To populate this metrics i made some test endpoints that generate random data and they are structed like that:
But on my datadog i cannot find the metrics as you can see:
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 :) !
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?