Alexey Serbin has uploaded this change for review. ( 
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
---
M src/kudu/server/server_base.cc
1 file changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/15/24115/1
--
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: newchange
Gerrit-Change-Id: I00ef652ff5b38c600593b7fab7664d8e990f8669
Gerrit-Change-Number: 24115
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>

Reply via email to