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

add feature to configurate promhttp error handling #411

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nnikitos95
Copy link

Motivation

The current implementation uses PromHTTP's default error handling, which may not suit all deployment scenarios. By allowing customization, users can:

  • Opt for more lenient error handling (e.g., ContinueOnError) in high-availability environments.
  • Ensure better alignment with their operational requirements.

Default Behavior

  • Maintains backward compatibility by retaining the current default error handling behavior unless explicitly configured.

Signed-off-by: Nikita Popov <nikita.popov@semrush.com>
@nnikitos95 nnikitos95 force-pushed the feat/add_promhttp_error_handling_flag branch from b5a9fc6 to 9bfc60d Compare February 10, 2025 12:44
@nnikitos95
Copy link
Author

cc: @SuperQ @kgeckhart

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.

1 participant