Skip to content

Commit

Permalink
rename CommonTagsInternal to InternalTags
Browse files Browse the repository at this point in the history
  • Loading branch information
shaan420 committed Oct 7, 2023
1 parent acc0d3c commit fd2f12f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions m3/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ type Configuration struct {
// with the histogram bucket bound values.
HistogramBucketTagPrecision uint `yaml:"histogramBucketTagPrecision"`

// CommonTagsInternal are tags that should be added to all internal metrics
// InternalTags are tags that should be added to all internal metrics
// emitted by the reporter.
CommonTagsInternal map[string]string `yaml:"commonTagsInternal"`
InternalTags map[string]string `yaml:"internalTags"`
}

// NewReporter creates a new M3 reporter from this configuration.
Expand All @@ -70,6 +70,6 @@ func (c Configuration) NewReporter() (Reporter, error) {
MaxPacketSizeBytes: c.PacketSize,
IncludeHost: c.IncludeHost,
HistogramBucketTagPrecision: c.HistogramBucketTagPrecision,
InternalTags: c.CommonTagsInternal,
InternalTags: c.InternalTags,
})
}

0 comments on commit fd2f12f

Please sign in to comment.