Registry / observability / opencensus-impl

opencensus-impl

JSON →
library0.31.1javamavenunverified

Implementation of the OpenCensus API for distributed tracing and metrics collection.

<dependency> <groupId>io.opencensus</groupId> <artifactId>opencensus-impl</artifactId> <version>0.31.1</version> </dependency>
INSTALL
IMPORT
SIG · OPENCENSUS-IMPL
O
opencensus-impl
observabilityjavav0.31.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TraceComponentImpl
io.opencensus.impl.trace.TraceComponentImpl

Creates and ends a simple span using OpenCensus tracing.

import io.opencensus.trace.Tracer; import io.opencensus.trace.Span; import io.opencensus.trace.Tracing; Tracer tracer = Tracing.getTracer(); Span span = tracer.spanBuilder("mySpan").startSpan(); try { System.out.println("Doing work"); } finally { span.end(); }
Debug
Known issues
breakingOpenCensus is deprecated in favor of OpenTelemetry; consider migrating.
fix
Use OpenTelemetry SDK instead.
affects: >=0.31.0
Upgrade
Version history
0.31.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
OpenAI (training)
2
Resources
opencensus-impl — mvn dependency:get opencensus-impl · libregistry