Skip to content

Update parquet gateway to Prometheus 3.11 without nocopy patch#95

Draft
ringerc wants to merge 11 commits intothanos-io:mainfrom
ringerc:prometheus-3.11-upstream
Draft

Update parquet gateway to Prometheus 3.11 without nocopy patch#95
ringerc wants to merge 11 commits intothanos-io:mainfrom
ringerc:prometheus-3.11-upstream

Conversation

@ringerc
Copy link
Copy Markdown

@ringerc ringerc commented Apr 21, 2026

Like #94 but adopts upstream prometheus directly, without the nocopy patch (prometheus/prometheus#18393)

ringerc added 11 commits April 21, 2026 15:47
Add Thanos-compatible --tracing.config and --tracing.config-file support
for configuring tracing. Deprecate the existing Jaeger config flags.

As Thanos lacks support for the STDOUT trace destination, support for it
is omitted from the file-based trace configuration.

Signed-off-by: Craig Ringer <craig.ringer@enterprisedb.com>
Memoizing tracer creation with sync.OnceValue could race with tracer
configuration loading and initialization, unintentionally caching the
no-op tracer.

There's little to no benefit in caching the tracer anyway.

Signed-off-by: Craig Ringer <craig.ringer@enterprisedb.com>
Signed-off-by: Craig Ringer <craig.ringer@enterprisedb.com>
This drops support for the STDOUT tracer as the Thanos file loader
doesn't support it. If anyone cares, we could add a stdout provider to
the Thanos file based tracer loader.

Signed-off-by: Craig Ringer <craig.ringer@enterprisedb.com>
Add new "query.expr" trace span attribute to thanos.Query/QueryRange gRPC
trace event, to record the query-text in the incoming query.

Signed-off-by: Craig Ringer <craig.ringer@enterprisedb.com>
Add result.series and result.samples counts to the trace events for
Query gRPC responses.

Signed-off-by: Craig Ringer <craig.ringer@enterprisedb.com>
Add result.series and result.samples span attributes to Series gRPC
response trace events.

Signed-off-by: Craig Ringer <craig.ringer@enterprisedb.com>
Add a series.matchers attribute to trace spans for Series gRPC
requests.

Signed-off-by: Craig Ringer <craig.ringer@enterprisedb.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant