Java Agent self observability dashboard

SkyWalking java agent reports itself metrics by Meter APIS in order to measure tracing performance. it also provides a dashboard to visualize the agent metrics.

Data flow

  1. SkyWalking java agent reports metrics data internally and automatically.
  2. SkyWalking OAP accept these meters through native protocols.
  3. The SkyWalking OAP Server parses the expression with MAL to filter/calculate/aggregate and store the results.

Set up

Java Agent so11y is a build-in feature, it reports meters automatically after boot.

Self observability monitoring

Self observability monitoring provides monitoring of the runtime performance of the java agent itself. agent.service_name is a Service in Agent so11y, and land on the Layer: SO11Y_JAVA_AGENT.

Self observability metrics

UnitMetric NameDescriptionData Source
Count Per Minutemeter_java_agent_created_tracing_context_countCreated Tracing Context Count (Per Minute)SkyWalking Java Agent
Count Per Minutemeter_java_agent_finished_tracing_context_countFinished Tracing Context Count (Per Minute)SkyWalking Java Agent
Count Per Minutemeter_java_agent_created_ignored_context_countCreated Ignored Context Count (Per Minute)SkyWalking Java Agent
Count Per Minutemeter_java_agent_finished_ignored_context_countFinished Ignored Context Count (Per Minute)SkyWalking Java Agent
Count Per Minutemeter_java_agent_possible_leaked_context_countPossible Leak Context Count (Per Minute)SkyWalking Java Agent
Count Per Minutemeter_java_agent_interceptor_error_countInterceptor Error Count (Per Minute)SkyWalking Java Agent
nsmeter_java_agent_tracing_context_execution_time_percentileTracing Context Execution Time (ns)SkyWalking Java Agent

Customizations

You can customize your own metrics/expression/dashboard panel. The metrics definition and expression rules are found in /meter-analyzer-config/java-agent.yaml The self observability dashboard panel configurations are found in /config/ui-initialized-templates/so11y_java_agent.