Introduction
Istio Gateway is an Envoy-based ingress and egress gateway that provides secure traffic management between external users and services inside the Istio service mesh. It manages external traffic coming into the cluster and provides security, load balancing and observability.
Prometheus metrics for Istio Gateway are exposed via: http://<gateway-host>:15020/metrics
(Gateway Metrics)
Kubernetes 2.0 ConfigMap
Users should update or append the existing ConfigMap named opsramp-workload-metric-user-config
by adding application-specific fields. These fields may include authentication credentials, collection frequency, and other relevant configurations.
apiVersion: v1
kind: ConfigMap
metadata:
name: opsramp-workload-metric-user-config
namespace: opsramp-agent
data:
workloads: |
istiogateway:
- name: istiogateway
collectionFrequency: 59s
port: 15020
filters:
- regex: 'go_gc_duration_seconds'
action: include
- regex: 'sidecar_injection_time_seconds_bucket'
action: include
targetPodSelector:
matchLabels:
- key: istio
operator: ==
value:
- ingressgateway
Supported Metrics
Supported metrics for this workload as provided by the Kubernetes 2.0 Agent.
Metric | Description |
---|---|
istio_agent_cert_expiry_seconds | Time in seconds until the Istio agent's certificate expires. |
istio_agent_envoy_connection_terminations | Total number of terminated connections by the Istio agent's Envoy proxy. |
istio_agent_go_gc_duration_seconds | Duration (in seconds) of garbage collection (GC) cycles in the Istio agent's Go runtime. |
istio_agent_go_gc_duration_seconds_sum | Cumulative duration of GC cycles in seconds across the Istio agent's Go runtime. |
istio_agent_go_gc_duration_seconds_count | Number of GC cycles performed by the Istio agent's Go runtime. |
istio_agent_go_gc_gogc_percent | Percentage of memory utilization at which Go's garbage collector is triggered. |
istio_agent_go_gc_gomemlimit_bytes | Memory limit in bytes for the Go garbage collector. |
istio_agent_go_goroutines | Current number of active goroutines (lightweight threads) in the Istio agent's Go runtime. |
istio_agent_go_info | Information about the Go runtime version used by the Istio agent. |
istio_agent_go_memstats_alloc_bytes | Number of allocated bytes in the Go runtime heap. |
istio_agent_go_memstats_alloc_bytes_total | Total number of bytes allocated in the Go runtime heap since the program started. |
istio_agent_go_memstats_buck_hash_sys_bytes | Number of bytes used by the Go runtime's hash tables. |
istio_agent_go_memstats_frees_total | Total number of freed objects in the Go runtime. |
istio_agent_go_memstats_gc_sys_bytes | Amount of memory used by the Go garbage collector. |
istio_agent_go_memstats_heap_alloc_bytes | Number of bytes allocated in the Go heap. |
istio_agent_go_memstats_heap_idle_bytes | Number of idle bytes in the Go heap. |
istio_agent_go_memstats_heap_inuse_bytes | Number of bytes currently in use in the Go heap. |
istio_agent_go_memstats_heap_objects | Number of objects allocated in the Go heap. |
istio_agent_go_memstats_heap_released_bytes | Number of bytes released from the Go heap. |
istio_agent_go_memstats_heap_sys_bytes | Total size of the Go heap. |
istio_agent_go_memstats_last_gc_time_seconds | Time of the last GC cycle in the Go runtime. |
istio_agent_go_memstats_mallocs_total | Total number of allocations in the Go runtime. |
istio_agent_go_memstats_mcache_inuse_bytes | Number of bytes in use by the Go runtime's memory cache. |
istio_agent_go_memstats_mcache_sys_bytes | Total number of bytes used by the Go runtime's memory cache. |
istio_agent_go_memstats_mspan_inuse_bytes | Number of bytes in use by the Go runtime's memory spans. |
istio_agent_go_memstats_mspan_sys_bytes | Total number of bytes used by the Go runtime's memory spans. |
istio_agent_go_memstats_next_gc_bytes | Number of bytes required before the next GC cycle in the Go runtime. |
istio_agent_go_memstats_other_sys_bytes | Other system memory usage by the Go runtime. |
istio_agent_go_memstats_stack_inuse_bytes | Number of bytes used by the Go runtime's stack memory. |
istio_agent_go_memstats_stack_sys_bytes | Total number of bytes used by the Go runtime's stack memory. |
istio_agent_go_memstats_sys_bytes | Total system memory used by the Go runtime. |
istio_agent_go_sched_gomaxprocs_threads | Maximum number of threads that the Go scheduler will use. |
istio_agent_go_threads | Number of threads currently in use by the Go runtime. |
istio_agent_istiod_connection_terminations | Total number of connection terminations to Istiod by the Istio agent. |
istio_agent_num_outgoing_requests | Number of outgoing requests made by the Istio agent. |
istio_agent_outgoing_latency | Latency of outgoing requests made by the Istio agent. |
istio_agent_pilot_xds_send_time_bucket | Histogram of the send time of XDS messages from the Istio agent to Pilot, bucketed. |
istio_agent_pilot_xds_send_time_sum | Sum of the send times of XDS messages from the Istio agent to Pilot. |
istio_agent_pilot_xds_send_time_count | Count of the XDS messages sent from the Istio agent to Pilot. |
istio_agent_process_cpu_seconds_total | Total CPU time used by the Istio agent process in seconds. |
istio_agent_process_max_fds | Maximum number of file descriptors the Istio agent process can open. |
istio_agent_process_network_receive_bytes_total | Total number of bytes received over the network by the Istio agent process. |
istio_agent_process_network_transmit_bytes_total | Total number of bytes transmitted over the network by the Istio agent process. |
istio_agent_process_open_fds | Current number of open file descriptors by the Istio agent process. |
istio_agent_process_resident_memory_bytes | Amount of memory currently used by the Istio agent process (in bytes). |
istio_agent_process_start_time_seconds | Timestamp of when the Istio agent process started (in seconds). |
istio_agent_process_virtual_memory_bytes | Total virtual memory used by the Istio agent process (in bytes). |
istio_agent_process_virtual_memory_max_bytes | Maximum virtual memory limit for the Istio agent process (in bytes). |
istio_agent_scrape_failures_total | Total number of scrape failures by the Istio agent. |
istio_agent_scrapes_total | Total number of successful scrapes by the Istio agent. |
istio_agent_startup_duration_seconds | Duration (in seconds) for the Istio agent's startup process. |
istio_agent_xds_proxy_requests | Total number of XDS proxy requests made by the Istio agent. |
istio_agent_xds_proxy_responses | Total number of XDS proxy responses received by the Istio agent. |