Skip to content

Commit 3c35345

Browse files
committed
docs: document InstrumentationLibrary interface
1 parent e0090ed commit 3c35345

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • packages/opentelemetry-core/src/common

packages/opentelemetry-core/src/common/types.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ export interface ShimWrapped {
4343
__original: Function;
4444
}
4545

46+
/**
47+
* An instrumentation library consists of the name and version used to
48+
* obtain a tracer or meter from a provider. This metadata is made available
49+
* on ReadableSpan and MetricRecord for use by the export pipeline.
50+
*/
4651
export interface InstrumentationLibrary {
4752
readonly name: string;
4853
readonly version: string;

0 commit comments

Comments
 (0)