diff --git a/semantic_conventions/scope/scope.yaml b/semantic_conventions/scope/scope.yaml new file mode 100644 index 00000000000..12312702c33 --- /dev/null +++ b/semantic_conventions/scope/scope.yaml @@ -0,0 +1,12 @@ +groups: + - id: scope + prefix: scope + brief: > + Scope attributes + attributes: + - id: short_name + type: string + requirement_level: recommended + brief: > + The single-word name for the instrumentation scope. + examples: ['mylibrary'] diff --git a/specification/scope/README.md b/specification/scope/README.md new file mode 100644 index 00000000000..dfafac9f4ad --- /dev/null +++ b/specification/scope/README.md @@ -0,0 +1,11 @@ +# Scope Semantic Conventions + +**Status**: [Experimental](../document-status.md) + +This document defines standard attributes for the instrumentation scope. + + +| Attribute | Type | Description | Examples | Requirement Level | +|---|---|---|---|---| +| `scope.short_name` | string | The single-word name for the instrumentation scope. | `mylibrary` | Recommended | +