Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 2.71 KB

metrics.md

File metadata and controls

50 lines (34 loc) · 2.71 KB

The official Splunk documentation for this page is Metrics and attributes of the Java agent. For instructions on how to contribute to the docs, see CONTRIBUTING.md.

Metrics and attributes

🚧  Status: Experimental - exported metric data and configuration properties may change.

The Splunk Distribution of OpenTelemetry Java agent gathers basic application metrics. Because these splunk-specific metrics are still experimental they are not enabled by default. For more information, please see the advanced configuration for details.

Supported libraries

The following metrics are currently gathered by the agent:

Library/Framework Instrumentation name Versions
JVM metrics jvm-metrics-splunk Java runtimes version 8 and higher

JVM

We use OpenTelemetry JVM Metrics. Besides OpenTelemetry JVM Metrics we include the following JVM metrics.

Memory profiler metrics

These metrics are enabled only when memory profiler is enabled.

Metric name Instrument Description
jvm.memory.allocated [Counter][c] Approximate sum of heap allocations.
jvm.gc.pause.count [Counter][c] Number of gc pauses. This metric will be removed in a future release.
jvm.gc.pause.totalTime [Counter][c] Time spent in GC pause. This metric will be removed in a future release.

Webengine Attributes

🚧  Status: Experimental

The Splunk Distribution of OpenTelemetry Java captures information about the application server that is being used and adds the following attributes to SERVER spans:

Span attribute Example Description
webengine.name tomcat The name of the application server.
webengine.version 7.0.107.0 The version of the application server.

All application servers from this list are supported.