Skip to content

Commit

Permalink
Use defined constant
Browse files Browse the repository at this point in the history
  • Loading branch information
robskillington committed Nov 12, 2020
1 parent 9d918e2 commit 9db9202
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cmd/services/m3coordinator/downsample/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ const (
defaultBufferFutureTimedMetric = time.Minute
defaultVerboseErrors = true
defaultMatcherCacheCapacity = 100000
defaultNamespaceTag = "__m3_namespace__"
)

var (
numShards = runtime.NumCPU()
numShards = runtime.NumCPU()
defaultNamespaceTag = metric.M3MetricsPrefixString + "_namespace__"

errNoStorage = errors.New("downsampling enabled with storage not set")
errNoClusterClient = errors.New("downsampling enabled with cluster client not set")
Expand Down

0 comments on commit 9db9202

Please sign in to comment.