8000 Don't try to connect to nginx on client creation by lucacome · Pull Request #504 · nginx/nginx-prometheus-exporter · GitHub
[go: up one dir, main page]

Skip to content

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
0