docs(collector): update internal telemetry RPC metrics#9554
Merged
tiffany76 merged 5 commits intoopen-telemetry:mainfrom Apr 20, 2026
Merged
docs(collector): update internal telemetry RPC metrics#9554tiffany76 merged 5 commits intoopen-telemetry:mainfrom
tiffany76 merged 5 commits intoopen-telemetry:mainfrom
Conversation
jade-guiton-dd
approved these changes
Apr 7, 2026
Align the internal telemetry docs with the RPC metrics emitted by newer Collector builds that use the updated Go semantic conventions. Rename the documented RPC duration metrics to rpc.client.call.duration and rpc.server.call.duration, remove the deprecated *_per_rpc entries from the detailed metrics list, and note that older Collector releases may still expose the legacy rpc.client.duration and rpc.server.duration metric names.
37feaa1 to
0c56862
Compare
jade-guiton-dd
approved these changes
Apr 8, 2026
tiffany76
reviewed
Apr 13, 2026
Closed
odubajDT
reviewed
Apr 15, 2026
tiffany76
reviewed
Apr 16, 2026
Co-authored-by: Tiffany Hrabusa <30397949+tiffany76@users.noreply.github.com>
a39bad2 to
493da1a
Compare
45c9320 to
b4173a3
Compare
Co-authored-by: odubajDT <93584209+odubajDT@users.noreply.github.com>
tiffany76
reviewed
Apr 20, 2026
tiffany76
approved these changes
Apr 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR updates the Collector internal telemetry docs to match the RPC metrics emitted by newer Collector builds.
It makes three concrete documentation corrections in
content/en/docs/collector/internal-telemetry.md:rpc.client.duration/rpc.server.durationtorpc.client.call.duration/rpc.server.call.durationrpc.*.requests_per_rpcandrpc.*.responses_per_rpcentries from the detailed metrics tablerpc.client.durationandrpc.server.durationnamesThe reason for this change is a dependency chain across the semantic conventions, the generated Go semconv packages, the gRPC instrumentation used by the Collector, and finally the Collector docs.
The upstream source of truth is the semantic-conventions repo:
requests_per_rpcandresponses_per_rpcmetrics were deprecated and moved out of the active RPC metric model frommodel/rpc/metrics.yamlintomodel/rpc/deprecated/metrics-deprecated.yaml.rpc.client.durationandrpc.server.durationwere renamed torpc.client.call.durationandrpc.server.call.duration, and the duration unit changed from milliseconds to seconds.Those semantic-convention changes then flowed into the generated Go semconv packages:
Generate semconv/v1.38.0), the generated Go RPC semconv package no longer includesrpc.server.responses_per_rpcand the corresponding*_per_rpchelpers.Generate semconv/v1.39.0), the generated Go RPC semconv package switches fromrpc.server.durationtorpc.server.call.durationand fromrpc.client.durationtorpc.client.call.duration.That matters for the Collector because its gRPC internal telemetry is not hand-authored under Collector-specific metric names. Collector core wires the gRPC server and client through
otelgrpcinconfig/configgrpc/configgrpc.go, andotelgrpcconstructs its instruments from the generatedrpcconvhelpers. In current Go module versions that means:otelgrpc.NewServerHandler(...)usesrpcconv.NewServerCallDuration(...)otelgrpc.NewClientHandler(...)usesrpcconv.NewClientCallDuration(...)So once Collector core upgraded its OpenTelemetry Go dependencies, the emitted internal RPC duration metrics changed as a consequence of that dependency update, even though the Collector’s own gRPC instrumentation wiring stayed conceptually the same.
This is the important part of the reasoning for the documentation change:
detailedverbosity.*_per_rpcmetrics and renamed the duration metrics.opentelemetry-goregenerated its semconv packages from those newer semantic conventions.otelgrpcuses those regenerated semconv helpers to define the actual instrument names.otelgrpcfor internal gRPC client/server instrumentation.*.call.durationnames and no longer expose the deprecated*_per_rpcmetrics through the current Go-based internal RPC instrumentation path.That is why the previous documentation became stale:
rpc.client.durationandrpc.server.durationas if they were the current namesrpc.*.requests_per_rpcandrpc.*.responses_per_rpcas if they were still part of the current generated Go instrumentation surfaceThis PR updates the page to reflect the current state while still noting that older Collector releases may show the legacy duration names. I kept that compatibility note because users may be comparing different Collector versions and the page should make the version boundary understandable instead of presenting the current names as timeless.
Validation:
npm run checkcheck:i18ndrift in many unrelated translated files, not because of this doc changeRelevant upstream references:
Repo commit for this docs change:
docs(collector): update internal telemetry RPC metricsFootnotes
Yes, I can answer maintainer questions about the content of this PR, without using AI. ↩