Skip to content

Commit 86d090f

Browse files
Clarify that Scope is defined at build time
I have seen several time a confusion around the nature of the scope and whether scope attributes can change at runtime. The purpose of this PR is to mak sure we all agree the scope is a build time concept, or if we disagree then explicitly specify what else the scope can denote and how its attribute can change at runtime.
1 parent 5accc43 commit 86d090f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

specification/glossary.md

+6
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,12 @@ fully qualified class name).
170170
The instrumentation scope is used to obtain a
171171
[Tracer or Meter](#tracer-name--meter-name).
172172

173+
The instrumentation scope may have zero or more additional attributes that provide
174+
additional information about the scope. For example for a scope that specifies an
175+
instrumentation library an additional attribute may be recorded to denote the URL of the
176+
repository URL the library's source code is stored. Since the scope is a build-time
177+
concept the attributes of the scope cannot change at runtime.
178+
173179
### Tracer Name / Meter Name
174180

175181
This refers to the `name` and (optional) `version` arguments specified when

0 commit comments

Comments
 (0)