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 upError on ingesting samples with different value but same timestamp #4637
Comments
This comment has been minimized.
This comment has been minimized.
|
I'm not sure exactly what you are asking for or if there's even a question. For what is worth, Prometheus will refuse to scrape samples with identical labels and timestamp. |
This comment has been minimized.
This comment has been minimized.
|
Thank you for your recovery. I know from the log of P8S that P8S rejects the indicators with the same timestamp. In fact, I want to know whether there is a switch that can make P8S accept the indicators with the same timestamp and cover the old data. There seems to be none. The current approach is to clean up old data through the HTTP API. |
This comment has been minimized.
This comment has been minimized.
|
Finally, we used remote_write/remote_read InfluxDB, and developed a middleware to accept Push data and forward Push data directly to InfluxDB, which is compatible with P8S query and alarm, and also supports the coverage with timestamp data, but it will consume double resources, so far we are satisfied |
MoSunDay commentedSep 19, 2018
•
edited
We not only make P8S alarm system, at the same time also wants to use it as a temporal database, all work is good, but there is such a demand I hope with the new time-stamped data to cover the old data, as far as I know InfluxDB is support the operation, Did I miss something? If it is, please let us know.
I now think of benzene HTTP API method is invoked P8S delete old data, and then to collect new time-stamped old data, so clumsy