Public documentation

Documentation indexRead as Markdown

Databases, caches, and message services

Collect two complementary views of a dependency: application spans showing calls to it, and server metrics showing its operating condition. Corridora receives both through OpenTelemetry. A database or broker scraper does not create a server span for each application request.

Choose a guide

Service Application view Server collection in these guides
Redis Redis client calls redis metrics receiver
PostgreSQL Database client calls postgresql metrics receiver
SQL Server JDBC or SqlClient calls sqlserver metrics receiver
Oracle JDBC or explicit client spans Manual route; separate Oracle receiver assessment
SQLite Embedded database operations Application/process metrics; no database server
MongoDB MongoDB driver calls mongodb metrics receiver
ClickHouse JDBC or explicit client spans Vendor metrics endpoint through prometheus
Kafka Producer and consumer operations kafka_metrics receiver
RabbitMQ Publish and consume operations rabbitmq Management API receiver
ZeroMQ Explicit messaging spans Application metrics; no broker scraper
Other services Supported library or manual spans Prometheus, logs, or a verified receiver

Receiver examples target OpenTelemetry Collector Contrib 0.160.0. Upstream receiver maturity is independent of Corridora feature availability. Pin your Collector image and validate the configuration with the same binary you deploy.

Instrument the calling application

First configure the SDK or agent and OTLP export using the appropriate guide: Python, JavaScript/TypeScript, Java, .NET, C++, Go, Rust, or Kotlin.

The application's service.name identifies the caller. Do not rename an entire checkout application to its database name. Client span attributes describe the dependency. Keep credentials, SQL bind values, document bodies, and message payloads out of telemetry unless you have explicitly reviewed their collection.

An agent must support the actual driver and version loaded by the application. Start one process with one instrumentation method, exercise a known operation, and inspect its span before rolling it out. Avoid wrapping the same call with both automatic and manual client instrumentation.

Add server collection without replacing existing pipelines

Complete common setup first. The YAML blocks here are partial configuration fragments, not complete standalone Collector files. Merge their receiver and processor entries into your existing mappings, and add their named metrics/<service> or logs/<service> pipeline beside the existing pipelines. Do not replace service.pipelines, and do not concatenate duplicate top-level YAML keys. Keep the application's OTLP traces, metrics, and logs pipelines.

Examples reuse the baseline memory_limiter, batch, and otlp_http/corridora components. Each scraper has its own resource processor so that naming a database server does not overwrite the identity of application telemetry. Replace example hosts, names, and environment values. Secret variables must be present in the Collector process or container; mounting a CA file also requires that the configured path exist inside that runtime.

Run only one active scraper for a target unless you have deliberately partitioned collection. Multiple identical Collector replicas can duplicate metric samples. Use a dedicated monitoring identity with only the permissions required by the chosen receiver; keep it separate from the application's read/write identity.

Verify both paths

  1. From the Collector's network, authenticate to the target as the monitoring user and run the service-specific check in its guide.
  2. Validate and restart the merged Collector configuration. Inspect scrape and export errors over at least two collection intervals.
  3. Find the expected metric name and server service in Corridora Metrics.
  4. Exercise a request through the instrumented application and find its client span in Traces. CLI health checks alone do not produce application spans.
  5. Compare identities and timestamps; a metric in the same window is contextual evidence, not automatically an exemplar or child of the request.

Use verification for the complete transport checks. For server log files and Prometheus endpoints, see Other services.

Source basis: upstream Collector Contrib 0.160.0 component manifest and receiver documentation; OpenTelemetry Java supported-libraries documentation, reviewed 2026-09-28. Configurations require validation against your server versions.