[−][src]Trait opentelemetry::api::trace::TracerProvider
An interface to create Tracer
instances.
Associated Types
Loading content...Required methods
fn get_tracer(
&self,
name: &'static str,
version: Option<&'static str>
) -> Self::Tracer
&self,
name: &'static str,
version: Option<&'static str>
) -> Self::Tracer
Creates a named tracer instance of Self::Tracer
.
If the name is an empty string then provider uses default name.
Implementors
impl TracerProvider for NoopTracerProvider
[src]
type Tracer = NoopTracer
fn get_tracer(
&self,
_name: &'static str,
_version: Option<&'static str>
) -> Self::Tracer
[src]
&self,
_name: &'static str,
_version: Option<&'static str>
) -> Self::Tracer
Returns a new NoopTracer
instance.