如何强制 Grafana 使用我自己的单位作为 Y 轴标签,尽管它会自动从 Prometheus 指标名称中检测单位

How to force Grafana to use my own units for the Y axis label despite of it detects units automaically from the Prometheus metrics name

我们有 camel_proxy_some_name_getmessages_seconds_count 个指标,这里是 none 中的指标单位。但是 Grafana 会自动检测秒数。当我将单位从秒切换到 none 时,它会忽略更改,仍然显示时间单位及其不方便的基础来检查大量的“秒”,如周和天。

如何解决这个问题?

P.S

此处覆盖部分为空:

您应该在此处将其更新为所需的单位(红圈):