Skip to content

Commit 7d7a75b

Browse files
committed
Add section about instrementation scope
1 parent ea1d619 commit 7d7a75b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/rfcs/component-universal-telemetry.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@ the mechanism. Currently, that package is `service/internal/graph`, but this may
7272
ascribed to individual component packages, both because the instrumentation scope is intended to describe the origin of the telemetry,
7373
and because no mechanism is presently identified which would allow us to determine the characteristics of a component-specific scope.
7474

75+
### Instrumentation Scope
76+
77+
All telemetry described in this RFC should include a scope name which corresponds to the package which implements the telemetry. If the
78+
package is internal, then the scope name should be that of the module which contains the package. For example,
79+
`go.opentelemetry.io/service` should be used instead of `go.opentelemetry.io/service/internal/graph`.
80+
7581
### Auto-Instrumented Metrics
7682

7783
There are two straightforward measurements that can be made on any pdata:

0 commit comments

Comments
 (0)