-
Notifications
You must be signed in to change notification settings - Fork 67
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
Question: is there any way to set tags? #92
Comments
Hi @shengwu, unfortunately tags are not supported when updating a metric. However you would be able to do to this by using Note that this would lose you the automatic creation/subscribing of metrics and the |
@fishcakez Thank you for responding so quickly! Glad to hear that it's possible with exometer. By chance, would elixometer be open to a contribution adding this feature? |
I'm not immediately sure about this. Likely adding a tagged spiral would
double the size of the code base 😨. It might be preferable for elixometer
to support custom metrics, similar to the update or create feature of
exometer.
…On 26 Aug 2017 3:29 pm, "Sheng Wu" ***@***.***> wrote:
@fishcakez <https://github.com/fishcakez> Thank you for responding so
quickly! Glad to hear that it's possible with exometer.
By chance, would elixometer be open to a contribution adding this feature?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#92 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB6JTfaaYw4RGxkm3B9nAxIgFjkky-OBks5scJxigaJpZM4PDky8>
.
|
I have a fork zorbash/exometer@ac6197b which supports DataDog tags from configuration. I think that maybe exometer_report_statsd.erl can be changed to support dynamic (per metric update) tags. |
How would you express the goal to capture response time metrics along with status code with The information I would get is Thanks |
Actually, the exometer_influxdb reporter already supports a feature to convert a chunk of metric as a tag: travelping/exometer_influxdb#3 Someone might find this helpful, so I'm still posting the comment |
We are planning to use elixometer to send metrics to datadog (with exometer_datadog). I know it's possible with some of datadog's libraries to set tags on metrics. For example, the
my_app_api_endpoint
metric could have astatus_code
tag to record what code the method returned, amethod
tag to record what the HTTP method was, and anendpoint
tag to record the endpoint.Is there a way to record tags when updating a metric, maybe with optional parameters in a call like
update_spiral("metrics_test.\#{thingie}.qps", 1)
? I looked through the source code, but it was not obvious whether this is supported.The text was updated successfully, but these errors were encountered: