Abyss-lord commented on PR #6882: URL: https://github.com/apache/gravitino/pull/6882#issuecomment-2802287597
> This PR adds extra metrics name to current guaga metrics like adding `gravitino-server.http-server.idle-thread.num.timestamp` corresponding to current `gravitino-server.http-server.idle-thread.num` metrics. what we expect may include timestamp to metric values, like `metrics-name timestamp metrics-value`, but this may break existing [Prometheus](https://prometheus.io/) metrics format, is there any way to extend the Prometheus format? @FANNG1 Thanks for the feedback! what we expect ideally is to have a single metric line with explicit timestamps, like: ``` gravitino_server_http_server_idle_thread_num 42 1713085340000 ``` But if I remember correctly, in the standard `/metrics` endpoint, Prometheus itself ignores any explicit timestamps even if they are appended. -- 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]
