Replies: 2 comments
-
Hey @Koaxiel, thank you for your suggestion! I think that having timestamps in My current concern is what shall be picked as a timestamp. It'd be cool if we could list possible scenarios (your input is appreciated) to understand how we can offer a flexible yet more/less reliable interface (e.g. As for ETAs, I'm currently through process of covering code with tests and a few job-related (multiple connections) enhancements. I think code really needs some refactoring, but without properly written tests we're at risk of breaking current things. On the client side it's indeed the function you've mentioned, but it might be a little be complicated in this implementation. Anyways, I like the idea, and I'll try to prototype it sooner. 👍 If it goes faster than expected, I'll share the results and a branch to test, if you're up to it. 🙂 |
Beta Was this translation helpful? Give feedback.
-
It's resolved in #429 |
Beta Was this translation helpful? Give feedback.
-
Hello,
I would like to know your opinion on the addition of a feature to set the metric' timestamp according to the result of a query.
Indeed, the Prometheus format allows us to add the timestamp in addition to the value of a metric.
From the Golang client, the NewMetricWithTimestamp function allows to do that easily.
We can imagine having a new setting (like key_timestamp) to define the column to use to set the metric' timestamp.
I know it's not a common need, but it's useful when using DBs like Vertica to make heavy analyses and to be able to keep the initial timestamp (the one when the DB is injected) in the results.
WDYT?
Beta Was this translation helpful? Give feedback.
All reactions