On Thu, 19 Nov 2020 at 21:53, Curious <[email protected]> wrote: > Hello Everyone, > > I'm using Prometheus metrics to train Facebook Prophet to forecast data > for next 15 minutes. > I plan to put back the forecasting data back into Prometheus. > > Tried the following: > 1. Started exposing forecasting metrics along with forecasted timestamp > metric_name [ "{" label_name "=" `"` label_value `"` { "," label_name "=" > `"` label_value `"` } [ "," ] "}" ] value *[ timestamp ] * > > But not able to insert them into Prometheus as these are dropped by > Promethues: > > level=debug ts=2020-11-19T19:49:34.477Z caller=scrape.go:1255 > component="scrape manager" scrape_pool=ml_test target= > http://localhost:4000/ msg="Out of bounds metric" > series="Usage{instance=\"instance01.us.west.local\"}" > > Is there a way I can insert the future metrics into prometheus ? This > would then used for comparison of actual v/s forecasted and generating > alerts. >
This isn't possible, future data prevents ingestion of current data so there's a 10m sanity check. You can only really ingest over the past hour. -- Brian Brazil www.robustperception.io -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAHJKeLrsBYfgoyzU5RtA21mmEuJuTYjO9BU5JazvWpoWKqocFw%40mail.gmail.com.

