Metrics Collection
SPIRL components can optionally collect metrics and expose them in a Prometheus metrics endpoint.
SPIRL Agent
Metrics collection is disabled by default and can be toggled by setting telemetry configuration in the helm chart values.
# Telemetry configuration
telemetry:
# Whether to enable telemetry
enabled: false
# Metrics collectors configuration
collectors:
# gRPC metrics collector configuration
grpc:
# Whether to emit latency metrics. Time histogram metrics for gRPC servers and clients will be emitted if true.
# Since it is bad practice to have metrics of high cardinality the latency monitoring metrics are disabled by default.
# https://prometheus.io/docs/practices/instrumentation/#do-not-overuse-labels
emmitLatencyMetrics: false
metricsAPI:
port: 9090
Note: gRPC latency histograms can generate a high cardinality of metrics, which can lead to performance issues in Prometheus. Therefore, it is optional and disabled by default.
This is an example for enabling metrics collection, including gRPC latency metrics:
telemetry:
enabled: true
collectors:
grpc:
emmitLatencyMetrics: true
When telemetry is enabled, a new metrics port is exposed on agent pods. The port is defined in the metricsAPI.port
field in the configuration.
Collected Metrics
The following metrics are collected by SPIRL components:
- Go Collector: exports metrics about the current Go process using debug.GCStats (base metrics) and runtime/metrics (both in MemStats style and new ones).
- Process Collector: exports the current state of process metrics, including CPU, memory, and file descriptor usage, as well as the process start time.
- gRPC Collector: generates a set of useful metrics about RPCs usage (client and server), such as the number of messages received, RPCs handled, latency distribution, etc.
Note: The Process collector only works on operating systems with a Linux-style proc filesystem and on Microsoft Windows. On other operating systems, it will not collect any metrics.
Metric Name | Description | Metric Type |
---|---|---|
go_gc_duration_seconds | A summary of the pause duration of garbage collection cycles. | summary |
go_goroutines | Number of goroutines that currently exist. | gauge |
go_info | Information about the Go environment. | gauge |
go_memstats_alloc_bytes | Number of bytes allocated and still in use. | gauge |
go_memstats_alloc_bytes_total | Total number of bytes allocated, even if freed. | counter |
go_memstats_buck_hash_sys_bytes | Number of bytes used by the profiling bucket hash table. | gauge |
go_memstats_frees_total | Total number of frees. | counter |
go_memstats_gc_cpu_fraction | The fraction of this program's available CPU time used by the GC since the program started. | gauge |
go_memstats_gc_sys_bytes | Number of bytes used for garbage collection system metadata. | gauge |
go_memstats_heap_alloc_bytes | Number of heap bytes allocated and still in use. | gauge |
go_memstats_heap_idle_bytes | Number of heap bytes waiting to be used. | gauge |
go_memstats_heap_inuse_bytes | Number of heap bytes that are in use. | gauge |
go_memstats_heap_objects | Number of allocated objects. | gauge |
go_memstats_heap_released_bytes | Number of heap bytes released to OS. | gauge |
go_memstats_heap_sys_bytes | Number of heap bytes obtained from the system. | gauge |
go_memstats_last_gc_time_seconds | Number of seconds since 1970 of the last garbage collection. | gauge |
go_memstats_lookups_total | Total number of pointer lookups. | counter |
go_memstats_mallocs_total | Total number of mallocs. | counter |
go_memstats_mcache_inuse_bytes | Number of bytes in use by mcache structures. | gauge |
go_memstats_mcache_sys_bytes | Number of bytes used for mcache structures obtained from the system. | gauge |
go_memstats_mspan_inuse_bytes | Number of bytes in use by mspan structures. | gauge |
go_memstats_mspan_sys_bytes | Number of bytes used for mspan structures obtained from the system. | gauge |
go_memstats_next_gc_bytes | Number of heap bytes when the next garbage collection will take place. | gauge |
go_memstats_other_sys_bytes | Number of bytes used for other system allocations. | gauge |
go_memstats_stack_inuse_bytes | Number of bytes in use by the stack allocator. | gauge |
go_memstats_stack_sys_bytes | Number of bytes obtained from the system for the stack allocator. | gauge |
go_memstats_sys_bytes | Number of bytes obtained from the system. | gauge |
go_threads | Number of OS threads created. | gauge |
process_cpu_seconds_total | Total user and system CPU time spent in seconds. | counter |
process_max_fds | Maximum number of open file descriptors. | gauge |
process_open_fds | Number of open file descriptors. | gauge |
process_resident_memory_bytes | Resident memory size in bytes. | gauge |
process_start_time_seconds | Start time of the process since Unix epoch in seconds. | gauge |
process_virtual_memory_bytes | Virtual memory size in bytes. | gauge |
process_virtual_memory_max_bytes | Maximum amount of virtual memory available in bytes. | gauge |
promhttp_metric_handler_requests_in_flight | Current number of scrapes being served. | gauge |
promhttp_metric_handler_requests_total | Total number of scrapes by HTTP status code. | counter |
grpc_server_handled_total | Total number of RPCs completed on the server. | counter |
grpc_server_msg_received_total | Total number of messages received on the server. | counter |
grpc_server_msg_sent_total | Total number of messages sent by the server. | counter |
grpc_server_started_total | Total number of RPCs started on the server. | counter |
grpc_client_handled_total | Total number of RPCs completed on the client. | counter |
grpc_client_msg_received_total | Total number of messages received on the client. | counter |
grpc_client_msg_sent_total | Total number of messages sent by the client. | counter |
grpc_client_started_total | Total number of RPCs started on the client. | counter |
If latency metrics are enabled, the following additional metrics are collected:
Metric Name | Description | Metric Type |
---|---|---|
grpc_client_handling_seconds_bucket | Histogram of response latency (seconds) of the gRPC until it is finished by the application. | histogram |
grpc_client_handling_seconds_sum | Cumulative time of RPCs by status and method, useful for calculating average handling times. | counter |
grpc_client_handling_seconds_count | The count of all completed RPCs by status and method. | counter |
grpc_client_msg_recv_handling_seconds_bucket | Histogram of response latency (seconds) of the gRPC single message receive. | histogram |
grpc_client_msg_recv_handling_seconds_sum | Cumulative time of message receives, useful for calculating average receive times. | counter |
grpc_client_msg_recv_handling_seconds_count | The count of all completed message receives. | counter |
grpc_client_msg_sent_handling_seconds_bucket | Histogram of response latency (seconds) of the gRPC single message send. | histogram |
grpc_client_msg_sent_handling_seconds_sum | Cumulative time of message sends, useful for calculating average send times. | counter |
grpc_client_msg_sent_handling_seconds_count | The count of all completed message sends. | counter |
grpc_server_handling_seconds_bucket | Histogram of response latency (seconds) of the gRPC until it is finished by the application. | histogram |
grpc_server_handling_seconds_sum | Cumulative time of RPCs by status and method, useful for calculating average handling times. | counter |
grpc_server_handling_seconds_count | The count of all completed RPCs by status and method. | counter |
grpc_server_msg_recv_handling_seconds_bucket | Histogram of response latency (seconds) of the gRPC single message receive. | histogram |
grpc_server_msg_recv_handling_seconds_sum | Cumulative time of message receives, useful for calculating average receive times. | counter |
grpc_server_msg_recv_handling_seconds_count | The count of all completed message receives. | counter |
grpc_server_msg_sent_handling_seconds_bucket | Histogram of response latency (seconds) of the gRPC single message send. | histogram |
grpc_server_msg_sent_handling_seconds_sum | Cumulative time of message sends, useful for calculating average send times. | counter |
grpc_server_msg_sent_handling_seconds_count | The count of all completed message sends. | counter |
Metrics Labels
For more info on how you can use gRPC metrics labels to identify Services, Methods, and Statuses, please refer to the gRPC Prometheus documentation.
Metrics Example
Here is some examples of the metrics that are collected by SPIRL components:
gRPC Collector
Show more
# HELP grpc_client_handled_total Total number of RPCs completed by the client, regardless of success or failure.
# TYPE grpc_client_handled_total counter
grpc_client_handled_total{grpc_code="OK",grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary"} 7
# HELP grpc_client_handling_seconds Histogram of response latency (seconds) of the gRPC until it is finished by the application.
# TYPE grpc_client_handling_seconds histogram
grpc_client_handling_seconds_bucket{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary",le="0.005"} 6
grpc_client_handling_seconds_bucket{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary",le="0.01"} 7
grpc_client_handling_seconds_bucket{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary",le="0.025"} 7
grpc_client_handling_seconds_bucket{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary",le="0.05"} 7
grpc_client_handling_seconds_bucket{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary",le="0.1"} 7
grpc_client_handling_seconds_bucket{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary",le="0.25"} 7
grpc_client_handling_seconds_bucket{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary",le="0.5"} 7
grpc_client_handling_seconds_bucket{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary",le="1"} 7
grpc_client_handling_seconds_bucket{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary",le="2.5"} 7
grpc_client_handling_seconds_bucket{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary",le="5"} 7
grpc_client_handling_seconds_bucket{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary",le="10"} 7
grpc_client_handling_seconds_bucket{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary",le="+Inf"} 7
grpc_client_handling_seconds_sum{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary"} 0.025904075000000006
grpc_client_handling_seconds_count{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary"} 7
# HELP grpc_client_msg_received_total Total number of RPC stream messages received by the client.
# TYPE grpc_client_msg_received_total counter
grpc_client_msg_received_total{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary"} 7
grpc_client_msg_received_total{grpc_method="SyncTrustBundles",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="server_stream"} 1
# HELP grpc_client_msg_recv_handling_seconds Histogram of response latency (seconds) of the gRPC single message receive.
# TYPE grpc_client_msg_recv_handling_seconds histogram
grpc_client_msg_recv_handling_seconds_bucket{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary",le="0.005"} 6
grpc_client_msg_recv_handling_seconds_bucket{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary",le="0.01"} 7
grpc_client_msg_recv_handling_seconds_bucket{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary",le="0.025"} 7
grpc_client_msg_recv_handling_seconds_bucket{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary",le="0.05"} 7
grpc_client_msg_recv_handling_seconds_bucket{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary",le="0.1"} 7
grpc_client_msg_recv_handling_seconds_bucket{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary",le="0.25"} 7
grpc_client_msg_recv_handling_seconds_bucket{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary",le="0.5"} 7
grpc_client_msg_recv_handling_seconds_bucket{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary",le="1"} 7
grpc_client_msg_recv_handling_seconds_bucket{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary",le="2.5"} 7
grpc_client_msg_recv_handling_seconds_bucket{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary",le="5"} 7
grpc_client_msg_recv_handling_seconds_bucket{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary",le="10"} 7
grpc_client_msg_recv_handling_seconds_bucket{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary",le="+Inf"} 7
grpc_client_msg_recv_handling_seconds_sum{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary"} 0.025830065
grpc_client_msg_recv_handling_seconds_count{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary"} 7
grpc_client_msg_recv_handling_seconds_bucket{grpc_method="SyncTrustBundles",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="server_stream",le="0.005"} 1
grpc_client_msg_recv_handling_seconds_bucket{grpc_method="SyncTrustBundles",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="server_stream",le="0.01"} 1
grpc_client_msg_recv_handling_seconds_bucket{grpc_method="SyncTrustBundles",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="server_stream",le="0.025"} 1
grpc_client_msg_recv_handling_seconds_bucket{grpc_method="SyncTrustBundles",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="server_stream",le="0.05"} 1
grpc_client_msg_recv_handling_seconds_bucket{grpc_method="SyncTrustBundles",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="server_stream",le="0.1"} 1
grpc_client_msg_recv_handling_seconds_bucket{grpc_method="SyncTrustBundles",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="server_stream",le="0.25"} 1
grpc_client_msg_recv_handling_seconds_bucket{grpc_method="SyncTrustBundles",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="server_stream",le="0.5"} 1
grpc_client_msg_recv_handling_seconds_bucket{grpc_method="SyncTrustBundles",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="server_stream",le="1"} 1
grpc_client_msg_recv_handling_seconds_bucket{grpc_method="SyncTrustBundles",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="server_stream",le="2.5"} 1
grpc_client_msg_recv_handling_seconds_bucket{grpc_method="SyncTrustBundles",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="server_stream",le="5"} 1
grpc_client_msg_recv_handling_seconds_bucket{grpc_method="SyncTrustBundles",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="server_stream",le="10"} 1
grpc_client_msg_recv_handling_seconds_bucket{grpc_method="SyncTrustBundles",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="server_stream",le="+Inf"} 1
grpc_client_msg_recv_handling_seconds_sum{grpc_method="SyncTrustBundles",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="server_stream"} 0.002527366
grpc_client_msg_recv_handling_seconds_count{grpc_method="SyncTrustBundles",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="server_stream"} 1
# HELP grpc_client_msg_send_handling_seconds Histogram of response latency (seconds) of the gRPC single message send.
# TYPE grpc_client_msg_send_handling_seconds histogram
grpc_client_msg_send_handling_seconds_bucket{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary",le="0.005"} 7
grpc_client_msg_send_handling_seconds_bucket{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary",le="0.01"} 7
grpc_client_msg_send_handling_seconds_bucket{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary",le="0.025"} 7
grpc_client_msg_send_handling_seconds_bucket{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary",le="0.05"} 7
grpc_client_msg_send_handling_seconds_bucket{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary",le="0.1"} 7
grpc_client_msg_send_handling_seconds_bucket{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary",le="0.25"} 7
grpc_client_msg_send_handling_seconds_bucket{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary",le="0.5"} 7
grpc_client_msg_send_handling_seconds_bucket{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary",le="1"} 7
grpc_client_msg_send_handling_seconds_bucket{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary",le="2.5"} 7
grpc_client_msg_send_handling_seconds_bucket{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary",le="5"} 7
grpc_client_msg_send_handling_seconds_bucket{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary",le="10"} 7
grpc_client_msg_send_handling_seconds_bucket{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary",le="+Inf"} 7
grpc_client_msg_send_handling_seconds_sum{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary"} 4.1733e-05
grpc_client_msg_send_handling_seconds_count{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary"} 7
grpc_client_msg_send_handling_seconds_bucket{grpc_method="SyncTrustBundles",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="server_stream",le="0.005"} 1
grpc_client_msg_send_handling_seconds_bucket{grpc_method="SyncTrustBundles",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="server_stream",le="0.01"} 1
grpc_client_msg_send_handling_seconds_bucket{grpc_method="SyncTrustBundles",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="server_stream",le="0.025"} 1
grpc_client_msg_send_handling_seconds_bucket{grpc_method="SyncTrustBundles",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="server_stream",le="0.05"} 1
grpc_client_msg_send_handling_seconds_bucket{grpc_method="SyncTrustBundles",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="server_stream",le="0.1"} 1
grpc_client_msg_send_handling_seconds_bucket{grpc_method="SyncTrustBundles",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="server_stream",le="0.25"} 1
grpc_client_msg_send_handling_seconds_bucket{grpc_method="SyncTrustBundles",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="server_stream",le="0.5"} 1
grpc_client_msg_send_handling_seconds_bucket{grpc_method="SyncTrustBundles",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="server_stream",le="1"} 1
grpc_client_msg_send_handling_seconds_bucket{grpc_method="SyncTrustBundles",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="server_stream",le="2.5"} 1
grpc_client_msg_send_handling_seconds_bucket{grpc_method="SyncTrustBundles",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="server_stream",le="5"} 1
grpc_client_msg_send_handling_seconds_bucket{grpc_method="SyncTrustBundles",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="server_stream",le="10"} 1
grpc_client_msg_send_handling_seconds_bucket{grpc_method="SyncTrustBundles",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="server_stream",le="+Inf"} 1
grpc_client_msg_send_handling_seconds_sum{grpc_method="SyncTrustBundles",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="server_stream"} 0.000121307
grpc_client_msg_send_handling_seconds_count{grpc_method="SyncTrustBundles",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="server_stream"} 1
# HELP grpc_client_msg_sent_total Total number of gRPC stream messages sent by the client.
# TYPE grpc_client_msg_sent_total counter
grpc_client_msg_sent_total{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary"} 7
grpc_client_msg_sent_total{grpc_method="SyncTrustBundles",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="server_stream"} 1
# HELP grpc_client_started_total Total number of RPCs started on the client.
# TYPE grpc_client_started_total counter
grpc_client_started_total{grpc_method="MintX509SVID",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="unary"} 7
grpc_client_started_total{grpc_method="SyncTrustBundles",grpc_service="com.spirl.agent.v1.agent.API",grpc_type="server_stream"} 1
# HELP grpc_server_handled_total Total number of RPCs completed on the server, regardless of success or failure.
# TYPE grpc_server_handled_total counter
grpc_server_handled_total{grpc_code="Aborted",grpc_method="FetchX509Bundles",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="Aborted",grpc_method="FetchX509SVID",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="AlreadyExists",grpc_method="FetchX509Bundles",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="AlreadyExists",grpc_method="FetchX509SVID",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="Canceled",grpc_method="FetchX509Bundles",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="Canceled",grpc_method="FetchX509SVID",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="DataLoss",grpc_method="FetchX509Bundles",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="DataLoss",grpc_method="FetchX509SVID",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="DeadlineExceeded",grpc_method="FetchX509Bundles",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="DeadlineExceeded",grpc_method="FetchX509SVID",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="FailedPrecondition",grpc_method="FetchX509Bundles",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="FailedPrecondition",grpc_method="FetchX509SVID",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="Internal",grpc_method="FetchX509Bundles",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="Internal",grpc_method="FetchX509SVID",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="InvalidArgument",grpc_method="FetchX509Bundles",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="InvalidArgument",grpc_method="FetchX509SVID",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="NotFound",grpc_method="FetchX509Bundles",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="NotFound",grpc_method="FetchX509SVID",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="OK",grpc_method="FetchX509Bundles",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 2
grpc_server_handled_total{grpc_code="OK",grpc_method="FetchX509SVID",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 7
grpc_server_handled_total{grpc_code="OutOfRange",grpc_method="FetchX509Bundles",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="OutOfRange",grpc_method="FetchX509SVID",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="PermissionDenied",grpc_method="FetchX509Bundles",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="PermissionDenied",grpc_method="FetchX509SVID",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="ResourceExhausted",grpc_method="FetchX509Bundles",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="ResourceExhausted",grpc_method="FetchX509SVID",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="Unauthenticated",grpc_method="FetchX509Bundles",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="Unauthenticated",grpc_method="FetchX509SVID",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="Unavailable",grpc_method="FetchX509Bundles",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 3
grpc_server_handled_total{grpc_code="Unavailable",grpc_method="FetchX509SVID",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 7
grpc_server_handled_total{grpc_code="Unimplemented",grpc_method="FetchX509Bundles",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="Unimplemented",grpc_method="FetchX509SVID",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="Unknown",grpc_method="FetchX509Bundles",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="Unknown",grpc_method="FetchX509SVID",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 0
# HELP grpc_server_handling_seconds Histogram of response latency (seconds) of gRPC that had been application-level handled by the server.
# TYPE grpc_server_handling_seconds histogram
grpc_server_handling_seconds_bucket{grpc_method="FetchX509Bundles",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream",le="0.005"} 5
grpc_server_handling_seconds_bucket{grpc_method="FetchX509Bundles",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream",le="0.01"} 5
grpc_server_handling_seconds_bucket{grpc_method="FetchX509Bundles",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream",le="0.025"} 5
grpc_server_handling_seconds_bucket{grpc_method="FetchX509Bundles",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream",le="0.05"} 5
grpc_server_handling_seconds_bucket{grpc_method="FetchX509Bundles",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream",le="0.1"} 5
grpc_server_handling_seconds_bucket{grpc_method="FetchX509Bundles",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream",le="0.25"} 5
grpc_server_handling_seconds_bucket{grpc_method="FetchX509Bundles",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream",le="0.5"} 5
grpc_server_handling_seconds_bucket{grpc_method="FetchX509Bundles",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream",le="1"} 5
grpc_server_handling_seconds_bucket{grpc_method="FetchX509Bundles",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream",le="2.5"} 5
grpc_server_handling_seconds_bucket{grpc_method="FetchX509Bundles",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream",le="5"} 5
grpc_server_handling_seconds_bucket{grpc_method="FetchX509Bundles",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream",le="10"} 5
grpc_server_handling_seconds_bucket{grpc_method="FetchX509Bundles",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream",le="+Inf"} 5
grpc_server_handling_seconds_sum{grpc_method="FetchX509Bundles",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 0.001564969
grpc_server_handling_seconds_count{grpc_method="FetchX509Bundles",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 5
grpc_server_handling_seconds_bucket{grpc_method="FetchX509SVID",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream",le="0.005"} 7
grpc_server_handling_seconds_bucket{grpc_method="FetchX509SVID",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream",le="0.01"} 7
grpc_server_handling_seconds_bucket{grpc_method="FetchX509SVID",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream",le="0.025"} 7
grpc_server_handling_seconds_bucket{grpc_method="FetchX509SVID",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream",le="0.05"} 7
grpc_server_handling_seconds_bucket{grpc_method="FetchX509SVID",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream",le="0.1"} 10
grpc_server_handling_seconds_bucket{grpc_method="FetchX509SVID",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream",le="0.25"} 13
grpc_server_handling_seconds_bucket{grpc_method="FetchX509SVID",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream",le="0.5"} 14
grpc_server_handling_seconds_bucket{grpc_method="FetchX509SVID",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream",le="1"} 14
grpc_server_handling_seconds_bucket{grpc_method="FetchX509SVID",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream",le="2.5"} 14
grpc_server_handling_seconds_bucket{grpc_method="FetchX509SVID",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream",le="5"} 14
grpc_server_handling_seconds_bucket{grpc_method="FetchX509SVID",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream",le="10"} 14
grpc_server_handling_seconds_bucket{grpc_method="FetchX509SVID",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream",le="+Inf"} 14
grpc_server_handling_seconds_sum{grpc_method="FetchX509SVID",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 1.1213295890000001
grpc_server_handling_seconds_count{grpc_method="FetchX509SVID",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 14
# HELP grpc_server_msg_received_total Total number of RPC stream messages received on the server.
# TYPE grpc_server_msg_received_total counter
grpc_server_msg_received_total{grpc_method="FetchX509Bundles",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 2
grpc_server_msg_received_total{grpc_method="FetchX509SVID",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 7
# HELP grpc_server_msg_sent_total Total number of gRPC stream messages sent by the server.
# TYPE grpc_server_msg_sent_total counter
grpc_server_msg_sent_total{grpc_method="FetchX509Bundles",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 2
grpc_server_msg_sent_total{grpc_method="FetchX509SVID",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 7
# HELP grpc_server_started_total Total number of RPCs started on the server.
# TYPE grpc_server_started_total counter
grpc_server_started_total{grpc_method="FetchX509Bundles",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 5
grpc_server_started_total{grpc_method="FetchX509SVID",grpc_service="SpiffeWorkloadAPI",grpc_type="server_stream"} 14
Go Collector
Show more
# HELP go_gc_duration_seconds A summary of the pause duration of garbage collection cycles.
# TYPE go_gc_duration_seconds summary
go_gc_duration_seconds{quantile="0"} 3.0537e-05
go_gc_duration_seconds{quantile="0.25"} 4.6665e-05
go_gc_duration_seconds{quantile="0.5"} 5.5562e-05
go_gc_duration_seconds{quantile="0.75"} 6.6183e-05
go_gc_duration_seconds{quantile="1"} 6.6183e-05
go_gc_duration_seconds_sum 0.000198947
go_gc_duration_seconds_count 4
# HELP go_goroutines Number of goroutines that currently exist.
# TYPE go_goroutines gauge
go_goroutines 30
# HELP go_info Information about the Go environment.
# TYPE go_info gauge
go_info{version="go1.22.2"} 1
# HELP go_memstats_alloc_bytes Number of bytes allocated and still in use.
# TYPE go_memstats_alloc_bytes gauge
go_memstats_alloc_bytes 8.880024e+06
# HELP go_memstats_alloc_bytes_total Total number of bytes allocated, even if freed.
# TYPE go_memstats_alloc_bytes_total counter
go_memstats_alloc_bytes_total 1.1761712e+07
# HELP go_memstats_buck_hash_sys_bytes Number of bytes used by the profiling bucket hash table.
# TYPE go_memstats_buck_hash_sys_bytes gauge
go_memstats_buck_hash_sys_bytes 11723
# HELP go_memstats_frees_total Total number of frees.
# TYPE go_memstats_frees_total counter
go_memstats_frees_total 24497
# HELP go_memstats_gc_sys_bytes Number of bytes used for garbage collection system metadata.
# TYPE go_memstats_gc_sys_bytes gauge
go_memstats_gc_sys_bytes 3.270456e+06
# HELP go_memstats_heap_alloc_bytes Number of heap bytes allocated and still in use.
# TYPE go_memstats_heap_alloc_bytes gauge
go_memstats_heap_alloc_bytes 8.880024e+06
# HELP go_memstats_heap_idle_bytes Number of heap bytes waiting to be used.
# TYPE go_memstats_heap_idle_bytes gauge
go_memstats_heap_idle_bytes 4.153344e+06
# HELP go_memstats_heap_inuse_bytes Number of heap bytes that are in use.
# TYPE go_memstats_heap_inuse_bytes gauge
go_memstats_heap_inuse_bytes 1.1313152e+07
# HELP go_memstats_heap_objects Number of allocated objects.
# TYPE go_memstats_heap_objects gauge
go_memstats_heap_objects 24184
# HELP go_memstats_heap_released_bytes Number of heap bytes released to OS.
# TYPE go_memstats_heap_released_bytes gauge
go_memstats_heap_released_bytes 3.637248e+06
# HELP go_memstats_heap_sys_bytes Number of heap bytes obtained from system.
# TYPE go_memstats_heap_sys_bytes gauge
go_memstats_heap_sys_bytes 1.5466496e+07
# HELP go_memstats_last_gc_time_seconds Number of seconds since 1970 of last garbage collection.
# TYPE go_memstats_last_gc_time_seconds gauge
go_memstats_last_gc_time_seconds 1.7231272763702192e+09
# HELP go_memstats_lookups_total Total number of pointer lookups.
# TYPE go_memstats_lookups_total counter
go_memstats_lookups_total 0
# HELP go_memstats_mallocs_total Total number of mallocs.
# TYPE go_memstats_mallocs_total counter
go_memstats_mallocs_total 48681
# HELP go_memstats_mcache_inuse_bytes Number of bytes in use by mcache structures.
# TYPE go_memstats_mcache_inuse_bytes gauge
go_memstats_mcache_inuse_bytes 19200
# HELP go_memstats_mcache_sys_bytes Number of bytes used for mcache structures obtained from system.
# TYPE go_memstats_mcache_sys_bytes gauge
go_memstats_mcache_sys_bytes 31200
# HELP go_memstats_mspan_inuse_bytes Number of bytes in use by mspan structures.
# TYPE go_memstats_mspan_inuse_bytes gauge
go_memstats_mspan_inuse_bytes 300800
# HELP go_memstats_mspan_sys_bytes Number of bytes used for mspan structures obtained from system.
# TYPE go_memstats_mspan_sys_bytes gauge
go_memstats_mspan_sys_bytes 310080
# HELP go_memstats_next_gc_bytes Number of heap bytes when next garbage collection will take place.
# TYPE go_memstats_next_gc_bytes gauge
go_memstats_next_gc_bytes 1.80688e+07
# HELP go_memstats_other_sys_bytes Number of bytes used for other system allocations.
# TYPE go_memstats_other_sys_bytes gauge
go_memstats_other_sys_bytes 2.101741e+06
# HELP go_memstats_stack_inuse_bytes Number of bytes in use by the stack allocator.
# TYPE go_memstats_stack_inuse_bytes gauge
go_memstats_stack_inuse_bytes 1.31072e+06
# HELP go_memstats_stack_sys_bytes Number of bytes obtained from system for stack allocator.
# TYPE go_memstats_stack_sys_bytes gauge
go_memstats_stack_sys_bytes 1.31072e+06
# HELP go_memstats_sys_bytes Number of bytes obtained from system.
# TYPE go_memstats_sys_bytes gauge
go_memstats_sys_bytes 2.2502416e+07
# HELP go_threads Number of OS threads created.
# TYPE go_threads gauge
go_threads 15
Process Collector
Show more
# HELP process_cpu_seconds_total Total user and system CPU time spent in seconds.
# TYPE process_cpu_seconds_total counter
process_cpu_seconds_total 0.16
# HELP process_max_fds Maximum number of open file descriptors.
# TYPE process_max_fds gauge
process_max_fds 1.048576e+06
# HELP process_open_fds Number of open file descriptors.
# TYPE process_open_fds gauge
process_open_fds 13
# HELP process_resident_memory_bytes Resident memory size in bytes.
# TYPE process_resident_memory_bytes gauge
process_resident_memory_bytes 4.6268416e+07
# HELP process_start_time_seconds Start time of the process since unix epoch in seconds.
# TYPE process_start_time_seconds gauge
process_start_time_seconds 1.72312725117e+09
# HELP process_virtual_memory_bytes Virtual memory size in bytes.
# TYPE process_virtual_memory_bytes gauge
process_virtual_memory_bytes 1.308483584e+09
# HELP process_virtual_memory_max_bytes Maximum amount of virtual memory available in bytes.
# TYPE process_virtual_memory_max_bytes gauge
process_virtual_memory_max_bytes 1.8446744073709552e+19