prometheus: fix example for node exporter authored by lelutin's avatar lelutin
The parentheses were necessary in the actual solution since the action
uses a regex in the `replacement` option which defaults to `$1` -- so it
expects to output the first matched group!
...@@ -1535,7 +1535,7 @@ field: ...@@ -1535,7 +1535,7 @@ field:
- source_labels: ['host'] - source_labels: ['host']
target_label: 'alias' target_label: 'alias'
action: 'replace' action: 'replace'
regex: '.+' regex: '(.+)'
- regex: '^host$' - regex: '^host$'
action: 'labeldrop' action: 'labeldrop'
``` ```
... ...
......