prometheus/config
Filip Petkovski 4855a0c067
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 16:43:55 +01:00
..
testdata Allow escaping a dollar sign when expanding external labels (#10129) 2022-01-17 16:43:55 +01:00
config.go Allow escaping a dollar sign when expanding external labels (#10129) 2022-01-17 16:43:55 +01:00
config_default_test.go Add new Go build tags. 2021-08-27 10:24:14 +02:00
config_test.go Allow escaping a dollar sign when expanding external labels (#10129) 2022-01-17 16:43:55 +01:00
config_windows_test.go Invert service discovery dependencies (#7701) 2020-08-20 13:48:26 +01:00