aws-logging-monitoring/monitoring/gke-metrics-agent.yaml [594:623]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            kubernetes_sd_configs:
            - role: pod
              selectors:
              - field: spec.nodeName=$NODE_NAME
                role: pod
            relabel_configs:
            - action: keep
              regex: true
              source_labels:
              - __meta_kubernetes_pod_annotation_monitoring_gke_io_scrape
            - action: replace
              regex: (.+)
              source_labels:
              - __meta_kubernetes_pod_annotation_monitoring_gke_io_path
              target_label: __metrics_path__
            - action: replace
              regex: ([^:]+)(?::\d+)?;(\d+)
              replacement: $$1:$$2
              source_labels:
              - __address__
              - __meta_kubernetes_pod_annotation_monitoring_gke_io_port
              target_label: __address__
            - action: replace
              source_labels:
              - __meta_kubernetes_namespace
              target_label: anthos_namespace
            - action: replace
              source_labels:
              - __meta_kubernetes_pod_name
              target_label: anthos_pod
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



aws-logging-monitoring/monitoring/gke-metrics-agent.yaml [846:875]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            kubernetes_sd_configs:
            - role: pod
              selectors:
              - field: spec.nodeName=$NODE_NAME
                role: pod
            relabel_configs:
            - action: keep
              regex: true
              source_labels:
              - __meta_kubernetes_pod_annotation_monitoring_gke_io_scrape
            - action: replace
              regex: (.+)
              source_labels:
              - __meta_kubernetes_pod_annotation_monitoring_gke_io_path
              target_label: __metrics_path__
            - action: replace
              regex: ([^:]+)(?::\d+)?;(\d+)
              replacement: $$1:$$2
              source_labels:
              - __address__
              - __meta_kubernetes_pod_annotation_monitoring_gke_io_port
              target_label: __address__
            - action: replace
              source_labels:
              - __meta_kubernetes_namespace
              target_label: anthos_namespace
            - action: replace
              source_labels:
              - __meta_kubernetes_pod_name
              target_label: anthos_pod
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



