Aggregator metrics#
Overview#
Introduction#
The Packet Inspector 1 aggregator service exposes metrics that you can scrape using Prometheus.
Note
Some metrics are not available in all versions of Aspen Mesh.
Metric endpoint configuration#
The Packet Inspector 1 aggregator metrics are available at the following endpoint.
Port |
Endpoint |
|---|---|
9106 |
/metrics |
Metric types#
Metric types are defined by Prometheus. Learn about Prometheus metric types.
Metrics#
aspenmesh_packet_inspector_analysis_processing_ms#
Description#
This metric consists of two submetrics that let you determine the average number of milliseconds an aggregator pod spent communicating with the analysis service for a request:
aspenmesh_packet_inspector_analysis_processing_ms_sum: The total number of milliseconds the aggregator pod spent communicating with the analysis service
aspenmesh_packet_inspector_analysis_processing_ms_count: The number of requests the aggregator pod processed that weren’t dropped
Type#
Summary
Labels#
Label name |
Description |
Label values |
|---|---|---|
|
The hostname of the aggregator pod exposing the metric |
Example: |
|
The protocol of the captured data |
- |
aspenmesh_packet_inspector_circular_buffer_bytes#
Description#
The total number of bytes currently in use by an aggregator pod’s circular buffer
Type#
Gauge
Labels#
Label name |
Description |
Label values |
|---|---|---|
|
The hostname of the aggregator pod exposing the metric |
Example: |
aspenmesh_packet_inspector_circular_buffer_capacity (1.14.6-am1 and later)#
Description#
The total number of messages that could currently be stored in an aggregator pod’s circular buffer without growing
Type#
Gauge
Labels#
Label name |
Description |
Label values |
|---|---|---|
|
The hostname of the aggregator pod exposing the metric |
Example: |
aspenmesh_packet_inspector_circular_buffer_length (1.14.6-am1 and later)#
Description#
The total number of messages currently stored in an aggregator pod’s circular buffer
Type#
Gauge
Labels#
Label name |
Description |
Label values |
|---|---|---|
|
The hostname of the aggregator pod exposing the metric |
Example: |
aspenmesh_packet_inspector_connections_active#
Description#
The number of active connections currently in use by an aggregator pod
Type#
Gauge
Labels#
Label name |
Description |
Label values |
|---|---|---|
|
The hostname of the aggregator pod exposing the metric |
Example: |
|
The aggregator pod’s communication peer |
- |
|
The protocol of the captured data |
- |
aspenmesh_packet_inspector_message_groups (1.14.6-am1 and later)#
Description#
The total number of message groups currently stored in an aggregator pod’s circular buffer. A Diameter message group consists of a request and its answer (and any retransmitted messages). An HTTP message group can contain both a request and its response or any subset.
Type#
Gauge
Labels#
Label name |
Description |
Label values |
|---|---|---|
|
The hostname of the aggregator pod exposing the metric |
Example: |
aspenmesh_packet_inspector_partial_capture_total (1.14.6-am1 and later)#
Description#
The total number of message groups sent to the analysis service where some messages were dropped from the group prior to sending
Type#
Counter
Labels#
Label name |
Description |
Label values |
|---|---|---|
|
The hostname of the aggregator pod exposing the metric |
Example: |
|
The protocol of the captured data |
- |
aspenmesh_packet_inspector_queue_channel#
Description#
The total number of requests currently in an aggregator pod’s queue channel, which temporarily holds requests received from filters
Note
This metric typically reports zero requests because this portion of the code is not a bottleneck in practice.
Type#
Gauge
Labels#
Label name |
Description |
Label values |
|---|---|---|
|
The hostname of the aggregator pod exposing the metric |
Example: |
aspenmesh_packet_inspector_request_bytes_total#
Description#
This metric consists of two submetrics that let you determine the average number of bytes an aggregator pod sent to the analysis service or received from filters for a request:
aspenmesh_packet_inspector_request_bytes_total_sum: The total number of bytes the aggregator pod sent to the analysis service or received from filters
aspenmesh_packet_inspector_request_bytes_total_count: The number of requests the aggregator pod processed
Type#
Summary
Labels#
Label name |
Description |
Label values |
|---|---|---|
|
The hostname of the aggregator pod exposing the metric |
Example: |
|
The aggregator pod’s communication peer |
- |
|
The protocol of the captured data |
- |
|
The result of the processing |
- |
Note
Only the following peer/status label-value combinations are used:
|
|
|---|---|
|
|
|
|
|
|
|
|
|
|
aspenmesh_packet_inspector_requests_total#
Description#
The total number of requests an aggregator pod sent to the analysis service or received from filters
Type#
Counter
Labels#
Label name |
Description |
Label values |
|---|---|---|
|
The hostname of the aggregator pod exposing the metric |
Example: |
|
The aggregator pod’s communication peer |
- |
|
The protocol of the captured data |
- |
|
The result of the processing |
- |
Note
Only the following peer/status label-value combinations are used:
|
|
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
aspenmesh_packet_inspector_total_duration_ms#
Description#
This metric consists of two submetrics that let you determine the average number of milliseconds an aggregator pod spent processing a request:
aspenmesh_packet_inspector_total_duration_ms_sum: The total number of milliseconds the aggregator pod spent processing requests
aspenmesh_packet_inspector_total_duration_ms_count: The number of requests the aggregator pod processed
Type#
Summary
Labels#
Label name |
Description |
Label values |
|---|---|---|
|
The hostname of the aggregator pod exposing the metric |
Example: |
|
The portion of the request-processing timespan |
- |
|
The protocol of the captured data |
- |
Note
The time an aggregator pod spends communicating with filters is very low, so the value of this metric when
peerisfilteris frequently nearly 0 ms.When
peeriscombined, the value of this metric includes the time the aggregator pod spent communicating with the analysis service. To determine the actual overhead of the aggregator pod’s processing, subtract theaspenmesh_packet_inspector_analysis_processing_msmetric.