Skip to content

query: suppress plan is not a logicalplan.Node errors#8811

Open
prymitive wants to merge 1 commit into
thanos-io:mainfrom
prymitive:plan
Open

query: suppress plan is not a logicalplan.Node errors#8811
prymitive wants to merge 1 commit into
thanos-io:mainfrom
prymitive:plan

Conversation

@prymitive

@prymitive prymitive commented May 7, 2026

Copy link
Copy Markdown
Contributor

This failed cast is not really an error and it floods logs with message when using Ruler with gRPC queries.

  • I added CHANGELOG entry for this change.
  • Change is not relevant to the end user.

Changes

Verification

This failed cast is not really an error and it floods logs with message when using Ruler with gRPC queries.

Signed-off-by: Lukasz Mierzwa <lukasz@cloudflare.com>

@fpetkovski fpetkovski left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this is indeed annoying. I wonder if we should log it with debug level though to avoid swallowing it silently.

@GiedriusS

Copy link
Copy Markdown
Member

Thanks, this is indeed annoying. I wonder if we should log it with debug level though to avoid swallowing it silently.

What would be the value of such message? When this can be not logicalplan.Node? 🤔

@fpetkovski

Copy link
Copy Markdown
Contributor

It can be not logicalplan.Node if the request comes from either the Prometheus engine or an older version of the Thanos engine. I am fine with removing the line completely as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants