Observability
3TL Bridge surfaces operational visibility at every level — aggregate platform metrics, per-pipeline job metrics, and live log output — without requiring a separate observability stack. For organisations with existing infrastructure, the pipeline engine exposes a Prometheus-compatible GET /metrics endpoint and the Helm chart includes a ServiceMonitor CRD.
Dashboard Metrics
The dashboard provides aggregate metrics derived from all running pipelines:
| Metric | Description |
|---|---|
| Total events processed | Cumulative events handled across all pipelines |
| Total bytes processed | Cumulative data volume across all pipelines |
| Running / stopped / failed jobs | Pipeline counts by state |
| Uptime | Seconds since the pipeline engine started |
| Recent activity | Latest pipeline events, starts, stops, and errors |
Per-Pipeline Job Metrics
Each pipeline exposes real-time job metrics via the management API and the dashboard:
| Metric | Description |
|---|---|
| Events processed | Total events processed since last start |
| Bytes processed | Data volume processed |
| Throughput per second | Current events per second |
| Current lag | Time distance behind the source (for streaming sources) |
| Total errors | Transformation and write errors |
| Last processed at | Timestamp of the last event processed |
Pipeline Process Stats
For pipelines using the internal processing pipeline, additional depth metrics are available:
| Metric | Description |
|---|---|
| Queued | Messages waiting in the internal stream |
| In-flight | Messages currently being processed |
| Done | Acknowledged messages |
| Saturation % | Pipeline capacity utilisation |
| Source blocked | Whether the source is blocked by backpressure |
Metrics update continuously. No page refresh is required.
Log Streaming
The Logs view streams live log output from all running pipeline jobs. Logs can be filtered by:
- Job — show logs only for a specific pipeline
- Severity level — info, warning, or error
Auto-scroll can be paused to examine a specific sequence of log entries during an incident without losing the current position in the stream.
Prometheus Integration
The pipeline engine exposes a Prometheus-compatible metrics endpoint at GET /metrics. For Kubernetes deployments, the Helm chart can create a ServiceMonitor resource for automatic scraping by Prometheus Operator:
# values.yaml
mstream:
metrics:
enabled: true
serviceMonitor:
enabled: true
interval: 15s
scrapeTimeout: 10s
labels: {}
Exposed Prometheus Metrics
| Metric | Type | Labels | Description |
|---|---|---|---|
mstream_uptime_seconds |
gauge | — | Seconds since process start |
mstream_jobs |
gauge | state |
Count of jobs by state (running, stopped, failed) |
mstream_job_events_processed_total |
counter | job |
Total events processed |
mstream_job_bytes_processed_total |
counter | job |
Total bytes processed |
mstream_job_errors_total |
counter | job |
Total errors |
mstream_job_last_processed_at_seconds |
gauge | job |
Unix timestamp of last processed event |
mstream_job_last_source_timestamp_seconds |
gauge | job |
Unix timestamp from source of last event |
mstream_job_pipeline_queued |
gauge | job |
Queued messages in stream |
mstream_job_pipeline_in_flight |
gauge | job |
Messages being processed |
mstream_job_pipeline_done |
gauge | job |
Acknowledged messages |
mstream_job_pipeline_saturation_pct |
gauge | job |
Pipeline saturation percentage |
mstream_job_pipeline_source_blocked |
gauge | job |
Whether the source is blocked (0 or 1) |
mstream_encryption_records |
gauge | concern, provider, key_id, key_version |
Encrypted records per key identity, refreshed every minute — drives key-rotation drain verification |
These metrics are queryable from any Prometheus-based tooling including Grafana, Datadog agent, and cloud-native monitoring platforms.
Use Cases
- Monitor
mstream_job_pipeline_saturation_pctacross pipelines to identify processing bottlenecks before they affect downstream consumers - Filter live log output by pipeline job during an incident; pause auto-scroll to examine specific error sequences without losing context
- Alert on
mstream_job_errors_totalrate in Grafana to catch transformation failures early