Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Draft] time window change on http api & spanstore interface #6258

Conversation

rim99
Copy link
Contributor

@rim99 rim99 commented Nov 26, 2024

Which problem is this PR solving?

Description of the changes

  • Add optional time window when get trace by id on http API

This is only a draft to show how HTTP API would change based on the other PR #6242. Ideally, we should merge #6242 before this one.

How was this change tested?

  • unit test

Checklist

Copy link

codecov bot commented Nov 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.46%. Comparing base (d6ca388) to head (e5824b8).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6258      +/-   ##
==========================================
- Coverage   96.46%   96.46%   -0.01%     
==========================================
  Files         355      355              
  Lines       20150    20208      +58     
==========================================
+ Hits        19438    19493      +55     
- Misses        525      527       +2     
- Partials      187      188       +1     
Flag Coverage Δ
badger_v1 8.30% <5.55%> (-0.02%) ⬇️
badger_v2 1.67% <0.00%> (-0.01%) ⬇️
cassandra-4.x-v1 14.37% <8.33%> (-0.02%) ⬇️
cassandra-4.x-v2 1.61% <0.00%> (-0.01%) ⬇️
cassandra-5.x-v1 14.37% <8.33%> (-0.02%) ⬇️
cassandra-5.x-v2 1.61% <0.00%> (-0.01%) ⬇️
elasticsearch-6.x-v1 18.59% <8.33%> (-0.02%) ⬇️
elasticsearch-7.x-v1 18.67% <8.33%> (-0.02%) ⬇️
elasticsearch-8.x-v1 18.84% <8.33%> (-0.01%) ⬇️
elasticsearch-8.x-v2 1.67% <0.00%> (-0.01%) ⬇️
grpc_v1 9.54% <55.55%> (+0.09%) ⬆️
grpc_v2 7.01% <19.44%> (+0.03%) ⬆️
kafka-v1 8.87% <5.55%> (-0.02%) ⬇️
kafka-v2 1.67% <0.00%> (-0.01%) ⬇️
memory_v2 1.67% <0.00%> (+<0.01%) ⬆️
opensearch-1.x-v1 18.72% <8.33%> (-0.01%) ⬇️
opensearch-2.x-v1 18.72% <8.33%> (-0.01%) ⬇️
opensearch-2.x-v2 1.67% <0.00%> (-0.01%) ⬇️
tailsampling-processor 0.46% <0.00%> (-0.01%) ⬇️
unittests 95.37% <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.

@rim99 rim99 changed the title [Draft] time window chaneg on http api & spanstore interface [Draft] time window change on http api & spanstore interface Dec 4, 2024
@yurishkuro
Copy link
Member

@rim99 what is the relationship between this PR and #6242?

@rim99
Copy link
Contributor Author

rim99 commented Dec 15, 2024

@rim99 what is the relationship between this PR and #6242?

This is a draft PR, containing changes of #6242 and on HTTP API layer, as requests here: #6242 (comment)

@rim99 rim99 marked this pull request as draft December 15, 2024 02:28
@rim99 rim99 marked this pull request as draft December 15, 2024 02:28
@yurishkuro
Copy link
Member

sorry, I don't follow - are both PRs required and independent? It seems like I see similar changes in both.

@rim99
Copy link
Contributor Author

rim99 commented Dec 15, 2024

sorry, I don't follow - are both PRs required and independent? It seems like I see similar changes in both.

No, this is only a draft to show how HTTP API would change based on the other PR #6242. Ideally, we should merge #6242 before this one. I've turn this PR as draft to avoid misunderstanding

@yurishkuro
Copy link
Member

Thanks. In the future I recommend explaining this dependency in the PR description, not leaving it to guessing.

@rim99
Copy link
Contributor Author

rim99 commented Dec 16, 2024

Close this since we don’t need demo anymore

@rim99 rim99 closed this Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants