Skip to content

Conversation

aelkiss
Copy link
Member

@aelkiss aelkiss commented Jan 16, 2025

For instance to be used as part of the group, it needs to be included with the URL we post to. While other labels can be used as part of the group (https://github.com/prometheus/pushgateway?tab=readme-ov-file#url), it appears customary to use instance (see https://github.com/prometheus/pushgateway?tab=readme-ov-file#command-line). If we need additional groups, we could add support for arbitrary group labels here in the future.

  • Stricter tests around where we expect instance to appear
  • New test ensuring instances don't clobber each other

For instance to be used as part of the group, it needs to be included
with the URL we post to. While other labels can be used as part of the
group, it appears customary to use instance. If we need additional
groups, we could add support for arbitrary group labels here.

* Stricter tests around where we expect instance to appear
* New test ensuring instances don't clobber each other
@aelkiss aelkiss requested a review from moseshll January 16, 2025 21:51
Copy link
Contributor

@moseshll moseshll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see nothing surprising here. APPROVE

@aelkiss aelkiss merged commit 342400a into main Jan 17, 2025
1 check passed
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.

2 participants