Skip to content

Commit

Permalink
Merge pull request #800 from prometheus/beorn7/doc
Browse files Browse the repository at this point in the history
Remove spurious commas from links to the docs site
  • Loading branch information
beorn7 committed Sep 8, 2020
2 parents 30ef25b + b54b73c commit 65c5578
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion prometheus/metric.go
Expand Up @@ -89,7 +89,7 @@ type Opts struct {
// better covered by target labels set by the scraping Prometheus
// server, or by one specific metric (e.g. a build_info or a
// machine_role metric). See also
// https://prometheus.io/docs/instrumenting/writing_exporters/#target-labels,-not-static-scraped-labels
// https://prometheus.io/docs/instrumenting/writing_exporters/#target-labels-not-static-scraped-labels
ConstLabels Labels
}

Expand Down
2 changes: 1 addition & 1 deletion prometheus/summary.go
Expand Up @@ -110,7 +110,7 @@ type SummaryOpts struct {
// better covered by target labels set by the scraping Prometheus
// server, or by one specific metric (e.g. a build_info or a
// machine_role metric). See also
// https://prometheus.io/docs/instrumenting/writing_exporters/#target-labels,-not-static-scraped-labels
// https://prometheus.io/docs/instrumenting/writing_exporters/#target-labels-not-static-scraped-labels
ConstLabels Labels

// Objectives defines the quantile rank estimates with their respective
Expand Down
4 changes: 3 additions & 1 deletion prometheus/wrap.go
Expand Up @@ -32,7 +32,9 @@ import (
// in a no-op Registerer.
//
// WrapRegistererWith provides a way to add fixed labels to a subset of
// Collectors. It should not be used to add fixed labels to all metrics exposed.
// Collectors. It should not be used to add fixed labels to all metrics
// exposed. See also
// https://prometheus.io/docs/instrumenting/writing_exporters/#target-labels-not-static-scraped-labels
//
// Conflicts between Collectors registered through the original Registerer with
// Collectors registered through the wrapping Registerer will still be
Expand Down

0 comments on commit 65c5578

Please sign in to comment.