Project

General

Profile

Feature #5828

UI: Dash: Provide legend for warn/crit levels in status widget

Added by Neil Levine about 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:

Description

We need to show to users what states are associated with warn/crit levels in the status widget, either via a rollover or a help icon which pops up an explanation.

History

#1 Updated by Yan-Fa Li about 8 years ago

We have a notification widget which is currently off.

#2 Updated by Neil Levine about 8 years ago

  • Target version set to v.13

#3 Updated by Neil Levine about 8 years ago

  • Subject changed from UI: Provide legend for warn/crit levels in status widget to UI: Dash: Provide legend for warn/crit levels in status widget

#4 Updated by Neil Levine about 8 years ago

  • translation missing: en.field_story_points set to 1.00

#5 Updated by Yan-Fa Li about 8 years ago

Not actually sure where to get this info from. We have this (health):

{
"added": "2013-08-19T20:11:12.749Z",
"added_ms": 1376943072000,
"cluster": 1,
"last_update": "2013-08-19T20:11:12.749Z",
"last_update_unix": 1376943072000,
"report": {
"detail": [
"mon.mira117 (rank 3) addr 10.214.137.124:6789/0 is down (out of quorum)"
],
"overall_status": "HEALTH_WARN",
"summary": [ {
"severity": "HEALTH_WARN",
"summary": "1 mons down, quorum 0,1,2,4 mira103,mira106,mira107,mira115"
}
]
}
}

If that's ok, I'll make it appear as a popup on hover.

#6 Updated by Yan-Fa Li about 8 years ago

  • Assignee changed from Yan-Fa Li to Noah Watkins

This task needs some backend work from Noah.

#7 Updated by Noah Watkins about 8 years ago

The health counters should support this now for PG and OSD. Monitor coming soon. Here is the updated schema for PG counters, along with the states that contributed to the particular classification of a pg.

    "pg": {
        "warn": {
            "count": 8, 
            "states": {
                "scrubbing": 8
            }
        }, 
        "critical": {
            "count": 0, 
            "states": {}
        }, 
        "ok": {
            "count": 18656, 
            "states": {
                "active": 18656, 
                "clean": 18656
            }
        }
    }, 

#8 Updated by Yan-Fa Li about 8 years ago

  • translation missing: en.field_story_points changed from 1.00 to 3.00

#9 Updated by Yan-Fa Li about 8 years ago

We have PG critical and warning information displaying now on mira022.
Noah is making some changes to the mon output so we can quickly add those too.
I'm not going to bother with OSD because it's pretty obvious from the viz what's the problem.

#10 Updated by Yan-Fa Li about 8 years ago

  • Status changed from 12 to Resolved

Noah normalized osd and mon state data, Using these new fields I've added generic code to display why notifications are being reported for critical and warn.

#11 Updated by Yan-Fa Li about 8 years ago

- make icon a question mark and round (nwl)
- make states have line breaks (nwl)
- make the hover area bigger - too fiddly (dm)

Also available in: Atom PDF