sensu / web

Open-source Web UI for Sensu Go clusters
MIT License
30 stars 22 forks source link

Metric Handlers in UI broken #297

Open mjiderhamn opened 4 years ago

mjiderhamn commented 4 years ago

Expected Behavior

When a check is configured with metrics handlers, they should be listed under "Metric Handlers" in the UI.

Current Behavior

Metric Handlers is listed as "—" even if metrics handlers are configured on the check.

Steps to Reproduce (for bugs)

  1. Create check with metric handler update: that does not exist
  2. View check in web UI

Your Environment

jamesdphillips commented 4 years ago

Hey @mjiderhamn, thanks for reporting.

To help me replicate this issue, could you confirm whether or not the handler resources, the metric handlers field are referencing, are present in the namespace?

mjiderhamn commented 4 years ago

@jamesdphillips Turns out that this is when the handler is not registered in the namespace, which definitely is less of an issue.

portertech commented 3 years ago

This is still relevant for regular check handlers too.