question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update statsd library to send the correct metric type.

See original GitHub issue

Problem 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:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
kevinhan88commented, Apr 16, 2019

This is no longer a problem since statsd (ReadyTalk/metrics-statsd) has been replaced by Micrometer. Yes the issue can be closed.

0reactions
RaulGraciacommented, Apr 16, 2019

Fixed via #3501.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found