Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Named Tracers and Meters #264

Merged
6 changes: 3 additions & 3 deletions specification/api-metrics.md
Original file line number Diff line number Diff line change
@@ -40,9 +40,9 @@ aggregation](overview.md#recording-metrics-with-predefined-aggregation).
New `Meter` instances can be created via a `MeterFactory` and its `getMeter`
SergeyKanzhelev marked this conversation as resolved.
Show resolved Hide resolved
method. This method expects two string arguments:
* `name`: This name must identify the instrumentation library (also referred
to as integration) and *not* the instrumented library (e.g. `io.opentelemetry.contrib.mongodb`)
If no name (null or empty string) is specified, a working default Meter instance
is returned.
to as integration, e.g. `io.opentelemetry.contrib.mongodb`) and *not* the
instrumented library. If no name (null or empty string) is specified, a working
default Meter instance is returned.
z1c0 marked this conversation as resolved.
Show resolved Hide resolved
* `version` (optional): Specifies the version of the instrumentation library
(e.g. `semver:1.0.0`).

7 changes: 4 additions & 3 deletions specification/api-tracing.md
Original file line number Diff line number Diff line change
@@ -84,10 +84,11 @@ registry of `Tracer`s for such applications.

New `Tracer` instances can be created via a `TracerFactory` and its `getTracer`
method. This method expects two string arguments:

* `name`: This name must identify the instrumentation library (also referred
to as integration) and *not* the instrumented library (e.g. `io.opentelemetry.contrib.mongodb`)
If no name (null or empty string) is specified, a working default Tracer instance
is returned.
to as integration, e.g. `io.opentelemetry.contrib.mongodb`) and *not* the
instrumented library. If no name (null or empty string) is specified, a working
default Tracer instance is returned.
* `version` (optional): Specifies the version of the instrumentation library
(e.g. `semver:1.0.0`).