Skip to content

Update thanos-parquet-gateway to Prometheus 3.11.1 with nocopy patches#94

Draft
ringerc wants to merge 10 commits intothanos-io:mainfrom
ringerc:prometheus-3.11-nocopy
Draft

Update thanos-parquet-gateway to Prometheus 3.11.1 with nocopy patches#94
ringerc wants to merge 10 commits intothanos-io:mainfrom
ringerc:prometheus-3.11-nocopy

Conversation

@ringerc
Copy link
Copy Markdown

@ringerc ringerc commented Apr 21, 2026

Update thanos-parquet-gateway to be based on Prometheus 3.11.

Replaces #93 that updated to Prometheus 3.10

Needs:

ringerc added 9 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>
@ringerc ringerc force-pushed the prometheus-3.11-nocopy branch from 86b75af to 1f6be8f Compare April 21, 2026 03:48
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