You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a scrape job whose scrape interval is 30m, which would become stale after 5 mins , after that I would not be able to scrape it through /federate api
I cannot use last_over_time function in federate scrape, I can only select metrics that I want to scrape using selectors.
so what is the best way to archive that?
Write a record rule like:
record: last_over_time(my_metric[1h])
Is this the right way to do that?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a scrape job whose scrape interval is 30m, which would become stale after 5 mins , after that I would not be able to scrape it through /federate api
I cannot use last_over_time function in federate scrape, I can only select metrics that I want to scrape using selectors.
so what is the best way to archive that?
Write a record rule like:
Is this the right way to do that?
Beta Was this translation helpful? Give feedback.
All reactions