Skip to content

[clickhouse] Update FindTraceIDs to filter by timestamp#7787

Merged
yurishkuro merged 2 commits into
jaegertracing:mainfrom
mahadzaryab1:find-trace-ids-4
Dec 25, 2025
Merged

[clickhouse] Update FindTraceIDs to filter by timestamp#7787
yurishkuro merged 2 commits into
jaegertracing:mainfrom
mahadzaryab1:find-trace-ids-4

Conversation

@mahadzaryab1
Copy link
Copy Markdown
Collaborator

Which problem is this PR solving?

Description of the changes

  • Updated the FindTraceIDs function for ClickHouse storage to filter by StartTimeMin and StartTimeMax

How was this change tested?

  • Unit tests

Checklist

Signed-off-by: Mahad Zaryab <mahadzaryab1@gmail.com>
Signed-off-by: Mahad Zaryab <mahadzaryab1@gmail.com>
@mahadzaryab1 mahadzaryab1 requested a review from a team as a code owner December 25, 2025 22:56
@mahadzaryab1 mahadzaryab1 added the changelog:experimental Change to an experimental part of the code label Dec 25, 2025
@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 25, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.50%. Comparing base (1fa6ad5) to head (bf53332).
⚠️ Report is 8 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7787   +/-   ##
=======================================
  Coverage   95.50%   95.50%           
=======================================
  Files         308      308           
  Lines       15482    15488    +6     
=======================================
+ Hits        14786    14792    +6     
  Misses        548      548           
  Partials      148      148           
Flag Coverage Δ
badger_v1 9.63% <0.00%> (-0.01%) ⬇️
badger_v2 2.01% <0.00%> (-0.01%) ⬇️
cassandra-4.x-v1-manual 14.25% <0.00%> (-0.01%) ⬇️
cassandra-4.x-v2-auto 2.00% <0.00%> (-0.01%) ⬇️
cassandra-4.x-v2-manual 2.00% <0.00%> (-0.01%) ⬇️
cassandra-5.x-v1-manual 14.25% <0.00%> (-0.01%) ⬇️
cassandra-5.x-v2-auto 2.00% <0.00%> (-0.01%) ⬇️
cassandra-5.x-v2-manual 2.00% <0.00%> (-0.01%) ⬇️
clickhouse 1.93% <0.00%> (-0.01%) ⬇️
elasticsearch-6.x-v1 18.40% <0.00%> (-0.02%) ⬇️
elasticsearch-7.x-v1 18.43% <0.00%> (-0.02%) ⬇️
elasticsearch-8.x-v1 18.59% <0.00%> (-0.02%) ⬇️
elasticsearch-8.x-v2 2.01% <0.00%> (-0.01%) ⬇️
elasticsearch-9.x-v2 2.01% <0.00%> (-0.01%) ⬇️
grpc_v1 9.50% <0.00%> (-0.01%) ⬇️
grpc_v2 2.01% <0.00%> (-0.01%) ⬇️
kafka-3.x-v2 2.01% <0.00%> (-0.01%) ⬇️
memory_v2 2.01% <0.00%> (-0.01%) ⬇️
opensearch-1.x-v1 18.48% <0.00%> (-0.02%) ⬇️
opensearch-2.x-v1 18.48% <0.00%> (-0.02%) ⬇️
opensearch-2.x-v2 2.01% <0.00%> (-0.01%) ⬇️
opensearch-3.x-v2 2.01% <0.00%> (-0.01%) ⬇️
query 2.01% <0.00%> (-0.01%) ⬇️
tailsampling-processor 0.58% <0.00%> (-0.01%) ⬇️
unittests 94.01% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@yurishkuro yurishkuro merged commit edda103 into jaegertracing:main Dec 25, 2025
62 checks passed
ThatDeparted2061 pushed a commit to ThatDeparted2061/jaeger that referenced this pull request Dec 31, 2025
…ing#7787)

## Which problem is this PR solving?
- Towards jaegertracing#7134

## Description of the changes
- Updated the `FindTraceIDs` function for ClickHouse storage to filter
by `StartTimeMin` and `StartTimeMax`

## How was this change tested?
- Unit tests

## Checklist
- [x] I have read
https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md
- [x] I have signed all commits
- [x] I have added unit tests for the new functionality
- [x] I have run lint and test steps successfully
  - for `jaeger`: `make lint test`
  - for `jaeger-ui`: `npm run lint` and `npm run test`

---------

Signed-off-by: Mahad Zaryab <mahadzaryab1@gmail.com>
Signed-off-by: ThatDeparted2061 <harshraocodesup@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/storage changelog:experimental Change to an experimental part of the code enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants