Skip to content

Commit

Permalink
fix(pattern): Fixes latency metric namespace for tee to pattern (#14241)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyriltovena authored Sep 24, 2024
1 parent 3f47233 commit ae955ed
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions pkg/pattern/tee_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import (
"github.com/grafana/loki/v3/pkg/loghttp/push"
"github.com/grafana/loki/v3/pkg/logproto"
"github.com/grafana/loki/v3/pkg/logql/syntax"
"github.com/grafana/loki/v3/pkg/util/constants"

ring_client "github.com/grafana/dskit/ring/client"
)
Expand Down Expand Up @@ -77,10 +76,9 @@ func NewTeeService(
sendDuration: instrument.NewHistogramCollector(
promauto.With(registerer).NewHistogramVec(
prometheus.HistogramOpts{
Namespace: constants.Loki,
Name: "pattern_ingester_tee_send_duration_seconds",
Help: "Time spent sending batches from the tee to the pattern ingester",
Buckets: prometheus.DefBuckets,
Name: "pattern_ingester_tee_send_duration_seconds",
Help: "Time spent sending batches from the tee to the pattern ingester",
Buckets: prometheus.DefBuckets,
}, instrument.HistogramCollectorBuckets,
),
),
Expand Down

0 comments on commit ae955ed

Please sign in to comment.