When I examine the GET /metrics endpoint i see this in the output:
An error has occurred during metrics encoding:
MetricFamily has no metrics: name:"usage_summary" help:"Report Usage Summary" type:SUMMARY
I've identified the sender and it is a cronjob that is every ~24h which sends the summary type. So I see this error only sometimes. If I had to guess, the nil here is the episodic cause/effect. Is this something that could be handled more gracefully with an empty struct?
Or maybe it is possible to suppress the error in the /metrics output?
As it is now, the error acts as a DoS of any user of the aggregation gateway stats as consumers encounter the error in the endpoint's invalid format and fail.
When I examine the
GET /metricsendpoint i see this in the output:I've identified the sender and it is a cronjob that is every ~24h which sends the summary type. So I see this error only sometimes. If I had to guess, the
nilhere is the episodic cause/effect. Is this something that could be handled more gracefully with an empty struct?Or maybe it is possible to suppress the error in the
/metricsoutput?As it is now, the error acts as a DoS of any user of the aggregation gateway stats as consumers encounter the error in the endpoint's invalid format and fail.