Comments (5)
Counters which get reset on every publish seem more like increment events. The statsd_exporter should be able to take these events and turn them into "real" Prometheus counters.
You could simulate the lack of updates with Prometheus by using the changes()
function.
ALERT MetricNotUpdating
IF changes(counter_metric_total[10m]) < 1
This would alert if no updates have been published to Prometheus via the cumulative counter in the last 10 minutes.
from statsd_exporter.
What about gauges @SuperQ? It would be nice if the exporter reset its metrics to prevent old data being considered new.
from statsd_exporter.
It is not possible to expire gauges as the statsd protocol does not have "this is expired" message that I'm aware of. Gauges represent "the last sampled value", so they're always "stale" depending on the timeframe of the value. It is not possible to correctly expire them without an explicit method in the statsd protocol.
from statsd_exporter.
@SuperQ Thanks for the reply.
I'm considering to reboot the container, periodically, to detect the absence of new metrics, as they are not persisted.
from statsd_exporter.
It would be good to tie the lifecycle of the statsd_exporter to the lifecycle of the app writing to it. This way you get consistency with the metrics exported by the application writing to the exporter.
from statsd_exporter.
Related Issues (20)
- Renaming metrics with match_type Regex? HOT 1
- Support prefixed glob matches HOT 3
- af_agg_ti_start and af_agg_ti_finish are missing HOT 3
- Single tag in metric reporting NaN HOT 3
- Can script be run add or transform a field. HOT 1
- New release needed to address CVE-2023-24538 HOT 1
- Inconsistent debug logging of line payloads from TCP listener HOT 1
- Feature Request: "scale" field in mapping config to convert units
- Unable to expose both native and original histograms HOT 3
- Unable to disable the udp port listening HOT 2
- Gauge metric decreases with negative values HOT 4
- Support for exemplars HOT 2
- Update go to address CVEs
- Momentary spikes in events received HOT 3
- Support exclusions (negative matches) HOT 5
- Use new "created timestamp" for counters and histograms HOT 1
- New release needed with security updates that went in HOT 4
- stackstorm mapping - match_metric_type not working right? HOT 3
- Reject configuration with unknown fields
- Malformed name tag - Log level should be higher HOT 1
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 statsd_exporter.