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.

MetricDescription
istio_agent_cert_expiry_secondsTime in seconds until the Istio agent's certificate expires.
istio_agent_envoy_connection_terminationsTotal number of terminated connections by the Istio agent's Envoy proxy.
istio_agent_go_gc_duration_secondsDuration (in seconds) of garbage collection (GC) cycles in the Istio agent's Go runtime.
istio_agent_go_gc_duration_seconds_sumCumulative duration of GC cycles in seconds across the Istio agent's Go runtime.
istio_agent_go_gc_duration_seconds_countNumber of GC cycles performed by the Istio agent's Go runtime.
istio_agent_go_gc_gogc_percentPercentage of memory utilization at which Go's garbage collector is triggered.
istio_agent_go_gc_gomemlimit_bytesMemory limit in bytes for the Go garbage collector.
istio_agent_go_goroutinesCurrent number of active goroutines (lightweight threads) in the Istio agent's Go runtime.
istio_agent_go_infoInformation about the Go runtime version used by the Istio agent.
istio_agent_go_memstats_alloc_bytesNumber of allocated bytes in the Go runtime heap.
istio_agent_go_memstats_alloc_bytes_totalTotal number of bytes allocated in the Go runtime heap since the program started.
istio_agent_go_memstats_buck_hash_sys_bytesNumber of bytes used by the Go runtime's hash tables.
istio_agent_go_memstats_frees_totalTotal number of freed objects in the Go runtime.
istio_agent_go_memstats_gc_sys_bytesAmount of memory used by the Go garbage collector.
istio_agent_go_memstats_heap_alloc_bytesNumber of bytes allocated in the Go heap.
istio_agent_go_memstats_heap_idle_bytesNumber of idle bytes in the Go heap.
istio_agent_go_memstats_heap_inuse_bytesNumber of bytes currently in use in the Go heap.
istio_agent_go_memstats_heap_objectsNumber of objects allocated in the Go heap.
istio_agent_go_memstats_heap_released_bytesNumber of bytes released from the Go heap.
istio_agent_go_memstats_heap_sys_bytesTotal size of the Go heap.
istio_agent_go_memstats_last_gc_time_secondsTime of the last GC cycle in the Go runtime.
istio_agent_go_memstats_mallocs_totalTotal number of allocations in the Go runtime.
istio_agent_go_memstats_mcache_inuse_bytesNumber of bytes in use by the Go runtime's memory cache.
istio_agent_go_memstats_mcache_sys_bytesTotal number of bytes used by the Go runtime's memory cache.
istio_agent_go_memstats_mspan_inuse_bytesNumber of bytes in use by the Go runtime's memory spans.
istio_agent_go_memstats_mspan_sys_bytesTotal number of bytes used by the Go runtime's memory spans.
istio_agent_go_memstats_next_gc_bytesNumber of bytes required before the next GC cycle in the Go runtime.
istio_agent_go_memstats_other_sys_bytesOther system memory usage by the Go runtime.
istio_agent_go_memstats_stack_inuse_bytesNumber of bytes used by the Go runtime's stack memory.
istio_agent_go_memstats_stack_sys_bytesTotal number of bytes used by the Go runtime's stack memory.
istio_agent_go_memstats_sys_bytesTotal system memory used by the Go runtime.
istio_agent_go_sched_gomaxprocs_threadsMaximum number of threads that the Go scheduler will use.
istio_agent_go_threadsNumber of threads currently in use by the Go runtime.
istio_agent_istiod_connection_terminationsTotal number of connection terminations to Istiod by the Istio agent.
istio_agent_num_outgoing_requestsNumber of outgoing requests made by the Istio agent.
istio_agent_outgoing_latencyLatency of outgoing requests made by the Istio agent.
istio_agent_pilot_xds_send_time_bucketHistogram of the send time of XDS messages from the Istio agent to Pilot, bucketed.
istio_agent_pilot_xds_send_time_sumSum of the send times of XDS messages from the Istio agent to Pilot.
istio_agent_pilot_xds_send_time_countCount of the XDS messages sent from the Istio agent to Pilot.
istio_agent_process_cpu_seconds_totalTotal CPU time used by the Istio agent process in seconds.
istio_agent_process_max_fdsMaximum number of file descriptors the Istio agent process can open.
istio_agent_process_network_receive_bytes_totalTotal number of bytes received over the network by the Istio agent process.
istio_agent_process_network_transmit_bytes_totalTotal number of bytes transmitted over the network by the Istio agent process.
istio_agent_process_open_fdsCurrent number of open file descriptors by the Istio agent process.
istio_agent_process_resident_memory_bytesAmount of memory currently used by the Istio agent process (in bytes).
istio_agent_process_start_time_secondsTimestamp of when the Istio agent process started (in seconds).
istio_agent_process_virtual_memory_bytesTotal virtual memory used by the Istio agent process (in bytes).
istio_agent_process_virtual_memory_max_bytesMaximum virtual memory limit for the Istio agent process (in bytes).
istio_agent_scrape_failures_totalTotal number of scrape failures by the Istio agent.
istio_agent_scrapes_totalTotal number of successful scrapes by the Istio agent.
istio_agent_startup_duration_secondsDuration (in seconds) for the Istio agent's startup process.
istio_agent_xds_proxy_requestsTotal number of XDS proxy requests made by the Istio agent.
istio_agent_xds_proxy_responsesTotal number of XDS proxy responses received by the Istio agent.