Skip to content

[otel-arrow-rust] Instrumentation Scope name is not correctly decoded #481

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

Open
albertlockett opened this issue May 23, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@albertlockett
Copy link
Member

albertlockett commented May 23, 2025

I noticed this when doing some testing.

If we change InstrumentationScope::default() here to InstrumentationScope::new("test")

ScopeMetrics::build(InstrumentationScope::default())

Then this test will fail:

async fn test_otap_metrics_single_request() {
run_single_round_trip_test::<OTLPMetricsInputType, OTAPMetricsOutputType, _>(
testdata::metrics::create_single_request,
None,
)
.await;

I think it probably shouldn't fail & that we probably have a bug somewhere handling instrumentation scope name

@albertlockett
Copy link
Member Author

This isn't specific to metrics .. It's the same story with logs

@albertlockett albertlockett added the bug Something isn't working label May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant