go-graphite / go-carbon

Golang implementation of Graphite/Carbon server with classic architecture: Agent -> Cache -> Persister
MIT License
801 stars 126 forks source link

added metric for ooo lag for each datapoint #534

Closed auguzun closed 1 year ago

auguzun commented 1 year ago

we receive OOO writes in graphite storage, we need to understand how far they are in the past in order to suggest possible solutions for OOO for cwhisper. In this PR I added prometheus histogram metric for OOO lag for each datapoint. Tested on prod box, I didn't notice any performance impact