Skip to content

promhttp: Consider a metric for HTTP exposition errors #543

@beorn7

Description

@beorn7

There are cases where an error won't or cannot be sent as an HTTP response with the appropriate status code (examples: ContinueOnError as configured error handling, #542 ). While those problem should be caught be logs, it is better if alerts can be set up for those problems. Thus, promhttp should add an error counter as a metric.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions