File tree Expand file tree Collapse file tree 9 files changed +18
-36
lines changed Expand file tree Collapse file tree 9 files changed +18
-36
lines changed Original file line number Diff line number Diff line change @@ -23,13 +23,13 @@ data:
2323 - action: keep
2424 source_labels: [__meta_kubernetes_pod_host_ip]
2525 regex: __HOSTIPS__
26- - action: kee(and cluster hierarchy)
2726 - action: replace
2827 source_labels: [__meta_kubernetes_pod_uid]
2928 target_label: sysdig_k8s_pod_uid
3029 - action: replace
3130 source_labels: [__meta_kubernetes_pod_container_name]
32- target_label: sysdig_k8s_pod_container_namep
31+ target_label: sysdig_k8s_pod_container_name
32+ - action: keep
3333 source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape]
3434 regex: true
3535 - action: replace
4545 regex: ([^:]+)(?::\d+)?;(\d+)
4646 replacement: $1:$2
4747 target_label: __address__
48- # Holding on to pod-id and container name so we can associate the metrics
49- # with the container
5048 dragent.yaml : |
5149 new_k8s: true
5250 k8s_cluster_name: your-cluster-name
Original file line number Diff line number Diff line change @@ -23,13 +23,13 @@ data:
2323 - action: keep
2424 source_labels: [__meta_kubernetes_pod_host_ip]
2525 regex: __HOSTIPS__
26- - action: kee(and cluster hierarchy)
2726 - action: replace
2827 source_labels: [__meta_kubernetes_pod_uid]
2928 target_label: sysdig_k8s_pod_uid
3029 - action: replace
3130 source_labels: [__meta_kubernetes_pod_container_name]
32- target_label: sysdig_k8s_pod_container_namep
31+ target_label: sysdig_k8s_pod_container_name
32+ - action: keep
3333 source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape]
3434 regex: true
3535 - action: replace
4545 regex: ([^:]+)(?::\d+)?;(\d+)
4646 replacement: $1:$2
4747 target_label: __address__
48- # Holding on to pod-id and container name so we can associate the metrics
49- # with the container
5048 dragent.yaml : |
5149 new_k8s: true
5250 k8s_cluster_name: your-cluster-name
Original file line number Diff line number Diff line change @@ -23,13 +23,13 @@ data:
2323 - action: keep
2424 source_labels: [__meta_kubernetes_pod_host_ip]
2525 regex: __HOSTIPS__
26- - action: kee(and cluster hierarchy)
2726 - action: replace
2827 source_labels: [__meta_kubernetes_pod_uid]
2928 target_label: sysdig_k8s_pod_uid
3029 - action: replace
3130 source_labels: [__meta_kubernetes_pod_container_name]
32- target_label: sysdig_k8s_pod_container_namep
31+ target_label: sysdig_k8s_pod_container_name
32+ - action: keep
3333 source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape]
3434 regex: true
3535 - action: replace
4545 regex: ([^:]+)(?::\d+)?;(\d+)
4646 replacement: $1:$2
4747 target_label: __address__
48- # Holding on to pod-id and container name so we can associate the metrics
49- # with the container
5048 dragent.yaml : |
5149 new_k8s: true
5250 k8s_cluster_name: your-cluster-name
Original file line number Diff line number Diff line change @@ -23,13 +23,13 @@ data:
2323 - action: keep
2424 source_labels: [__meta_kubernetes_pod_host_ip]
2525 regex: __HOSTIPS__
26- - action: kee(and cluster hierarchy)
2726 - action: replace
2827 source_labels: [__meta_kubernetes_pod_uid]
2928 target_label: sysdig_k8s_pod_uid
3029 - action: replace
3130 source_labels: [__meta_kubernetes_pod_container_name]
32- target_label: sysdig_k8s_pod_container_namep
31+ target_label: sysdig_k8s_pod_container_name
32+ - action: keep
3333 source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape]
3434 regex: true
3535 - action: replace
4545 regex: ([^:]+)(?::\d+)?;(\d+)
4646 replacement: $1:$2
4747 target_label: __address__
48- # Holding on to pod-id and container name so we can associate the metrics
49- # with the container
5048 dragent.yaml : |
5149 new_k8s: true
5250 k8s_cluster_name: your-cluster-name
Original file line number Diff line number Diff line change @@ -23,13 +23,13 @@ data:
2323 - action: keep
2424 source_labels: [__meta_kubernetes_pod_host_ip]
2525 regex: __HOSTIPS__
26- - action: kee(and cluster hierarchy)
2726 - action: replace
2827 source_labels: [__meta_kubernetes_pod_uid]
2928 target_label: sysdig_k8s_pod_uid
3029 - action: replace
3130 source_labels: [__meta_kubernetes_pod_container_name]
32- target_label: sysdig_k8s_pod_container_namep
31+ target_label: sysdig_k8s_pod_container_name
32+ - action: keep
3333 source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape]
3434 regex: true
3535 - action: replace
4545 regex: ([^:]+)(?::\d+)?;(\d+)
4646 replacement: $1:$2
4747 target_label: __address__
48- # Holding on to pod-id and container name so we can associate the metrics
49- # with the container
5048 dragent.yaml : |
5149 new_k8s: true
5250 k8s_cluster_name: your-cluster-name
Original file line number Diff line number Diff line change @@ -23,13 +23,13 @@ data:
2323 - action: keep
2424 source_labels: [__meta_kubernetes_pod_host_ip]
2525 regex: __HOSTIPS__
26- - action: kee(and cluster hierarchy)
2726 - action: replace
2827 source_labels: [__meta_kubernetes_pod_uid]
2928 target_label: sysdig_k8s_pod_uid
3029 - action: replace
3130 source_labels: [__meta_kubernetes_pod_container_name]
32- target_label: sysdig_k8s_pod_container_namep
31+ target_label: sysdig_k8s_pod_container_name
32+ - action: keep
3333 source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape]
3434 regex: true
3535 - action: replace
4545 regex: ([^:]+)(?::\d+)?;(\d+)
4646 replacement: $1:$2
4747 target_label: __address__
48- # Holding on to pod-id and container name so we can associate the metrics
49- # with the container
5048 dragent.yaml : |
5149 new_k8s: true
5250 k8s_cluster_name: your-cluster-name
Original file line number Diff line number Diff line change @@ -23,13 +23,13 @@ data:
2323 - action: keep
2424 source_labels: [__meta_kubernetes_pod_host_ip]
2525 regex: __HOSTIPS__
26- - action: kee(and cluster hierarchy)
2726 - action: replace
2827 source_labels: [__meta_kubernetes_pod_uid]
2928 target_label: sysdig_k8s_pod_uid
3029 - action: replace
3130 source_labels: [__meta_kubernetes_pod_container_name]
32- target_label: sysdig_k8s_pod_container_namep
31+ target_label: sysdig_k8s_pod_container_name
32+ - action: keep
3333 source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape]
3434 regex: true
3535 - action: replace
4545 regex: ([^:]+)(?::\d+)?;(\d+)
4646 replacement: $1:$2
4747 target_label: __address__
48- # Holding on to pod-id and container name so we can associate the metrics
49- # with the container
5048 dragent.yaml : |
5149 new_k8s: true
5250 k8s_cluster_name: your-cluster-name
Original file line number Diff line number Diff line change @@ -23,13 +23,13 @@ data:
2323 - action: keep
2424 source_labels: [__meta_kubernetes_pod_host_ip]
2525 regex: __HOSTIPS__
26- - action: kee(and cluster hierarchy)
2726 - action: replace
2827 source_labels: [__meta_kubernetes_pod_uid]
2928 target_label: sysdig_k8s_pod_uid
3029 - action: replace
3130 source_labels: [__meta_kubernetes_pod_container_name]
32- target_label: sysdig_k8s_pod_container_namep
31+ target_label: sysdig_k8s_pod_container_name
32+ - action: keep
3333 source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape]
3434 regex: true
3535 - action: replace
4545 regex: ([^:]+)(?::\d+)?;(\d+)
4646 replacement: $1:$2
4747 target_label: __address__
48- # Holding on to pod-id and container name so we can associate the metrics
49- # with the container
5048 dragent.yaml : |
5149 new_k8s: true
5250 k8s_cluster_name: your-cluster-name
Original file line number Diff line number Diff line change @@ -21,13 +21,13 @@ data:
2121 - action: keep
2222 source_labels: [__meta_kubernetes_pod_host_ip]
2323 regex: __HOSTIPS__
24- - action: kee(and cluster hierarchy)
2524 - action: replace
2625 source_labels: [__meta_kubernetes_pod_uid]
2726 target_label: sysdig_k8s_pod_uid
2827 - action: replace
2928 source_labels: [__meta_kubernetes_pod_container_name]
30- target_label: sysdig_k8s_pod_container_namep
29+ target_label: sysdig_k8s_pod_container_name
30+ - action: keep
3131 source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape]
3232 regex: true
3333 - action: replace
4343 regex: ([^:]+)(?::\d+)?;(\d+)
4444 replacement: $1:$2
4545 target_label: __address__
46- # Holding on to pod-id and container name so we can associate the metrics
47- # with the container
4846 dragent.yaml : |-
4947 metrics_excess_log: true
5048 k8s_cluster_name: YourClusterName
You can’t perform that action at this time.
0 commit comments