Skip to content

Don't try to connect to nginx on client creation #504

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

Merged
merged 2 commits into from
Oct 9, 2023
Merged

Conversation

lucacome
Copy link
Contributor

Proposed changes

The client now is created without making a call to nginx. When Collect() is called we try to get the metrics from nginx and if it's not available it will set 'up' to 0 and not fail anymore.

Closes #336
Closes #154
Closes #212

The client now is created without making a call to nginx.
When Collect() is called we try to get the metrics from nginx and if
it's not available it will set 'up' to 0 and not fail anymore.
@lucacome lucacome self-assigned this Sep 20, 2023
@lucacome lucacome requested a review from a team as a code owner September 20, 2023 00:30
@github-actions github-actions bot added change Pull requests that introduce a change tests Pull requests that update tests labels Sep 20, 2023
@lucacome lucacome added this to the v1.0.0 milestone Sep 26, 2023
@lucacome lucacome merged commit 2ab9611 into main Oct 9, 2023
@lucacome lucacome deleted the change/client branch October 9, 2023 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change Pull requests that introduce a change tests Pull requests that update tests
Projects
None yet
3 participants