ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonenko Alexander (JIRA)" <>
Subject [jira] [Created] (AMBARI-10194) Better Client Side Validation Of Alert Definition Threshold Data
Date Tue, 24 Mar 2015 18:56:52 GMT
Antonenko Alexander created AMBARI-10194:

             Summary: Better Client Side Validation Of Alert Definition Threshold Data
                 Key: AMBARI-10194
             Project: Ambari
          Issue Type: Task
          Components: ambari-web
    Affects Versions: 2.0.0
            Reporter: Antonenko Alexander
            Assignee: Antonenko Alexander
             Fix For: 2.1.0

When editing the alert definition thresholds, the web client currently allows precision that
is far beyond what makes sense for the threshold values. For example, if you go to edit the
thresholds for the seconds that a port alert will use, you can set the value up to the micro
second: 5.0000001. Values beyond this are actually not considered changes and not sent to
the backend even though the web client indicates that a change was saved.

In general, there should be smarter precision for the threshold values:
- AGGREGATE: whole percent values (80%, not 80.0%)
- PORT: 1/10th of a second: (1.5s, 5.0s)
- METRIC: Current values are whole numbers and I don't really see the need to make this any
more precise. Although the nature of metrics dictates that any value could be compared, including
values less than 1. I'd say allow the same as for PORT; down to the 1/10th precision.

This message was sent by Atlassian JIRA

View raw message