ArafatKhan2198 opened a new pull request, #4054: URL: https://github.com/apache/ozone/pull/4054
## What changes were proposed in this pull request? Adding metrics for displaying Leader DataNode for all the employees. Was created to help with the following Jira :- https://issues.apache.org/jira/browse/HDDS-899 ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-7602 ## How was this patch tested? Metrics are getting displayed, the Leader node will get updated in the metrics upon new election ``` { "name": "Hadoop:service=StorageContainerManager,name=PipelineLeaderInfoMetrics", "modelerType": "PipelineLeaderInfoMetrics", "tag.Context": "ozone", "tag.PipelineLeaders": " { PipeLine-Id: 9930dd66-8db5-4946-bd15-a1eaf94b2c61 | Leader-Id: ozone-ha_datanode_3.ozone-ha_default } { PipeLine-Id: 3188a9c6-3944-4515-9174-5e107a6a2f13 | Leader-Id: ozone-ha_datanode_4.ozone-ha_default } { PipeLine-Id: 97d466fd-eaca-41e9-a0a3-0111c15192da | Leader-Id: ozone-ha_datanode_5.ozone-ha_default } { PipeLine-Id: 79d2e98b-8db2-49db-9c17-c93e52dbdf37 | Leader-Id: ozone-ha_datanode_7.ozone-ha_default } { PipeLine-Id: 6a7d0536-c392-46da-8dab-0192cf700e32 | Leader-Id: ozone-ha_datanode_7.ozone-ha_default } { PipeLine-Id: 13a4c8fc-3a5e-488b-a508-a98893c03717 | Leader-Id: ozone-ha_datanode_3.ozone-ha_default } { PipeLine-Id: 50b9a07f-562f-4fd3-a5d9-e8da74ad438f | Leader-Id: ozone-ha_datanode_1.ozone-ha_default } { PipeLine-Id: 984ea7c1-47fe-461b-9fc1-552fa8934fec | Leader-Id: ozone-ha_datanode_8.ozone-ha_default } { PipeLine-Id: b5ad6b3d-9be4-4390-a828-48971ea02bc5 | Leader-Id: ozone-ha_datanode_2.ozone-ha_default } ", "tag.Hostname": "7df2b88aade0" } ```  -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
