This website requires JavaScript.
Explore
Help
Sign In
mudhorn
/
prometheus
Watch
1
Star
0
Fork
You've already forked prometheus
0
mirror of
https://github.com/prometheus/prometheus.git
synced
2024-12-26 14:09:41 -08:00
Code
Issues
Actions
3
Packages
Projects
Releases
Wiki
Activity
bd1878700b
prometheus
/
config
/
testdata
/
external_labels.good.yml
8 lines
119 B
YAML
Raw
Normal View
History
Unescape
Escape
Add environment variable expansion in external label values Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-03-25 14:28:58 -07:00
global
:
external_labels
:
bar
:
foo
foo
:
${TEST}
baz
:
foo${TEST}bar
Allow escaping a dollar sign when expanding external labels (#10129) * Allow escaping a dollar sign when expanding external labels There is currently no mechanism to natively escape a dollar sign in the os.Expand function. As a workaround, this commit modifies the external label expansion logic to treat a double dollar ($$) as a mechanism for escaping the dollar character. Signed-off-by: fpetkovski <filip.petkovsky@gmail.com>
2022-01-17 07:43:55 -08:00
qux
:
foo$${TEST}
xyz
:
foo$$bar
Reference in a new issue
Copy permalink