Attributes
- Companion
- class
- Source
- OtelJava.scala
- Graph
-
- Supertypes
- Self type
-
OtelJava.type
Members list
Value members
Concrete methods
Creates a Resource
of the automatic configuration of a Java OpenTelemetrySdk
instance.
Creates a Resource
of the automatic configuration of a Java OpenTelemetrySdk
instance.
If you rely on automatic instrumentation via Java agent, you MUST NOT use this method and MUST use global instead.
Value parameters
- customize
-
A function for customizing the auto-configured SDK builder. This function MUST NOT call
setResultAsGlobal
.
Attributes
- Returns
-
An org.typelevel.otel4s.Otel4s resource.
- See also
- Source
- OtelJava.scala
Creates an org.typelevel.otel4s.Otel4s from a Java OpenTelemetry instance.
Creates an org.typelevel.otel4s.Otel4s from a Java OpenTelemetry instance.
Value parameters
- jOtel
-
A Java OpenTelemetry instance. It is the caller's responsibility to shut this down. Failure to do so may result in lost metrics and traces.
Attributes
- Returns
-
An effect of an org.typelevel.otel4s.Otel4s resource.
- Source
- OtelJava.scala
Creates an org.typelevel.otel4s.Otel4s from the global Java OpenTelemetry instance.
Creates an org.typelevel.otel4s.Otel4s from the global Java OpenTelemetry instance.
Attributes
- See also
- Source
- OtelJava.scala
Attributes
- Source
- OtelJava.scala
Creates a no-op implementation of the OtelJava.
Lifts the acquisition of a Java OpenTelemetrySdk instance to a Resource.
Lifts the acquisition of a Java OpenTelemetrySdk instance to a Resource.
Value parameters
- acquire
-
OpenTelemetrySdk resource
Attributes
- Returns
-
An org.typelevel.otel4s.Otel4s resource.
- Source
- OtelJava.scala