This repository was archived by the owner on Aug 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 107
expose discarded samples metrics via prometheus /metrics endpoint #1203
Comments
see also: #1201 |
fkaleo
added a commit
that referenced
this issue
Apr 11, 2019
The metric takes a reason with values among: - sample-out-of-order - received-too-late - invalid-timestamp" - invalid-interval - invalid-orgID" - invalid-name - invalid-mtype - invalid-tag-format - unknown-point-id Fixes #1203
fkaleo
added a commit
that referenced
this issue
Apr 12, 2019
The metric takes a reason with values among: - sample-out-of-order - received-too-late - invalid-timestamp" - invalid-interval - invalid-orgID" - invalid-name - invalid-mtype - invalid-tag-format - unknown-point-id Fixes #1203
fkaleo
added a commit
that referenced
this issue
Apr 15, 2019
The metric takes a reason with values among: - sample-out-of-order - received-too-late - invalid-timestamp" - invalid-interval - invalid-orgID" - invalid-name - invalid-mtype - invalid-tag-format - unknown-point-id Fixes #1203
This is mostly finished, but needs followup, |
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We use prometheus to scrap active_series counts on a per org basis so we can provide our customers with a unified dashboard that shows usage for both graphite (metrictank) and prometheus(cortex) hosted metrics services.
In addition to the current metrics, we also need to expose "discarded samples" numbers.
These metrics will be similar to the existing metrics we collect:
https://github.com/grafana/metrictank/blob/master/input/input.go#L47-L51
https://github.com/grafana/metrictank/blob/master/mdata/init.go#L31-L39
But will be a counter metric "discarded_samples_total" with labels for OrgID and discarded reason.
eg
the reason will be something like
tank.metrics_too_old
)tank.metrics_too_old
)tank.add_to_closed_chunk
)input.%s.metricdata.invalid
orinput.%s.metricpoint.invalid
)input.%s.metricdata.invalid
)input.%s.metricdata.invalid
)input.%s.metricdata.invalid
)input.%s.metricdata.invalid
)input.%s.metricdata.invalid
)input.%s.metricpoint.unknown
)The text was updated successfully, but these errors were encountered: