# Correlation ID

Record: `arch:correlation-id`
Kind: mechanism
Layer: [Observability](https://banes-lab.com/records/layer/observability.md)
Severity: mandatory for distributed systems
Scope: request, message, workflow
Canonical: https://banes-lab.com/ontology#arch-correlation-id

## Repair

- Refactored by: Add Middleware, Propagate Header
- Detected by: missing correlation field
- Violated by: logs/events without correlation identifier
- Measured by: correlation coverage
- Enforced by: logging/tracing standards

## requires

- [Context Propagation](https://banes-lab.com/records/lex/context-propagation.md)

## reinforces

- [Distributed Tracing](https://banes-lab.com/records/arch/distributed-tracing.md)

## enables

- [Request-Level Traceability](https://banes-lab.com/records/lex/request-level-traceability.md)

## conflicts-with

- [Uncorrelated Events](https://banes-lab.com/records/lex/uncorrelated-events.md)

## tensions-with

- [Header/Metadata Management](https://banes-lab.com/records/lex/header-metadata-management.md)

## tensions

- [Correlation ID Header/Metadata Management](https://banes-lab.com/records/tension/correlation-id-header-metadata-management.md)

## referenced-by

- [Traceability](https://banes-lab.com/records/arch/traceability.md)
