Observability
- Metrics, sampled traces, product audit events and ONM completion records answer different questions and consume different resources.
Diagram phase
Select a component to trace its direct connections. Drag to pan · Ctrl + wheel or pinch to zoom.
- A product-layer event describes activity at one stage. The ONM record collects facts about a request at completion. Solace carries the events to Logstash for indexing in Elasticsearch.
- Kibana queries indexed events. Prometheus separately scrapes JVM metrics, so a gap in the event stream and a failed metrics scrape have different owners.
- The proposal keeps the existing audit path. Prometheus would scrape application metrics from Actuator, while sampled request spans would travel through an OpenTelemetry Collector.
- A span describes one timed operation in a trace. An unsampled request can still contribute to metrics or emit an audit event. Delivery to the proposed APM backend depends on its supported intake.
Reading
Metrics collection
Metrics collection
- Solace feeds Logstash, then Elasticsearch; Kibana queries/visualizes that data.
- Prometheus separately scrapes existing JMX/current targets. Product layer events and request-local ONM DTOs remain distinct.
- Use Micrometer/Actuator Prometheus endpoints for metrics; do not duplicate them through OTLP.
- Add sampled trace-only OTel/Collector with conditional Elastic APM intake after support/version/capacity approval.
Log processing chain
Log processing chain
- Solace feeds Logstash and Elasticsearch; Kibana queries and visualizes the stored data. Delivery, storage and query responsibilities remain distinct.
Trace causality
Trace causality
- Propagate context across process and executor boundaries with bounded sampling. Instrumentation cost and backend compatibility need a measured budget.
Product audit and ONM
Product audit and ONM
- Product audit emits separate layer events for downstream correlation. ONM aggregates request-local completion state; its ThreadLocal lifetime is a separate contract.
Messaging and recovery
Messaging and recovery
- Transport selection, publisher acknowledgement, consumption and durable business acceptance are independent contracts.
Useful throughput and failures
Useful throughput and failures
- Compare offered, completed, rejected, failed and timed-out work together with resource wait and occupancy.