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

ASF subversion and git services commented on KUDU-3269:
-------------------------------------------------------

Commit eb086d9af32dd4d5b593111618467ac7a06cfe91 in kudu's branch 
refs/heads/master from Abhishek Chennaka
[ https://gitbox.apache.org/repos/asf?p=kudu.git;h=eb086d9 ]

[metrics] KUDU-3269: Add UUID and hostname of the server into the metrics output

This patch adds the UUID and the server hostname into the metrics
webpage of master and tablet server. These are added in the attributes
section of the metrics webpage. For example:

        "type": "server",
        "id": "kudu.master",
        "attributes": {
            "hostname": "MacBook-Pro.local",
            "uuid": "4b8015e347dd4efd92bb0d38e03434e6"
        },

Change-Id: I7d6d1e96f8067a7b1593da4f9d0e1931d3001016
Reviewed-on: http://gerrit.cloudera.org:8080/17607
Tested-by: Alexey Serbin <[email protected]>
Reviewed-by: Alexey Serbin <[email protected]>


> Add UUID of the server into the metrics output
> ----------------------------------------------
>
>                 Key: KUDU-3269
>                 URL: https://issues.apache.org/jira/browse/KUDU-3269
>             Project: Kudu
>          Issue Type: Improvement
>          Components: master, tserver
>            Reporter: Alexey Serbin
>            Assignee: Abhishek
>            Priority: Minor
>              Labels: newbie++, operability, supportability
>
> The server's section in the metrics output looks like the following:
> {noformat}
> {
>         "type": "server",                                                     
>   
>         "id": "kudu.tabletserver",                                            
>   
>         "attributes": {},                                                     
>   
>         "metrics": [ ... ]
> }
> {noformat}
> It would be great to add the UUID of the server into the output along with 
> {{"type"}}, node/host name might be helpful as well.
> The rationale is to be able to tell what tablet server the metrics were 
> collected from once a JSON file with metrics is on hands, but there isn't 
> information from which URL the metrics were collected.  So, the UUID and the 
> node name is to allow for easier identification of the collected metrics.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to