Uploaded image for project: 'Observability UI'
  1. Observability UI
  2. OU-935

Observe > Metrics > Add query - Run queries - Kebab icon

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • openshift-4.20
    • None
    • None
    • None
    • None
    • None
    • Sprint 275

      Observe > Metrics > Add query - Run queries - Kebab icon

      1. Go To Observe > Metrics
      2. Click on Insert example query button
      3. Click on Add query
      4. Verify Expression rows
      5. There should be 2 rows
      6. 1st empty
      7. 2nd with sort_desc(sum(sum_over_time(ALERTS{alertstate="firing"}[24h])) by (alertname))
      1. Click on Kebab icon > Delete query
      2. Verify Expression rows
      3. There should be 1 row
      1. Click on Kebab icon > Disable query
      2. Empty state: Insert example query should be displayed
      3. Toggle off
      4. Collapsed row
      5. Svg viewBox= 0 0 320 512

      or

      1. <path d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"></path>
      1. Click on Kebab icon
      2. Verify Export as CSV
      3. It should not be displayed for disabled query //*[@class="pf-v5-c-menu__list-item"][5]
      1. Click on Toggle on
      2. Reset zoom should be displayed pf-v5-c-button pf-m-tertiary query-browser__inline-control
      3. Expanded row
      4. M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z
      1. Click on Kebab icon > Hide all series
      2. No datapoints found Div class text-secondary
      3. Legend disabled button class  pf-v5-c-button pf-m-plain query-browser_series-btn query-browser_series-btn--disabled
      1. Click on Kebab icon > Show all series
      2. Legend enabled button class pf-v5-c-button pf-m-plain query-browser__series-btn
      1. Click on Kebab icon > Duplicate query
      2. There should be 2 rows
      3. Same expression
      4. 1st row: Toggle off
      5. 2nd row: Toggle on
      1. Click on Kebab icon > Delete query
      2. Empty state

              rh-ee-emurasak Evelyn Murasaki
              rh-ee-emurasak Evelyn Murasaki
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: