Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

OpenCensus instrumented JDBC wrapper for tracing and metrics

License

Notifications You must be signed in to change notification settings

census-ecosystem/opencensus-java-jdbc

Warning

OpenCensus and OpenTracing have merged to form OpenTelemetry, which serves as the next major version of OpenCensus and OpenTracing.

OpenTelemetry has now reached feature parity with OpenCensus, with tracing and metrics SDKs available in .NET, Golang, Java, NodeJS, and Python. All OpenCensus Github repositories, except census-instrumentation/opencensus-python, will be archived on July 31st, 2023. We encourage users to migrate to OpenTelemetry by this date.

To help you gradually migrate your instrumentation to OpenTelemetry, bridges are available in Java, Go, Python, and JS. Read the full blog post to learn more.

ocjdbc

OpenCensus instrumented JDBC wrapper for tracing and metrics

Recorded metrics

Metric Search suffix Additional tags
Number of Calls "java.sql/client/calls" "method", "error", "status"
Latency in milliseconds "java.sql/client/latency" "method", "error", "status"