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

Alloy UI always returns healthy #2824

Open
mrethers opened this issue Feb 24, 2025 · 4 comments
Open

Alloy UI always returns healthy #2824

mrethers opened this issue Feb 24, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@mrethers
Copy link
Contributor

What's wrong?

Hi team,

I haven't seen a scenario where this UI returns unhealthy. Not sure what qualifies but I have these 3 screens which are at odds with each other I think. I would expect those 2 components to be unhealthy:

Image

Image

Image

Steps to reproduce

Add an invalid scrape target or remote URL

System information

No response

Software version

No response

Configuration


Logs


@mrethers mrethers added the bug Something isn't working label Feb 24, 2025
@mattdurham
Copy link
Collaborator

mattdurham commented Feb 24, 2025

Scrape is working as expected, the component is healthy but the endpoints are not. By default a component is healthy if it successfully started, specific components can override this behavior. For scraping we dont consider the individual scrapes to derive component health. There are environments where a scraping can be scraping 10,000+ endpoints and there is almost always one failing.

@mattdurham
Copy link
Collaborator

mattdurham commented Feb 24, 2025

The remote_write error not triggering unhealthy I can get behind it being incorrect.

@mrethers
Copy link
Contributor Author

What would be a unhealthy state for a scrape in that case?

@mattdurham
Copy link
Collaborator

For the scraper if it starts with a valid configuration its healthy, if you want to monitor scrape jobs the up indicator would be the path to go with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants