VictoriaMetrics/lib/promrelabel
Zhu Jiekun e97e966f82
lib/promrelabel: follow-up for 8958cecad6
In the previous commit 8958cecad6
the default ports (80/443) were removed for both the `scrapeURL` and
`instance` label values for those targets without a port in
`__address__`. Different values in the `instance` label generate new
time series.

This commit reverts the changes made to the `instance` label. Now,
for those targets:
- `scrapeURL` will remain unchanged.
- The `instance` label value will include the default port.

https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6792
2024-08-27 13:04:26 +02:00
..
testdata lib/promrelabel: add support for keepequal and dropequal relabeling actions 2022-12-21 20:04:55 -08:00
config.go all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:20:37 +02:00
config_test.go all: fix golangci-lint(revive) warnings after 0c0ed61ce7 2024-04-02 23:16:29 +03:00
debug.go all: consistently use %w instead of %s in when error is passed to fmt.Errorf() 2023-10-25 21:24:03 +02:00
debug.qtpl all: replace old https://docs.victoriametrics.com/relabeling.html url with the new one - https://docs.victoriametrics.com/relabeling/ 2024-04-18 03:22:22 +02:00
debug.qtpl.go all: replace old https://docs.victoriametrics.com/relabeling.html url with the new one - https://docs.victoriametrics.com/relabeling/ 2024-04-18 03:22:22 +02:00
graphite.go all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:20:37 +02:00
graphite_test.go lib/promrelabel: support action: graphite relabeling 2022-06-16 20:24:22 +03:00
graphite_timing_test.go lib/promrelabel: support action: graphite relabeling 2022-06-16 20:24:22 +03:00
if_expression.go lib/promrelabel: add test for IfExpression.String() function 2024-07-16 18:31:05 +02:00
if_expression_test.go lib/promrelabel: add test for IfExpression.String() function 2024-07-16 18:31:05 +02:00
if_expression_timing_test.go lib/promrelabel: speedup label match by __name__ (#6432) 2024-06-07 15:44:48 +02:00
relabel.go lib: consistently use regexp.Regexp.ReplaceAllLiteralString instead of regexp.Regexp.ReplaceAllString in places where the replacement cannot contain matching group placeholders 2024-07-17 12:41:54 +02:00
relabel_test.go all: fix golangci-lint(revive) warnings after 0c0ed61ce7 2024-04-02 23:16:29 +03:00
relabel_timing_test.go lib/promrelabel: properly replace : char with _ in metric names when -usePromCompatibleNaming command-line flag is set 2023-08-14 16:14:42 +02:00
scrape_url.go lib/promrelabel: follow-up for 8958cecad6 2024-08-27 13:04:26 +02:00
scrape_url_test.go lib/promrelabel: follow-up for 8958cecad6 2024-08-27 13:04:26 +02:00