VictoriaMetrics/lib/promrelabel
Zhu Jiekun 5b49fd83be
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
(cherry picked from commit e97e966f82)
2024-08-27 15:44:07 +02:00
..
testdata
config_test.go
config.go all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:23:26 +02:00
debug.go
debug.qtpl
debug.qtpl.go
graphite_test.go
graphite_timing_test.go
graphite.go all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:23:26 +02:00
if_expression_test.go lib/promrelabel: add test for IfExpression.String() function 2024-07-16 18:32:34 +02:00
if_expression_timing_test.go lib/promrelabel: speedup label match by __name__ (#6432) 2024-06-07 16:35:52 +02:00
if_expression.go lib/promrelabel: add test for IfExpression.String() function 2024-07-16 18:32:34 +02:00
relabel_test.go
relabel_timing_test.go
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:57:43 +02:00
scrape_url_test.go lib/promrelabel: follow-up for 8958cecad6 2024-08-27 15:44:07 +02:00
scrape_url.go lib/promrelabel: follow-up for 8958cecad6 2024-08-27 15:44:07 +02:00