You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prometheus Users
How to achieve a target scrape duration, example, the machine was added so and so date and removed from the scrape so and so date, so how to get the time interval between them ?
Brian Candler
unread,
Apr 10, 2023, 7:16:23 AM4/10/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prometheus Users
You could look at the "up" metric, see when it appeared and when it disappeared. Obviously, this only works for whatever data retention period you have configured.