Mikhail T.
Mikhail T.

Reputation: 4027

How to get the latest timestamp available for a given metric from Graphite?

How would I query the most recent timestamp for a particular metric in Graphite?

Using the Render API, I can ask for all known datapoints for the metric during a period, but that's both wasteful and unreliable...

Wasteful because it would give me all datapoints for the specified period (1 week by default), while I only need one.

Unreliable because the period, whatever I pick, may be too short...

Can it be done? Thanks!

Upvotes: 1

Views: 860

Answers (1)

Mikhail T.
Mikhail T.

Reputation: 4027

Well, apparently, it can not be done at the moment. Maybe, Graphite-developers will add the necessary API some day.

Upvotes: 1

Related Questions