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

Add optional time window in TraceGetParameters #6159

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rim99
Copy link
Contributor

@rim99 rim99 commented Nov 4, 2024

Which problem is this PR solving?

Resolves #4150

Description of the changes

  • add optional time window when fetching trace by id

How was this change tested?

  • unittest

Checklist

@rim99 rim99 force-pushed the optinal-time-window-when-fetching-trace-by-id branch 3 times, most recently from cb5f24f to d00b4d3 Compare November 4, 2024 13:57
@rim99 rim99 marked this pull request as ready for review November 4, 2024 14:07
@rim99 rim99 requested a review from a team as a code owner November 4, 2024 14:07
@rim99 rim99 requested a review from jkowall November 4, 2024 14:07
@rim99 rim99 changed the title Add optinal time window in TraceGetParameters Add optional time window in TraceGetParameters Nov 4, 2024
@rim99 rim99 force-pushed the optinal-time-window-when-fetching-trace-by-id branch from a0bb411 to 74fd1e5 Compare November 10, 2024 11:55
@yurishkuro
Copy link
Member

please rebase

@rim99 rim99 force-pushed the optinal-time-window-when-fetching-trace-by-id branch from d6eeed8 to 2d6c9ed Compare November 21, 2024 14:08
@rim99 rim99 force-pushed the optinal-time-window-when-fetching-trace-by-id branch from 7c3ab0c to 3d939f2 Compare November 21, 2024 14:50
@rim99
Copy link
Contributor Author

rim99 commented Nov 21, 2024

@yurishkuro Updated bsaed on comments, please reivew this PR, thanks

Comment on lines +17 to +20
CONTAINER=docker
CONTAINER_PROTOBUF_VERSION=0.5.0
CONTAINER_PROTOBUF=jaegertracing/protobuf:$(CONTAINER_PROTOBUF_VERSION)
PROTOC := ${CONTAINER} run --rm -u ${shell id -u} -v${PWD}:${PWD} -w${PWD} ${CONTAINER_PROTOBUF} --proto_path=${PWD}
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
CONTAINER=docker
CONTAINER_PROTOBUF_VERSION=0.5.0
CONTAINER_PROTOBUF=jaegertracing/protobuf:$(CONTAINER_PROTOBUF_VERSION)
PROTOC := ${CONTAINER} run --rm -u ${shell id -u} -v${PWD}:${PWD} -w${PWD} ${CONTAINER_PROTOBUF} --proto_path=${PWD}
DOCKER=docker
DOCKER_PROTOBUF_VERSION=0.5.0
DOCKER_PROTOBUF=jaegertracing/protobuf:$(DOCKER_PROTOBUF_VERSION)
PROTOC :=$(DOCKER) run --rm -u ${shell id -u} -v${PWD}:${PWD} -w${PWD} ${DOCKER_PROTOBUF} --proto_path=${PWD}

@@ -72,6 +72,14 @@ message GetTraceRequest {
(gogoproto.customtype) = "github.com/jaegertracing/jaeger/model.TraceID",
(gogoproto.customname) = "TraceID"
];
google.protobuf.Timestamp start_time = 2 [
(gogoproto.stdtime) = true,
(gogoproto.nullable) = true
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
(gogoproto.nullable) = true
(gogoproto.nullable) = false

];
google.protobuf.Timestamp end_time = 3 [
(gogoproto.stdtime) = true,
(gogoproto.nullable) = true
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
(gogoproto.nullable) = true
(gogoproto.nullable) = false

@@ -72,6 +72,14 @@ message GetTraceRequest {
(gogoproto.customtype) = "github.com/jaegertracing/jaeger/model.TraceID",
(gogoproto.customname) = "TraceID"
];
google.protobuf.Timestamp start_time = 2 [
Copy link
Member

Choose a reason for hiding this comment

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

please move this change to a separate PR

@yurishkuro
Copy link
Member

yurishkuro commented Nov 21, 2024

@rim99 this PR is too large, please break it into logical pieces. At minimum grpc storage changes could be a separate PR, e.g. changing the IDL. The anonymizer change can be separate.

@yurishkuro
Copy link
Member

you have jaeger-ui submodule change, it's not related

@rim99
Copy link
Contributor Author

rim99 commented Nov 23, 2024

@rim99 this PR is too large, please break it into logical pieces. At minimum grpc storage changes could be a separate PR, e.g. changing the IDL. The anonymizer change can be separate.

Cool, I'll keep creating new PRs and rebasing until we're satisfied with the size of this PR.

And frist PR is: #6242 . Other changes rely on this

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.

[Feature]: time parameters for querying trace by id
2 participants