Configuration¶
UAR is designed so that it very much works "out of the box" and with zero configuration. However, it's entirely possible that people might want to tweak things, so there are some configuration options provided.
Configuration options¶
ALERTMANAGER_HOST Environment Variable¶
This is the browser URL to get to alertmanager. If you set this, alert links will be clickable. eg: https://am.webapps.example.com.
SEV_LABELS_... Environment Variables¶
The default severity labels are;
SEV_LABELS_1: crit,criticalSEV_LABELS_2: severeSEV_LABELS_3: warningSEV_LABELS_4: importantSEV_LABELS_5: info,information
DRAW_LABELS Environment Variable¶
When set to any non-empty value, UAR will show Prometheus labels on each alert box by default. You can also toggle label display from the logo menu in the UI; that preference is stored in the browser.
IGNORED_LABELS Environment Variable¶
A comma-separated list of label names that should not be drawn when labels are shown. The default is alertname,instance,job,severity.