🔬 InstrumentationScope represents the instrumentation scope information.
Identifies the library, framework, or instrumentation code that generated the telemetry data. This helps with attribution and debugging.
const scope: InstrumentationScope = { name: "turtle-mining-lib", version: "2.1.0", attributes: [ { key: "library.type", value: { stringValue: "automation" } }, { key: "library.language", value: { stringValue: "typescript" } } ], droppedAttributesCount: 0}; Copy
const scope: InstrumentationScope = { name: "turtle-mining-lib", version: "2.1.0", attributes: [ { key: "library.type", value: { stringValue: "automation" } }, { key: "library.language", value: { stringValue: "typescript" } } ], droppedAttributesCount: 0};
Additional attributes describing the scope
Number of attributes that were dropped due to limits
Name of the instrumentation scope (e.g., library name)
Version of the instrumentation scope
🔬 InstrumentationScope represents the instrumentation scope information.
Identifies the library, framework, or instrumentation code that generated the telemetry data. This helps with attribution and debugging.
Example