File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ type Opts struct {
89
89
// better covered by target labels set by the scraping Prometheus
90
90
// server, or by one specific metric (e.g. a build_info or a
91
91
// machine_role metric). See also
92
- // https://prometheus.io/docs/instrumenting/writing_exporters/#target-labels, -not-static-scraped-labels
92
+ // https://prometheus.io/docs/instrumenting/writing_exporters/#target-labels-not-static-scraped-labels
93
93
ConstLabels Labels
94
94
}
95
95
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ type SummaryOpts struct {
110
110
// better covered by target labels set by the scraping Prometheus
111
111
// server, or by one specific metric (e.g. a build_info or a
112
112
// machine_role metric). See also
113
- // https://prometheus.io/docs/instrumenting/writing_exporters/#target-labels, -not-static-scraped-labels
113
+ // https://prometheus.io/docs/instrumenting/writing_exporters/#target-labels-not-static-scraped-labels
114
114
ConstLabels Labels
115
115
116
116
// Objectives defines the quantile rank estimates with their respective
Original file line number Diff line number Diff line change @@ -32,7 +32,9 @@ import (
32
32
// in a no-op Registerer.
33
33
//
34
34
// WrapRegistererWith provides a way to add fixed labels to a subset of
35
- // Collectors. It should not be used to add fixed labels to all metrics exposed.
35
+ // Collectors. It should not be used to add fixed labels to all metrics
36
+ // exposed. See also
37
+ // https://prometheus.io/docs/instrumenting/writing_exporters/#target-labels-not-static-scraped-labels
36
38
//
37
39
// Conflicts between Collectors registered through the original Registerer with
38
40
// Collectors registered through the wrapping Registerer will still be
You can’t perform that action at this time.
0 commit comments