diff --git a/pkg/ingester/ingester.go b/pkg/ingester/ingester.go index 1f7b2483f0fb1..dcfeb20b48a5a 100644 --- a/pkg/ingester/ingester.go +++ b/pkg/ingester/ingester.go @@ -872,7 +872,7 @@ func (i *Ingester) Push(ctx context.Context, req *logproto.PushRequest) (*logpro // Set profiling tags defer pprof.SetGoroutineLabels(ctx) - ctx = pprof.WithLabels(ctx, pprof.Labels("path", "write", "tenant", instanceID)) + ctx = pprof.WithLabels(ctx, pprof.Labels("path", "write")) pprof.SetGoroutineLabels(ctx) instance, err := i.GetOrCreateInstance(instanceID) @@ -947,7 +947,7 @@ func (i *Ingester) Query(req *logproto.QueryRequest, queryServer logproto.Querie // Set profiling tags defer pprof.SetGoroutineLabels(ctx) - ctx = pprof.WithLabels(ctx, pprof.Labels("path", "read", "type", "log", "tenant", instanceID)) + ctx = pprof.WithLabels(ctx, pprof.Labels("path", "read", "type", "log")) pprof.SetGoroutineLabels(ctx) instance, err := i.GetOrCreateInstance(instanceID) @@ -1014,7 +1014,7 @@ func (i *Ingester) QuerySample(req *logproto.SampleQueryRequest, queryServer log // Set profiling tags defer pprof.SetGoroutineLabels(ctx) - ctx = pprof.WithLabels(ctx, pprof.Labels("path", "read", "type", "metric", "tenant", instanceID)) + ctx = pprof.WithLabels(ctx, pprof.Labels("path", "read", "type", "metric")) pprof.SetGoroutineLabels(ctx) instance, err := i.GetOrCreateInstance(instanceID) @@ -1090,7 +1090,7 @@ func (i *Ingester) getChunkIDs(ctx context.Context, req *logproto.GetChunkIDsReq // Set profiling tags defer pprof.SetGoroutineLabels(ctx) - ctx = pprof.WithLabels(ctx, pprof.Labels("path", "read", "type", "chunkIDs", "tenant", orgID)) + ctx = pprof.WithLabels(ctx, pprof.Labels("path", "read", "type", "chunkIDs")) pprof.SetGoroutineLabels(ctx) asyncStoreMaxLookBack := i.asyncStoreMaxLookBack() @@ -1139,7 +1139,7 @@ func (i *Ingester) Label(ctx context.Context, req *logproto.LabelRequest) (*logp // Set profiling tags defer pprof.SetGoroutineLabels(ctx) - ctx = pprof.WithLabels(ctx, pprof.Labels("path", "read", "type", "labels", "tenant", userID)) + ctx = pprof.WithLabels(ctx, pprof.Labels("path", "read", "type", "labels")) pprof.SetGoroutineLabels(ctx) instance, err := i.GetOrCreateInstance(userID) @@ -1220,7 +1220,7 @@ func (i *Ingester) series(ctx context.Context, req *logproto.SeriesRequest) (*lo // Set profiling tags defer pprof.SetGoroutineLabels(ctx) - ctx = pprof.WithLabels(ctx, pprof.Labels("path", "read", "type", "series", "tenant", instanceID)) + ctx = pprof.WithLabels(ctx, pprof.Labels("path", "read", "type", "series")) pprof.SetGoroutineLabels(ctx) instance, err := i.GetOrCreateInstance(instanceID) @@ -1240,7 +1240,7 @@ func (i *Ingester) GetStats(ctx context.Context, req *logproto.IndexStatsRequest // Set profiling tags defer pprof.SetGoroutineLabels(ctx) - ctx = pprof.WithLabels(ctx, pprof.Labels("path", "read", "type", "stats", "tenant", user)) + ctx = pprof.WithLabels(ctx, pprof.Labels("path", "read", "type", "stats")) pprof.SetGoroutineLabels(ctx) instance, err := i.GetOrCreateInstance(user) @@ -1302,7 +1302,7 @@ func (i *Ingester) GetVolume(ctx context.Context, req *logproto.VolumeRequest) ( // Set profiling tags defer pprof.SetGoroutineLabels(ctx) - ctx = pprof.WithLabels(ctx, pprof.Labels("path", "read", "type", "volume", "tenant", user)) + ctx = pprof.WithLabels(ctx, pprof.Labels("path", "read", "type", "volume")) pprof.SetGoroutineLabels(ctx) instance, err := i.GetOrCreateInstance(user) @@ -1503,7 +1503,7 @@ func (i *Ingester) getDetectedLabels(ctx context.Context, req *logproto.Detected // Set profiling tags defer pprof.SetGoroutineLabels(ctx) - ctx = pprof.WithLabels(ctx, pprof.Labels("path", "read", "type", "detectedLabels", "tenant", userID)) + ctx = pprof.WithLabels(ctx, pprof.Labels("path", "read", "type", "detectedLabels")) pprof.SetGoroutineLabels(ctx) instance, err := i.GetOrCreateInstance(userID)