I use an exometer and the exometer_report_statsd reporter reports the response time of the Phoenix endpoints to the Datadog via dogstatsd.
From Plug, I call :exometer.update/2 to send the response time to Datadog.
eg:
: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 about using tags.
The question is where should I include tags?
source share