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
config_test.go
config.go
debug.go
debug.qtpl
debug.qtpl.go
graphite_test.go
graphite_timing_test.go
graphite.go
if_expression_test.go
if_expression_timing_test.go
if_expression.go
relabel_test.go
relabel_timing_test.go
relabel.go
scrape_url_test.go
scrape_url.go