Add internal_metric gauge whether last config has been loaded successfully or not #18194
Labels
domain: observability
Anything related to monitoring/observing Vector
domain: reload
Anything related to reloading Vector (updating configuration)
type: feature
A value-adding code addition that introduce new functionality.
A note for the community
For proper vector observability I need to know has the last config been successfully applied or not. Current exposed metrics are insufficient and make it difficult to asses whether vector is running on latest config, or has there been a failure.
Use Cases
No response
Attempted Solutions
Prometheus rule:
is kinda a hack, to get this information. But this fails in case vector was reloaded multiple times successfully in the past. I'm not sure how to get this information properly for alerting purposes
Proposal
Add gauge metric:
which will be 1 if the config has been (re)loaded successfully, and 0 if the config cannot be (re)loaded, thus giving something I can alert on in the monitoring system
References
No response
Version
No response
The text was updated successfully, but these errors were encountered: