[ 
https://issues.apache.org/jira/browse/HDDS-7648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17648698#comment-17648698
 ] 

Attila Doroszlai commented on HDDS-7648:
----------------------------------------

bq. All these metrics you presented above are from the prometheus endpoint

They are from Prometheus.  I thought the point of the /prom endpoint is for 
Prometheus to be able to pull the metrics, so I checked in Prometheus.

Now I've found where the component label is coming from: it's defined in our 
sample [Prometheus 
config|https://github.com/apache/ozone/blob/8b2ca0082200bc2f247f2eeafdb1ab4adf8a71da/hadoop-ozone/dist/src/main/compose/ozone/prometheus.yml#L19-L34].
  This implements similar port-based mapping that you would like to add to 
Ozone.  So this is not available out of the box, sorry.

> Add a servername tag in UGI metrics.
> ------------------------------------
>
>                 Key: HDDS-7648
>                 URL: https://issues.apache.org/jira/browse/HDDS-7648
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: Christos Bisias
>            Priority: Major
>              Labels: pull-request-available
>
> The UGI metrics have no servername tag and the only way to determine if the 
> value is referring to the SCM or OM is to match the port from the instance 
> label.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to