Skip to content

Comments

fix: enable up and duration for target if named#315

Merged
burningalchemist merged 1 commit intomasterfrom
fix/target-scrape-duration
Sep 10, 2023
Merged

fix: enable up and duration for target if named#315
burningalchemist merged 1 commit intomasterfrom
fix/target-scrape-duration

Conversation

@burningalchemist
Copy link
Owner

@burningalchemist burningalchemist commented Sep 10, 2023

fixes #303

This PR enables up (availability) and scrape_duration metrics for a single target if target.name is populated in the config.

Notes

Currently, the label instance is populated with target's name, which might look confusing. Given the fact that jobs also use instance for target names, we'll schedule the label change for both to v0.13 for compatibility reasons.

@burningalchemist burningalchemist force-pushed the fix/target-scrape-duration branch 2 times, most recently from 07b9f50 to 6c1cb82 Compare September 10, 2023 17:55
@burningalchemist burningalchemist force-pushed the fix/target-scrape-duration branch from 6c1cb82 to 0588cf8 Compare September 10, 2023 17:55
@burningalchemist burningalchemist merged commit 0a094b9 into master Sep 10, 2023
@burningalchemist burningalchemist deleted the fix/target-scrape-duration branch September 10, 2023 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Display query duration in logs

1 participant