Skip to content

Conversation

alanprot
Copy link
Member

@alanprot alanprot commented Jun 8, 2025

What this PR does:
Just improving logs and adding some traces spans on the parquet queryable.

Which issue(s) this PR fixes:
Fixes #

Checklist

  • [NA] Tests updated
  • [NA] Documentation added
  • [NA] CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@alanprot alanprot force-pushed the add-logs-span-parquet branch from b512b2f to 23a9dd0 Compare June 8, 2025 16:21
@alanprot alanprot force-pushed the add-logs-span-parquet branch from 23a9dd0 to 35f9611 Compare June 8, 2025 16:21
@alanprot alanprot marked this pull request as ready for review June 8, 2025 16:22
@dosubot dosubot bot added component/querier type/observability To help know what is going on inside Cortex labels Jun 8, 2025
Signed-off-by: alanprot <[email protected]>
@@ -146,6 +147,9 @@ func NewParquetQueryable(
shards := make([]*parquet_storage.ParquetShard, len(blocks))
errGroup := &errgroup.Group{}

span, _ := opentracing.StartSpanFromContext(ctx, "parquetQuerierWithFallback.OpenShards")
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need to pass ctx to parquet_storage.OpenParquetShard?

Copy link
Member Author

Choose a reason for hiding this comment

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

good call.. lemme try wihtouc cancel

Copy link
Member Author

Choose a reason for hiding this comment

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

PTAL?

Signed-off-by: alanprot <[email protected]>
Copy link
Contributor

@yeya24 yeya24 left a comment

Choose a reason for hiding this comment

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

Thanks!

@yeya24 yeya24 merged commit 8ad8c44 into cortexproject:master Jun 8, 2025
17 checks passed
yeya24 pushed a commit to yeya24/cortex that referenced this pull request Jun 10, 2025
…project#6806)

* Improving logs and adding some spans on the parquet queriable

Signed-off-by: alanprot <[email protected]>

* lint

Signed-off-by: alanprot <[email protected]>

* comments

Signed-off-by: alanprot <[email protected]>

---------

Signed-off-by: alanprot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/querier size/S type/observability To help know what is going on inside Cortex
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants