Alexey Serbin has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/24115 )

Change subject: [server] use the 'counter' type for the 'uptime' metric
......................................................................

[server] use the 'counter' type for the 'uptime' metric

This patch changes the type of the 'counter' metric from 'gauge'
'counter': the metric's value monotonically increases by definition.

I didn't add any automated tests to cover this update, but I manually
verified that the 'uptime' metric is now listed as a metric of the
'counter' type when fetching data from master's and tserver's
"/metrics_prometheus" HTTP endpoint.

Change-Id: I00ef652ff5b38c600593b7fab7664d8e990f8669
Reviewed-on: http://gerrit.cloudera.org:8080/24115
Tested-by: Alexey Serbin <[email protected]>
Reviewed-by: Abhishek Chennaka <[email protected]>
---
M src/kudu/server/server_base.cc
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Alexey Serbin: Verified
  Abhishek Chennaka: Looks good to me, approved

--
To view, visit http://gerrit.cloudera.org:8080/24115
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I00ef652ff5b38c600593b7fab7664d8e990f8669
Gerrit-Change-Number: 24115
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Abhishek Chennaka <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <[email protected]>

Reply via email to