Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upNew prometheus metric storing information about series age #2988
Comments
This comment has been minimized.
This comment has been minimized.
|
We will want to know when the DB was created later for use when querying long term storage (don't need to query what we already have locally). |
This comment has been minimized.
This comment has been minimized.
|
Yes, |
brian-brazil
added
kind/enhancement
component/local storage
priority/P2
help wanted
labels
Aug 21, 2017
gouthamve
added
the
hacktoberfest
label
Sep 28, 2017
bobmshannon
referenced this issue
May 31, 2018
Closed
Add prometheus_oldest_timestamp_seconds metric #4207
bobmshannon
referenced this issue
Jul 14, 2018
Merged
Expose prometheus_tsdb_lowest_timestamp metric #363
gouthamve
closed this
in
prometheus/tsdb#363
Sep 14, 2018
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 22, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
lock
bot
locked and limited conversation to collaborators
Mar 22, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
bkupidura commentedJul 25, 2017
Suggested scenario for Prometheus HA is to have multiple instances of Prometheus scraping same targets. But there is no way to distinguish which instance is oldest.
This can be problem for ex. graphing tools (grafana).
Prometheus
process_start_time_secondscan't be treated as reliable for this purpose.We can use load-balancer to disable 'fresh' instances, but to make this more autonomous (no operator intervention needed) we need metric which gives us information which Prometheus stores oldest series.
We can expose a few additional metrics:
oldest_metrictimestampOption 2) sounds ridiculous and not reliable
Option 3) based on @brian-brazil opinion will not be easy to implement in Prometheus 2.X