From 29c58a01aab3992771d41b08d5fececc9f0f0c3a Mon Sep 17 00:00:00 2001 From: meowjesty Date: Wed, 22 Jan 2025 14:56:27 -0300 Subject: [PATCH] Remove example comments from readme. --- mirrord/agent/README.md | 39 --------------------------------------- 1 file changed, 39 deletions(-) diff --git a/mirrord/agent/README.md b/mirrord/agent/README.md index 5cd0f1542e7..d7456ead64c 100644 --- a/mirrord/agent/README.md +++ b/mirrord/agent/README.md @@ -105,55 +105,16 @@ metadata: namespace: monitoring data: prometheus.yml: | - # A scrape configuration for running Prometheus on a Kubernetes cluster. - # This uses separate scrape configs for cluster components (i.e. API server, node) - # and services to allow each to use different authentication configs. - # - # Kubernetes labels will be added as Prometheus labels on metrics via the - # `labelmap` relabeling action. - # - # If you are using Kubernetes 1.7.2 or earlier, please take note of the comments - # for the kubernetes-cadvisor job; you will need to edit or remove this job. - - # Keep at most 100 sets of details of targets dropped by relabeling. - # This information is used to display in the UI for troubleshooting. global: keep_dropped_targets: 100 - # Scrape config for API servers. - # - # Kubernetes exposes API servers as endpoints to the default/kubernetes - # service so this uses `endpoints` role and uses relabelling to only keep - # the endpoints associated with the default/kubernetes service using the - # default named port `https`. This works for single API server deployments as - # well as HA API server deployments. scrape_configs: - # Example scrape config for pods - # - # The relabeling allows the actual pod scrape to be configured - # for all the declared ports (or port-free target if none is declared) - # or only some ports. - job_name: "kubernetes-pods" kubernetes_sd_configs: - role: pod relabel_configs: - # Example relabel to scrape only pods that have - # "example.io/should_be_scraped = true" annotation. - # - source_labels: [__meta_kubernetes_pod_annotation_example_io_should_be_scraped] - # action: keep - # regex: true - # - # Example relabel to customize metric path based on pod - # "example.io/metric_path = " annotation. - # - source_labels: [__meta_kubernetes_pod_annotation_example_io_metric_path] - # action: replace - # target_label: __metrics_path__ - # regex: (.+) - # - # Example relabel to scrape only single, desired port for the pod - # based on pod "example.io/scrape_port = " annotation. - source_labels: [__address__, __meta_kubernetes_pod_annotation_prometheus_io_port] action: replace regex: ([^:]+)(?::\d+)?;(\d+)