Code Monkey home page Code Monkey logo

Comments (6)

fishcakez avatar fishcakez commented on July 17, 2024

Hi @shengwu, unfortunately tags are not supported when updating a metric. However you would be able to do to this by using exometer_core directly and writing a :exometer_probe with a version of :exometer_slide that supports tagging values. While this may seem very complex, I do not think it would be as difficult as it sounds because exometer_core contains a few examples of how do this, and the hardest parts can be copied from the existing :exometer_spiral and :exometer_slide.

Note that this would lose you the automatic creation/subscribing of metrics and thepobox protection that elixometer provides to prevent overloading a :exometer_probe process. However again elixometer also exposes enough to replicate this feature if you require it.

from elixometer.

shengwu avatar shengwu commented on July 17, 2024

@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?

from elixometer.

fishcakez avatar fishcakez commented on July 17, 2024

from elixometer.

zorbash avatar zorbash commented on July 17, 2024

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.

from elixometer.

Kukunin avatar Kukunin commented on July 17, 2024

How would you express the goal to capture response time metrics along with status code with elixometer? Have a unique metric for each status code?

The information I would get is what response time is and how many and what errors are there?
Can I answer the second question with elixometer?

Thanks

from elixometer.

Kukunin avatar Kukunin commented on July 17, 2024

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

from elixometer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.