File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ type Cache struct {
4444
4545// DefaultEndpointPath is the default HTTP path on which Prometheus serves
4646// the target metadata endpoint.
47- const DefaultEndpointPath = "/ api/v1/targets/metadata"
47+ const DefaultEndpointPath = "api/v1/targets/metadata"
4848
4949// The old metric type value for textparse.MetricTypeUnknown that is used in
5050// Prometheus 2.4 and earlier.
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import (
2727 "github.com/prometheus/prometheus/pkg/labels"
2828)
2929
30- const DefaultAPIEndpoint = "/ api/v1/targets"
30+ const DefaultAPIEndpoint = "api/v1/targets"
3131
3232func cacheKey (job , instance string ) string {
3333 return job + "\xff " + instance
You can’t perform that action at this time.
0 commit comments