bneradt opened a new pull request, #13156: URL: https://github.com/apache/trafficserver/pull/13156
Prometheus consumers currently only get flat ATS stat names, which makes related counters hard to aggregate and can hide broken output behind parser leniency. The draft v2 output also exposed that risk by letting `completed` look like a request method and by interleaving samples from the same family. This adds a Prometheus v2 response format that groups samples by metric family and derives labels for methods, directions, status codes, cache results, time buckets, and cache volumes. This keeps lifecycle counters such as completed requests as their own metrics while preserving the existing v1 output. This extends the stats_over_http AuTest and Prometheus ingester to validate both the raw v2 exposition and the parser's view of it. This catches split families, missing TYPE metadata, malformed labels, and regressions in the expected labeled samples. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
