Skip to content

Commit

Permalink
Update exporters/prometheus/config.go
Browse files Browse the repository at this point in the history
Co-authored-by: David Ashpole <[email protected]>
  • Loading branch information
Alex Boten and dashpole authored Nov 29, 2023
1 parent 88c79b7 commit b2ff370
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporters/prometheus/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func WithNamespace(ns string) Option {
}

// WithResourceAsConstantLabels adds resource attributes as metric attributes
// for metrics exported by the Prometheus Exporter.
// on all metrics exported by the Prometheus Exporter.
func WithResourceAsConstantLabels(resourceFilter attribute.Filter) Option {
return optionFunc(func(cfg config) config {
cfg.resourceAttributesFilter = resourceFilter
Expand Down

0 comments on commit b2ff370

Please sign in to comment.