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

ref(relay): Update axum-extra and otel-proto libs #3798

Closed
wants to merge 4 commits into from

Conversation

Dav1dde
Copy link
Member

@Dav1dde Dav1dde commented Jul 8, 2024

With the changes from here (open-telemetry/opentelemetry-rust#1753), integers are strings now ...

axum-extra update is required for prost 0.12 which is required for the otel dependency.

#skip-changelog

@Dav1dde Dav1dde requested a review from a team as a code owner July 8, 2024 12:24
@Dav1dde Dav1dde self-assigned this Jul 8, 2024
@Dav1dde Dav1dde requested a review from sl0thentr0py July 8, 2024 12:45
Comment on lines +287 to +288
"startTimeUnixNano": "1697620454980000000",
"endTimeUnixNano": "1697620454980078800",
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't we still be able to parse long integers? Even if they get serialized as strings?

Copy link
Member Author

Choose a reason for hiding this comment

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

Can you elaborate? Even if they get serialized as strings? -> They are serialized as a string and that works?

Copy link
Member

Choose a reason for hiding this comment

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

Discussed offline: This will break the OTLP endpoint for old clients that send these values as numbers. We're OK with this breakage because the endpoint is experimental and gated behind a feature flag.

@Dav1dde Dav1dde requested a review from jjbayer July 9, 2024 07:21
Comment on lines +287 to +288
"startTimeUnixNano": "1697620454980000000",
"endTimeUnixNano": "1697620454980078800",
Copy link
Member

Choose a reason for hiding this comment

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

Discussed offline: This will break the OTLP endpoint for old clients that send these values as numbers. We're OK with this breakage because the endpoint is experimental and gated behind a feature flag.

@Dav1dde Dav1dde enabled auto-merge (squash) July 9, 2024 10:12
@Dav1dde Dav1dde disabled auto-merge July 9, 2024 11:16
@Dav1dde
Copy link
Member Author

Dav1dde commented Jul 9, 2024

The Rust dependency is now incompatible with the python lib with the same name, protobuf payloads with integers as attributes fail to parse.

@Dav1dde Dav1dde closed this Jul 9, 2024
@Dav1dde
Copy link
Member Author

Dav1dde commented Jul 9, 2024

Upstream issue for this: open-telemetry/opentelemetry-rust#1905

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants