monitors: - dimensions: doc: | This monitor starts a StatsD monitor to listen to StatsD metrics emitted by AWS AppMesh Envoy Proxy. To report AppMesh Envoy metrics, you need to enable Envoy StatsD sink on AppMesh and deploy the agent as a sidecar in the services that need to be monitored. Sample Envoy StatsD configuration: ```yaml stats_sinks: - name: "envoy.statsd" config: address: socket_address: address: "127.0.0.1" port_value: 8125 protocol: "UDP" prefix: statsd.appmesh ``` Please remember to provide the prefix to the agent monitor configuration. See [Envoy API reference](https://www.envoyproxy.io/docs/envoy/latest/api-v2/config/metrics/v2/stats.proto#envoy-api-msg-config-metrics-v2-statsdsink) for more info Sample SignalFx SmartAgent configuration: ```yaml monitors: - type: appmesh listenAddress: 0.0.0.0 listenPort: 8125 metricPrefix: statsd.appmesh ``` metrics: circuit_breakers..cx_open: description: Whether the connection circuit breaker is closed (0) or open (1) default: false type: gauge circuit_breakers..cx_pool_open: description: Whether the connection pool circuit breaker is closed (0) or open (1) default: false type: gauge circuit_breakers..rq_pending_open: description: Whether the pending requests circuit breaker is closed (0) or open (1) default: false type: gauge circuit_breakers..rq_open: description: Whether the requests circuit breaker is closed (0) or open (1) default: false type: gauge circuit_breakers..rq_retry_open: description: Whether the retry circuit breaker is closed (0) or open (1) default: false type: gauge circuit_breakers..remaining_cx: description: Number of remaining connections until the circuit breaker opens default: false type: gauge circuit_breakers..remaining_pending: description: Number of remaining pending requests until the circuit breaker opens default: false type: gauge circuit_breakers..remaining_rq: description: Number of remaining requests until the circuit breaker opens default: false type: gauge circuit_breakers..remaining_retries: description: Number of remaining retries until the circuit breaker opens default: false type: gauge membership_change: description: Total cluster membership changes default: false type: cumulative membership_healthy: description: Current cluster healthy total (inclusive of both health checking and outlier detection) default: true type: gauge membership_degraded: description: Current cluster degraded total default: false type: gauge membership_total: description: Current cluster membership total default: true type: gauge upstream_cx_total: description: Total connections default: false type: cumulative upstream_cx_active: description: Total active connections default: false type: gauge upstream_cx_http1_total: description: Total HTTP/1.1 connections default: false type: cumulative upstream_cx_http2_total: description: Total HTTP/2 connections default: false type: cumulative upstream_cx_connect_fail: description: Total connection failures default: false type: cumulative upstream_cx_connect_timeout: description: Total connection connect timeouts default: false type: cumulative upstream_cx_idle_timeout: description: Total connection idle timeouts default: false type: cumulative upstream_cx_connect_attempts_exceeded: description: Total consecutive connection failures exceeding configured connection attempts default: false type: cumulative upstream_cx_overflow: description: Total times that the cluster’s connection circuit breaker overflowed default: false type: cumulative upstream_cx_connect_ms: description: Connection establishment milliseconds default: false type: gauge upstream_cx_length_ms: description: Connection length milliseconds default: false type: gauge upstream_cx_destroy: description: Total destroyed connections default: false type: cumulative upstream_cx_destroy_local: description: Total connections destroyed locally default: false type: cumulative upstream_cx_destroy_remote: description: Total connections destroyed remotely default: false type: cumulative upstream_cx_destroy_with_active_rq: description: Total connections destroyed with 1+ active request default: false type: cumulative upstream_cx_destroy_local_with_active_rq: description: Total connections destroyed locally with 1+ active request default: false type: cumulative upstream_cx_destroy_remote_with_active_rq: description: Total connections destroyed remotely with 1+ active request default: false type: cumulative upstream_cx_close_notify: description: Total connections closed via HTTP/1.1 connection close header or HTTP/2 GOAWAY default: false type: cumulative upstream_cx_rx_bytes_total: description: Total received connection bytes default: true type: cumulative upstream_cx_rx_bytes_buffered: description: Received connection bytes currently buffered default: false type: gauge upstream_cx_tx_bytes_total: description: Total sent connection bytes default: false type: cumulative upstream_cx_tx_bytes_buffered: description: Send connection bytes currently buffered default: false type: gauge upstream_cx_pool_overflow: description: Total times that the cluster’s connection pool circuit breaker overflowed default: false type: cumulative upstream_cx_protocol_error: description: Total connection protocol errors default: false type: cumulative upstream_cx_max_requests: description: Total connections closed due to maximum requests default: false type: cumulative upstream_cx_none_healthy: description: Total times connection not established due to no healthy hosts default: false type: cumulative upstream_rq_total: description: Total requests default: false type: cumulative upstream_rq_active: description: Total active requests default: false type: gauge upstream_rq_pending_total: description: Total requests pending a connection pool connection default: false type: cumulative upstream_rq_pending_overflow: description: Total requests that overflowed connection pool circuit breaking and were failed default: false type: cumulative upstream_rq_pending_failure_eject: description: Total requests that were failed due to a connection pool connection failure default: false type: cumulative upstream_rq_pending_active: description: Total active requests pending a connection pool connection default: false type: gauge upstream_rq_cancelled: description: Total requests cancelled before obtaining a connection pool connection default: false type: cumulative upstream_rq_maintenance_mode: description: Total requests that resulted in an immediate 503 due to maintenance mode default: false type: cumulative upstream_rq_timeout: description: Total requests that timed out waiting for a response default: false type: cumulative upstream_rq_per_try_timeout: description: Total requests that hit the per try timeout default: false type: cumulative upstream_rq_rx_reset: description: Total requests that were reset remotely default: false type: cumulative upstream_rq_tx_reset: description: Total requests that were reset locally default: false type: cumulative upstream_rq_retry: description: Total request retries default: true type: cumulative upstream_rq_retry_success: description: Total request retry successes default: true type: cumulative upstream_rq_retry_overflow: description: Total requests not retried due to circuit breaking default: false type: cumulative upstream_rq_completed: description: Total upstream requests completed default: true type: cumulative upstream_rq_<_xx>: description: Aggregate HTTP response codes (e.g., 2xx, 3xx, etc.) default: true type: cumulative upstream_rq_<_>: description: Specific HTTP response codes (e.g., 201, 302, etc.) default: true type: cumulative upstream_rq_time: description: Request time milliseconds default: true type: gauge external.upstream_rq_completed: description: Total external origin requests completed default: false type: cumulative external.upstream_rq_<_xx>: description: External origin aggregate HTTP response codes default: false type: cumulative external.upstream_rq_<_>: description: External origin specific HTTP response codes default: false type: cumulative external.upstream_rq_time: description: External origin request time milliseconds default: false type: gauge internal.upstream_rq_completed: description: Total internal origin requests completed default: false type: cumulative internal.upstream_rq_<_xx>: description: Internal origin aggregate HTTP response codes default: false type: cumulative internal.upstream_rq_<_>: description: Internal origin specific HTTP response codes default: false type: cumulative internal.upstream_rq_time: description: Internal origin request time milliseconds default: false type: gauge monitorType: appmesh properties: