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 all: fix golangci-lint(revive) warnings after 0c0ed61ce7 2024-04-02 23:16:29 +03:00
config.go all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:20:37 +02:00
debug.go
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_test.go
graphite_timing_test.go
graphite.go all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:20:37 +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
if_expression.go lib/promrelabel: add test for IfExpression.String() function 2024-07-16 18:31:05 +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
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
scrape_url_test.go lib/promrelabel: follow-up for 8958cecad6 2024-08-27 13:04:26 +02:00
scrape_url.go lib/promrelabel: follow-up for 8958cecad6 2024-08-27 13:04:26 +02:00