Skip to content

Propagate logger and metric registry into promql engine#83

Open
ringerc wants to merge 1 commit intothanos-io:mainfrom
ringerc:fix-missing-promql-metrics
Open

Propagate logger and metric registry into promql engine#83
ringerc wants to merge 1 commit intothanos-io:mainfrom
ringerc:fix-missing-promql-metrics

Conversation

@ringerc
Copy link
Copy Markdown

@ringerc ringerc commented Mar 19, 2026

The Thanos PromQL engine was being initialized without any logger or any metric registry so it wasn't able to expose metrics about its own execution into the parquet gateway or correctly log with severity filtering.

Fix by passing the parquet-gateway's logger and metric registry to the engine.

A test is added to validate the metric integration.

The Thanos PromQL engine was being initialized without any logger
or any metric registry so it wasn't able to expose metrics about its
own execution into the parquet gateway or correctly log with
severity filtering.

A test is added to validate the metric integration.

Signed-off-by: Craig Ringer <craig.ringer@enterprisedb.com>
@ringerc ringerc force-pushed the fix-missing-promql-metrics branch from b203f47 to ab2a2b3 Compare March 19, 2026 03:59
@ringerc
Copy link
Copy Markdown
Author

ringerc commented Mar 19, 2026

Thanks. Looks like I don't have permission to trigger a merge.

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.

2 participants