Skip to content

Add inventory_with_opentelemetry example for the couchbase-opentelemetry gem#222

Merged
avsej merged 1 commit intocouchbase:mainfrom
avsej:otel-example
Mar 26, 2026
Merged

Add inventory_with_opentelemetry example for the couchbase-opentelemetry gem#222
avsej merged 1 commit intocouchbase:mainfrom
avsej:otel-example

Conversation

@avsej
Copy link
Copy Markdown
Member

@avsej avsej commented Mar 26, 2026

Port of the C++ couchbase-cxx-client-demo inventory example. Wires RequestTracer and Meter into Couchbase::Options::Cluster, ships traces and metrics to a local OTel Collector via OTLP/HTTP, and installs a catch-all histogram View with second-scale bucket boundaries calibrated for Couchbase KV latency. All settings are overridable via environment variables. Includes a README.md with setup instructions, environment variable reference, signal flow diagram, and guidance on reading results in Jaeger, Prometheus, and Grafana; links to the telemetry-cluster Docker Compose stack in couchbase-cxx-client-demo.

…try gem

Port of the C++ couchbase-cxx-client-demo inventory example.  Wires
RequestTracer and Meter into Couchbase::Options::Cluster, ships traces
and metrics to a local OTel Collector via OTLP/HTTP, and installs a
catch-all histogram View with second-scale bucket boundaries calibrated
for Couchbase KV latency.  All settings are overridable via environment
variables.  Includes a README.md with setup instructions, environment
variable reference, signal flow diagram, and guidance on reading results
in Jaeger, Prometheus, and Grafana; links to the telemetry-cluster Docker
Compose stack in couchbase-cxx-client-demo.
@avsej avsej merged commit 8991692 into couchbase:main Mar 26, 2026
39 of 43 checks passed
@avsej avsej deleted the otel-example branch March 26, 2026 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants