Fixes the regex used to match blackbox exporter targets in the prometheus.yml.j2 template to be less strict. Previously we were using \w which did not allow for names with periods or hyphens. Closes-Bug: #2098511 Change-Id: I3ac18bd12ed1dceef206040b3e793faa79717a19
8 lines
314 B
YAML
8 lines
314 B
YAML
---
|
|
fixes:
|
|
- |
|
|
Fixes the regex used to match blackbox exporter targets in the
|
|
``prometheus.yml.j2`` template to be less strict. Previously we were using
|
|
``\w`` which did not allow for names with periods or hyphens. The service
|
|
and module labels can now contain all characters except for a colon.
|