[
https://issues.apache.org/jira/browse/HBASE-20603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16488287#comment-16488287
]
Andrew Purtell commented on HBASE-20603:
----------------------------------------
[~elserj] [~stack] [~lhofhansl] [~enis]
I'm thinking this metrics behavioral change for 1.5 and 2.1 and 3.0. Makes
thresholded alerting on min or max measured values over the reporting interval
possible. Otherwise the alarm cannot be deasserted until the process restarts.
It is definitely a change in semantics but debatable if what was originally
intended. There are some comments around the code that allude to expecting only
the count of all data points measured to not reset for the next monitoring
interval. (Which after this patch is in fact the state of things.)
> Histogram metrics should reset min and max
> ------------------------------------------
>
> Key: HBASE-20603
> URL: https://issues.apache.org/jira/browse/HBASE-20603
> Project: HBase
> Issue Type: Bug
> Components: metrics
> Reporter: Andrew Purtell
> Assignee: Andrew Purtell
> Priority: Minor
> Attachments: HBASE-20603-branch-1-WIP.patch
>
>
> It's weird that the bins are reset at every monitoring interval but min and
> max are tracked over the lifetime of the process. Makes it impossible to set
> alarms on max value as they'll never shut off unless the process is
> restarted. Histogram metrics should reset min and max at snapshot time too.
> For discussion.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)