Comments (6)
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.
@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.
from elixometer.
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.
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.
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)
- @timed macro reports 1 microsecond
- Dialyzer reports "Function has no local return" HOT 4
- Production environment causing naming inconsistency HOT 2
- README should explain why I'd want to use this over plain-ol' exometer HOT 1
- All types are gauges HOT 4
- While runing "mix ecto.create" or "mix phoenix.server" getting below error HOT 1
- Elixometer.clear_counter/1 is supposed to use configured Formatter HOT 2
- Allow :pobox 1.x minor revision upgrade HOT 2
- [Question] Why is there two different function names in `DeclarativeTest` module for testing `@timed` with a guarded function? HOT 1
- i have some issue while runing the phoenix server HOT 2
- Timeout on registering a metric HOT 3
- Lager is not really used, but it is in dependencies HOT 1
- CRASH REPORT Process exometer_report_tty with 0 neighbours crashed HOT 4
- Unable to install dependencies when adding exometer to deps HOT 7
- Release version 1.3.0 HOT 5
- Get metric value by wildcard key HOT 1
- "Enumerable not implemented for nil" on subscription creation HOT 6
- Could not compile dependency :setup, "/Users/alan/.mix/rebar3 bare compile --paths HOT 11
- @timed functions return [do: result] HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elixometer.