# 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.md) | Redis client calls | `redis` metrics receiver | | [PostgreSQL](postgresql.md) | Database client calls | `postgresql` metrics receiver | | [SQL Server](sql-server.md) | JDBC or SqlClient calls | `sqlserver` metrics receiver | | [Oracle](oracle.md) | JDBC or explicit client spans | Manual route; separate Oracle receiver assessment | | [SQLite](sqlite.md) | Embedded database operations | Application/process metrics; no database server | | [MongoDB](mongodb.md) | MongoDB driver calls | `mongodb` metrics receiver | | [ClickHouse](clickhouse.md) | JDBC or explicit client spans | Vendor metrics endpoint through `prometheus` | | [Kafka](kafka.md) | Producer and consumer operations | `kafka_metrics` receiver | | [RabbitMQ](rabbitmq.md) | Publish and consume operations | `rabbitmq` Management API receiver | | [ZeroMQ](zeromq.md) | Explicit messaging spans | Application metrics; no broker scraper | | [Other services](other-services.md) | 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](../languages/python.md), [JavaScript/TypeScript](../languages/javascript-typescript.md), [Java](../languages/java.md), [.NET](../languages/dotnet.md), [C++](../languages/cpp.md), [Go](../languages/go.md), [Rust](../languages/rust.md), or [Kotlin](../languages/kotlin.md). 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](../../common.md) 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/` or `logs/` 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](../../verification.md) for the complete transport checks. For server log files and Prometheus endpoints, see [Other services](other-services.md). 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.