Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

integration: Check distributor health before push #3167

Merged

Conversation

simonswine
Copy link
Contributor

@simonswine simonswine commented Apr 5, 2024

This adds a health check for the write path before pushing profiles. (Saw flakes based on this)

It also moves listening to 127.0.0.1 in order to avoid this dialogue:
image

I observed a few flake, where the distributors had not discovered all
ingesters. Added a distributor health check, so we can be sure all is
setup.

This also changes the listen address to loopback, so it won't display
the Mac OS firewall warning everytime.
```
pkg/test/integration/cluster/cluster.go:365:53: `(*gatherCheck).addExpectValue` - `metricName` always receives `"pyroscope_ring_members"` (unparam)
func (c *gatherCheck) addExpectValue(value float64, metricName string, labelPairs ...string) *gatherCheck {
```
@simonswine simonswine changed the title 20240404 prevent flakes on ingest integration: Check distributor health before push Apr 5, 2024
@simonswine simonswine marked this pull request as ready for review April 5, 2024 10:12
@simonswine simonswine requested a review from a team as a code owner April 5, 2024 10:12
@simonswine simonswine merged commit e3a643b into grafana:main Apr 8, 2024
16 checks 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