gnmic
gnmic copied to clipboard
FR: Report meta-data on subscriptions / targets
Not sure if something like this is already possible, but just in case: It would be helpful for gnmic to expose meta-data on configured subscriptions / targets
For example, report the status of the gRPC connection and the time of the most recent gRPC heartbeat and/or event. This could then be used in dashboards to verify that the intended monitoring connections are up, and events are being received
https://github.com/openconfig/gnmic/pull/89 looks like it may be in this area?
This is possible using gNMIc internal metrics which are exposed on a prometheus endpoint. There you have access to the number of received gNMI Subscribe responses per target/per subscription. You can calculate the rate of msgs received, if it goes to zero for longer than the sample-interval/heartbeat-interval --> trigger an alert.
It would be helpful if gnmic would do this calculation, providing a simple Boolean flag
This issue is stale because it has been open for 12 months with no activity.