Send Datadog Tags in Exomer

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?

+6
source share
1 answer

Answering just in case someone discovers this question via Google.

You can't. The StatsD protocol does not define tags or comments at all, so there is no way to do this. To do this, you need to use another library, such as Statix .

0
source

Source: https://habr.com/ru/post/1270583/


All Articles