OAP self observability dashboard

SkyWalking itself collects and exports metrics in Prometheus format for consuming, it also provides a dashboard to visualize the self-observability metrics.

Data flow

  1. SkyWalking OAP collects metrics data internally and exposes a Prometheus http endpoint to retrieve the metrics.
  2. SkyWalking OAP itself (or OpenTelemetry Collector, preferred in Kubernetes scenarios) fetches metrics from the Prometheus endpoint in step (1).
  3. OAP (or OpenTelemetry Collector) pushes metrics to SkyWalking OAP Server via OpenTelemetry gRPC exporter.
  4. The SkyWalking OAP Server parses the expression with MAL to filter/calculate/aggregate and store the results.

Set up

Follow OAP Self Observability Telemetry doc to set up OAP and OpenTelemetry Collector.

Self observability monitoring

Self observability monitoring provides monitoring of the status and resources of the OAP server itself. oap-server is a Service in OAP, and land on the Layer: SO11Y_OAP.

Self observability metrics

Unit Metric Name Description Data Source
Count Per Minute meter_oap_instance_jvm_gc_count GC Count oap self observability
MB meter_oap_instance_jvm_memory_bytes_used Memory oap self observability
ms / min meter_oap_instance_jvm_young_gc_time GC Time (ms / min) oap self observability
ms / min meter_oap_instance_jvm_old_gc_time GC Time (ms / min) oap self observability
Count Per Minute meter_oap_instance_mesh_count Mesh Analysis Count (Per Minute) oap self observability
Count Per Minute meter_oap_instance_mesh_analysis_error_count Mesh Analysis Count (Per Minute) oap self observability
ms meter_oap_instance_trace_latency_percentile Trace Analysis Latency (ms) per 1,000 spans, by protocol (grpc, http, kafka, zipkin-http, zipkin-kafka, otlp-grpc, otlp-http), observed as each span’s latency × 1,000. An agent segment is processed as a whole, so its spans share the segment’s average oap self observability
Count meter_oap_jvm_class_loaded_count Class Count oap self observability
Count meter_oap_jvm_class_total_unloaded_count Class Count oap self observability
Count meter_oap_jvm_class_total_loaded_count Class Count oap self observability
Count meter_oap_instance_persistence_prepare_count Persistence Count (Per 5 Minutes) oap self observability
Count meter_oap_instance_persistence_execute_count Persistence Count (Per 5 Minutes) oap self observability
Count meter_oap_jvm_thread_live_count Thread Count oap self observability
Count meter_oap_jvm_thread_peak_count Thread Count oap self observability
Count meter_oap_jvm_thread_daemon_count Thread Count oap self observability
ms meter_oap_instance_persistence_execute_percentile Persistence Execution Latency Per Metric Type (ms) oap self observability
ms meter_oap_instance_persistence_prepare_percentile Persistence Preparing Latency Per Metric Type (ms) oap self observability
Count meter_oap_jvm_thread_runnable_count Thread State Count oap self observability
Count meter_oap_jvm_thread_timed_waiting_count Thread State Count oap self observability
Count meter_oap_jvm_thread_blocked_count Thread State Count oap self observability
Count meter_oap_jvm_thread_waiting_count Thread State Count oap self observability
Count per minute meter_oap_instance_metrics_aggregation Aggregation (Per Minute) oap self observability
ms meter_oap_instance_mesh_latency_percentile Mesh Analysis Latency (ms) oap self observability
Count per minute meter_oap_instance_trace_count Trace Analysis Count (Per Minute): spans, by protocol oap self observability
Count per minute meter_oap_instance_trace_analysis_error_count Trace Analysis Count (Per Minute) oap self observability
Count per minute meter_oap_otel_spans_rejected OTLP spans rejected for a resource without a service name (Per Minute) oap self observability
Count per minute meter_oap_instance_spans_dropped_count Trace spans received but not stored (Per Minute), by protocol (zipkin-http, zipkin-kafka, otlp-grpc, otlp-http) oap self observability
Count per minute meter_oap_instance_spans_dropped_by_reason Trace spans received but not stored (Per Minute), by protocol and reason (sampled, rate_limited, store_failed, process_failed), see OTLP trace self-observability oap self observability
Percentage meter_oap_instance_cpu_percentage CPU (%) oap self observability
Count meter_oap_instance_metrics_persistent_cache count of metrics cache hit and no-hit oap self observability
Count per minute meter_oap_instance_alarm_http_delivery_count Alarm hook deliveries by hook_type and result (Per Minute), including gRPC oap self observability
Count per minute meter_oap_instance_alarm_http_delivery_status_count HTTP alarm hook responses by hook_type and status_class (Per Minute) oap self observability
ms meter_oap_instance_alarm_http_delivery_latency_percentile Alarm hook delivery latency by hook_type (ms), including gRPC oap self observability
Count per minute meter_oap_instance_remote_out_count Cluster remote client push count by dest and self (Per Minute); peers: send attempts, self=Y: successful local fan-out oap self observability
Count per minute meter_oap_instance_remote_out_error_count Cluster remote client push errors by dest and self (Per Minute); peers: one per failed batch stream, refused enqueue or interrupted stream-slot wait, self=Y: one per failed push oap self observability
ms meter_oap_instance_remote_out_latency_percentile Cluster remote client push latency by dest and self (ms); peers: one sample per successful batch stream, self=Y: one per successful push oap self observability
Count meter_oap_instance_remote_out_stream_inflight In-flight remote gRPC streams by dest and self (peers only) oap self observability
Milliseconds per minute meter_oap_instance_remote_out_stream_block_milliseconds Time waiting for a free remote stream slot by dest and self (ms Per Minute, peers only) oap self observability
Count meter_oap_instance_remote_out_queue_used_per_ten_thousand Remote send queue used percentage ×100 by dest and self (peers only; divide by 100 for 0–100%) oap self observability
Count per minute meter_oap_instance_remote_in_count Cluster remote server receive count (Per Minute) oap self observability
Count per minute meter_oap_instance_remote_in_error_count Cluster remote server receive errors (Per Minute) oap self observability
Count per minute meter_oap_instance_remote_in_target_not_found_count Cluster remote server target-worker-not-found count (Per Minute) oap self observability
ms meter_oap_instance_remote_in_latency_percentile Cluster remote server receive latency (ms, includes discarded messages) oap self observability
Count meter_oap_instance_cluster_size OAP cluster size seen by the current node oap self observability

Customizations

You can customize your own metrics/expression/dashboard panel. The metrics definition and expression rules are found in /config/fetcher-prom-rules/self.yaml and config/otel-rules/oap.yaml. The self observability dashboard panel configurations ship from the SkyWalking Horizon UI bundle (apache/skywalking-horizon-ui); the OAP backend no longer hosts UI dashboard JSONs.