Metrics and attributes collected by the Splunk Distribution of OpenTelemetry Python 🔗
The Splunk Distribution of OpenTelemetry Python collects runtime and custom metrics. To automatically collect metrics from your Python applications, you must have splunk-otel-python
version 1.14.0 or higher. For more information, see About the Splunk Distribution of OpenTelemetry Python.
To learn about the different metric types, see Metric types.
For examples of custom metrics instrumentation and instrument types, see Create custom metrics.
Caution
This feature is experimental, and exported metric data and configuration properties might change. To learn more, see https://github.com/signalfx/splunk-otel-python/blob/main/docs/advanced-config.md.
Application metrics 🔗
The agent of the Splunk Distribution of OpenTelemetry Python collects the following application metrics.
Default metrics dimensions 🔗
The following dimensions are automatically added to all metrics exported by the agent:
Dimension |
Description |
---|---|
|
Value of the |
|
Name of the service. |
|
Name of the SDK, set to |
|
Language of the SDK, set to |
|
Version of the OpenTelemetry SDK. |
Supported libraries 🔗
The Python agent collects metrics through the following supported libraries:
Library/Framework |
Instrumentation |
Supported versions |
---|---|---|
Django |
|
Django version 1.10 or higher |
Pyramid |
|
Pyramid version 1.7 or higher |
Runtime metrics 🔗
The Python agent automatically collects and exports the following application runtime metrics:
Metric |
Type |
Description |
---|---|---|
|
Counter |
Memory used by the Python runtime. |
|
Cumulative counter |
CPU time used by the Python runtime. |
|
Cumulative counter |
Garbage collections executed by the Python runtime. |
System metrics 🔗
The Python agent automatically collects and exports the following system metrics:
Metric |
Type |
Description |
---|---|---|
|
Counter |
Total seconds each logical CPU spent on each mode. |
|
Gauge |
Difference in |
|
Counter |
Bytes of memory in use. |
|
Gauge |
Percentage of memory bytes in use. |
|
Counter |
Bytes of swap space in use. |
|
Gauge |
Percentage of swap space bytes in use. |
|
Counter |
Disk bytes transferred. |
|
Counter |
Disk operations count. |
|
Counter |
Time disk spent activated. |
|
Counter |
The number of packets dropped. |
|
Counter |
The number of packets transferred. |
|
Counter |
The number of errors encountered. |
|
Counter |
The number of bytes transmitted and received. |
|
Counter |
The number of connections. |
|
Counter |
The number of threads. |