|
| 1 | +##################################################################################### |
| 2 | +# This file is generated by the Splunk Distribution of the OpenTelemetry Collector. # |
| 3 | +# # |
| 4 | +# It reflects the default configuration bundled in the Collector executable for use # |
| 5 | +# in discovery mode (--discovery) and is provided for reference or customization. # |
| 6 | +# Please note that any changes made to this file will need to be reconciled during # |
| 7 | +# upgrades of the Collector. # |
| 8 | +##################################################################################### |
| 9 | +# prometheus/istio: |
| 10 | +# enabled: false |
| 11 | +# rule: |
| 12 | +# k8s_observer: type == "pod" and ("istio.io/rev" in annotations or labels["istio"] == "pilot" or name matches "istio.*") |
| 13 | +# config: |
| 14 | +# default: |
| 15 | +# config: |
| 16 | +# scrape_configs: |
| 17 | +# - job_name: 'istio' |
| 18 | +# metrics_path: '`"prometheus.io/path" in annotations ? annotations["prometheus.io/path"] : "/metrics"`' |
| 19 | +# scrape_interval: 10s |
| 20 | +# static_configs: |
| 21 | +# - targets: ['`endpoint`:`"prometheus.io/port" in annotations ? annotations["prometheus.io/port"] : 15090`'] |
| 22 | +# metric_relabel_configs: |
| 23 | +# - source_labels: [__name__] |
| 24 | +# action: keep |
| 25 | +# regex: "(envoy_cluster_lb_healthy_panic|\ |
| 26 | +# envoy_cluster_manager_warming_clusters|\ |
| 27 | +# envoy_cluster_membership_healthy|\ |
| 28 | +# envoy_cluster_membership_total|\ |
| 29 | +# envoy_cluster_ssl_handshake|\ |
| 30 | +# envoy_cluster_ssl_session_reused|\ |
| 31 | +# envoy_cluster_ssl_versions_TLSv1_2|\ |
| 32 | +# envoy_cluster_ssl_versions_TLSv1_3|\ |
| 33 | +# envoy_cluster_upstream_cx_active|\ |
| 34 | +# envoy_cluster_upstream_cx_close_notify|\ |
| 35 | +# envoy_cluster_upstream_cx_connect_attempts_exceeded|\ |
| 36 | +# envoy_cluster_upstream_cx_connect_ms_sum|\ |
| 37 | +# envoy_cluster_upstream_cx_connect_timeout|\ |
| 38 | +# envoy_cluster_upstream_cx_destroy_local_with_active_rq|\ |
| 39 | +# envoy_cluster_upstream_cx_http1_total|\ |
| 40 | +# envoy_cluster_upstream_cx_http2_total|\ |
| 41 | +# envoy_cluster_upstream_cx_idle_timeout|\ |
| 42 | +# envoy_cluster_upstream_cx_max_requests|\ |
| 43 | +# envoy_cluster_upstream_cx_none_healthy|\ |
| 44 | +# envoy_cluster_upstream_cx_pool_overflow|\ |
| 45 | +# envoy_cluster_upstream_cx_protocol_error|\ |
| 46 | +# envoy_cluster_upstream_cx_total|\ |
| 47 | +# envoy_cluster_upstream_rq_4xx|\ |
| 48 | +# envoy_cluster_upstream_rq_5xx|\ |
| 49 | +# envoy_cluster_upstream_rq_active|\ |
| 50 | +# envoy_cluster_upstream_rq_cancelled|\ |
| 51 | +# envoy_cluster_upstream_rq_completed|\ |
| 52 | +# envoy_cluster_upstream_rq_pending_active|\ |
| 53 | +# envoy_cluster_upstream_rq_retry|\ |
| 54 | +# envoy_cluster_upstream_rq_retry_limit_exceeded|\ |
| 55 | +# envoy_cluster_upstream_rq_timeout|\ |
| 56 | +# envoy_cluster_upstream_rq_tx_reset|\ |
| 57 | +# envoy_cluster_upstream_rq_time|\ |
| 58 | +# envoy_cluster_upstream_rq_xx|\ |
| 59 | +# envoy_listener_downstream_cx_total|\ |
| 60 | +# envoy_listener_ssl_versions_TLSv1_2|\ |
| 61 | +# envoy_listener_ssl_versions_TLSv1_3|\ |
| 62 | +# envoy_server_live|\ |
| 63 | +# envoy_server_memory_allocated|\ |
| 64 | +# envoy_server_memory_heap_size|\ |
| 65 | +# envoy_server_total_connections|\ |
| 66 | +# envoy_server_uptime|\ |
| 67 | +# istio_mesh_connections_from_logs|\ |
| 68 | +# istio_monitor_pods_without_sidecars|\ |
| 69 | +# istio_request_bytes|\ |
| 70 | +# istio_request_duration_milliseconds|\ |
| 71 | +# istio_request_messages_total|\ |
| 72 | +# istio_requests_total|\ |
| 73 | +# istio_response_messages_total|\ |
| 74 | +# istio_tcp_connections_closed_total|\ |
| 75 | +# istio_tcp_connections_opened_total|\ |
| 76 | +# istio_tcp_received_bytes_total|\ |
| 77 | +# istio_tcp_response_bytes_total|\ |
| 78 | +# pilot_conflict_inbound_listener|\ |
| 79 | +# pilot_eds_no_instances|\ |
| 80 | +# pilot_k8s_cfg_events|\ |
| 81 | +# pilot_k8s_endpoints_pending_pod|\ |
| 82 | +# pilot_k8s_endpoints_with_no_pods|\ |
| 83 | +# pilot_no_ip|\ |
| 84 | +# pilot_proxy_convergence_time|\ |
| 85 | +# pilot_proxy_queue_time|\ |
| 86 | +# pilot_services|\ |
| 87 | +# pilot_xds_cds_reject|\ |
| 88 | +# pilot_xds_eds_reject|\ |
| 89 | +# pilot_xds_expired_nonce|\ |
| 90 | +# pilot_xds_lds_reject|\ |
| 91 | +# pilot_xds_push_context_errors|\ |
| 92 | +# pilot_xds_push_time|\ |
| 93 | +# pilot_xds_rds_reject|\ |
| 94 | +# pilot_xds_send_time|\ |
| 95 | +# pilot_xds_write_timeout)(?:_sum|_count|_bucket)?" |
| 96 | +# status: |
| 97 | +# metrics: |
| 98 | +# - status: successful |
| 99 | +# strict: envoy_server_uptime |
| 100 | +# message: istio prometheus receiver is working for istio-proxy! |
| 101 | +# - status: successful |
| 102 | +# strict: pilot_services |
| 103 | +# message: istio prometheus receiver is working for istiod! |
| 104 | +# statements: |
| 105 | +# - status: failed |
| 106 | +# regexp: "connection refused" |
| 107 | +# message: The container is not serving http connections. |
| 108 | +# - status: failed |
| 109 | +# regexp: "dial tcp: lookup" |
| 110 | +# message: Unable to resolve istio prometheus tcp endpoint |
0 commit comments