diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ce98be8b6..c0a7305a0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,7 @@ We use *breaking :warning:* to mark changes that are not backward compatible (re - [#4667](https://github.com/thanos-io/thanos/pull/4667) Add a pure aws-sdk auth for s3 storage. - [#5111](https://github.com/thanos-io/thanos/pull/5111) Add matcher support to Query Rules endpoint. - [#5117](https://github.com/thanos-io/thanos/pull/5117) Bucket replicate: Added flag `--ignore-marked-for-deletion` to avoid replication of blocks with the deletion mark. +- [#5148](https://github.com/thanos-io/thanos/pull/5148) Receive: Add tenant tag for tracing spans. ## Changed - [#5144](https://github.com/thanos-io/thanos/pull/5144) UI: Improve graph color diff --git a/pkg/store/multitsdb.go b/pkg/store/multitsdb.go index 12b848230c..297434ef72 100644 --- a/pkg/store/multitsdb.go +++ b/pkg/store/multitsdb.go @@ -171,7 +171,7 @@ func (s *tenantSeriesSetServer) Series(store storepb.StoreServer, r *storepb.Ser var err error tracing.DoInSpan(s.ctx, "multitsdb_tenant_series", func(_ context.Context) { err = store.Series(r, s) - }) + }, opentracing.Tags{"tenant.id": s.tenant}) if err != nil { if r.PartialResponseDisabled || r.PartialResponseStrategy == storepb.PartialResponseStrategy_ABORT { s.err = errors.Wrapf(err, "get series for tenant %s", s.tenant)