I am using exometer and the exometer_report_statsd reporter to report Phoenix endpoints response times to Datadog via dogstatsd.
From a Plug, I am calling :exometer.update/2
to send the response time to Datadog.
E.g:
:exometer.update [:app_name, :webapp, :resp_time], 25
Now, I want to have only one metric app_name.webapp.resp_time
instead of one metric per endpoint and version so I thought of using tags.
The question is, where should I include the tags?
Answering just in case someone will spot this question via Google.
You cannot. StatsD protocol do not define tags or comments at all, so there is no possibility for that. You need to use different library like Statix for that.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With