Skip to content

test: verify OpenTelemetry tracing integration and bump to 3.0.1#14

Merged
chakhsu merged 1 commit into
mainfrom
test/otel-tracing
May 21, 2026
Merged

test: verify OpenTelemetry tracing integration and bump to 3.0.1#14
chakhsu merged 1 commit into
mainfrom
test/otel-tracing

Conversation

@chakhsu

@chakhsu chakhsu commented May 21, 2026

Copy link
Copy Markdown
Owner

Adds two test suites validating that grpcity is compatible with the OpenTelemetry ecosystem:

  • otelTracing.test.ts: manual instrumentation via client/server middleware, asserting span linkage and W3C traceparent propagation through gRPC metadata across the full root -> client -> server chain.
  • otelAutoTracing.test.ts: auto-instrumentation via @opentelemetry/instrumentation-grpc, asserting that patching the underlying @grpc/grpc-js module produces CLIENT and SERVER spans for grpcity calls with a shared traceId.

OpenTelemetry packages are added as devDependencies only; the library itself takes no new runtime dependencies.

Adds two test suites validating that grpcity is compatible with the
OpenTelemetry ecosystem:

- otelTracing.test.ts: manual instrumentation via client/server
  middleware, asserting span linkage and W3C traceparent propagation
  through gRPC metadata across the full root -> client -> server chain.
- otelAutoTracing.test.ts: auto-instrumentation via
  @opentelemetry/instrumentation-grpc, asserting that patching the
  underlying @grpc/grpc-js module produces CLIENT and SERVER spans for
  grpcity calls with a shared traceId.

OpenTelemetry packages are added as devDependencies only; the library
itself takes no new runtime dependencies.
@chakhsu chakhsu merged commit 7e4acb0 into main May 21, 2026
6 checks passed
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.

1 participant