Update statsd library to send the correct metric type.
See original GitHub issueProblem description Pravega uses a third-party metrics provider for statsd (ReadyTalk/metrics-statsd), and it has a bug (#39): all metrics are erroneously labeled as ‘gauges’ (as opposed to counters, etc).
The impact is that InfluxDB/Grafana doesn’t interpret the data correctly.
Related to #2977.
Problem location
Notice the |g
constant on this line, which means ‘gauge’ as per the statsd protocol.
Suggestions for an improvement
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
statsd/metric_types.md at master - GitHub
StatsD Metric Types. Counting. gorets:1|c. This is a simple counter. Add 1 to the "gorets" bucket. At each flush the current count is...
Read more >Monitoring StatsD: metric types, format & code examples
In this post we describe the StatsD metrics architecture, metrics types and formats, proving code examples for the Golang, NodeJS/Javascript ...
Read more >Metric Submission: DogStatsD - Datadog Docs
COUNT, GAUGE, and SET metric types are familiar to StatsD users. TIMER from StatsD ... Run the following code to submit a DogStatsD...
Read more >Retrieve custom metrics with StatsD - Amazon CloudWatch
MetricName – A string with no colons, bars, # characters, or @ characters. · value – This can be either integer or float....
Read more >How To Configure StatsD to Collect Arbitrary Stats for Graphite ...
We can then use the gauge.send to send whatever values we want to StatsD. The library has similar functionality with the other metric...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is no longer a problem since statsd (ReadyTalk/metrics-statsd) has been replaced by Micrometer. Yes the issue can be closed.
Fixed via #3501.