Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on ingesting samples with different value but same timestamp #4637

Closed
MoSunDay opened this Issue Sep 19, 2018 · 3 comments

Comments

Projects
None yet
2 participants
@MoSunDay
Copy link

MoSunDay commented Sep 19, 2018

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

@simonpasquier

This comment has been minimized.

Copy link
Member

simonpasquier commented Sep 21, 2018

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.

@MoSunDay

This comment has been minimized.

Copy link
Author

MoSunDay commented Sep 25, 2018

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.

@MoSunDay

This comment has been minimized.

Copy link
Author

MoSunDay commented Sep 26, 2018

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 MoSunDay closed this Sep 26, 2018

@lock lock bot locked and limited conversation to collaborators Mar 25, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.