From cc3b8dbe234d14153d402c333aaef21d6505f10b Mon Sep 17 00:00:00 2001 From: Sam Lin <456807+maxisam@users.noreply.github.com> Date: Thu, 30 Jan 2025 13:55:18 -0600 Subject: [PATCH 1/2] fix: api-reference doc path Signed-off-by: Sam Lin <456807+maxisam@users.noreply.github.com> --- charts/kube-prometheus-stack/values.yaml | 138 +++++++++++------------ 1 file changed, 69 insertions(+), 69 deletions(-) diff --git a/charts/kube-prometheus-stack/values.yaml b/charts/kube-prometheus-stack/values.yaml index e2335c9fc53f..4b54309a6cab 100644 --- a/charts/kube-prometheus-stack/values.yaml +++ b/charts/kube-prometheus-stack/values.yaml @@ -770,17 +770,17 @@ alertmanager: scheme: "" ## enableHttp2: Whether to enable HTTP2. - ## See https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#endpoint + ## See https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#endpoint enableHttp2: true ## tlsConfig: TLS configuration to use when scraping the endpoint. For example if using istio mTLS. - ## Of type: https://github.com/coreos/prometheus-operator/blob/main/Documentation/api.md#tlsconfig + ## Of type: https://github.com/coreos/prometheus-operator/blob/main/Documentation/api-reference/api.md#tlsconfig tlsConfig: {} bearerTokenFile: ## MetricRelabelConfigs to apply to samples after scraping, but before ingestion. - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#relabelconfig ## metricRelabelings: [] # - action: keep @@ -788,7 +788,7 @@ alertmanager: # sourceLabels: [__name__] ## RelabelConfigs to apply to samples before scraping - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#relabelconfig ## relabelings: [] # - sourceLabels: [__meta_kubernetes_pod_node_name] @@ -805,7 +805,7 @@ alertmanager: # path: /metrics ## Settings affecting alertmanagerSpec - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#alertmanagerspec + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#alertmanagerspec ## alertmanagerSpec: ## Statefulset's persistent volume claim retention policy @@ -856,7 +856,7 @@ alertmanager: # configSecret: ## WebTLSConfig defines the TLS parameters for HTTPS - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#alertmanagerwebspec + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#alertmanagerwebspec web: {} ## AlertmanagerConfigs to be selected to merge and configure Alertmanager with. @@ -953,7 +953,7 @@ alertmanager: scheme: "" ## tlsConfig: TLS configuration to use when connect to the endpoint. For example if using istio mTLS. - ## Of type: https://github.com/coreos/prometheus-operator/blob/main/Documentation/api.md#tlsconfig + ## Of type: https://github.com/coreos/prometheus-operator/blob/main/Documentation/api-reference/api.md#tlsconfig tlsConfig: {} ## If set to true all actions on the underlying managed objects are not going to be performed, except for delete actions. @@ -1339,7 +1339,7 @@ grafana: scrapeTimeout: 30s ## RelabelConfigs to apply to samples before scraping - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#relabelconfig ## relabelings: [] # - sourceLabels: [__meta_kubernetes_pod_node_name] @@ -1397,7 +1397,7 @@ kubeApiServer: provider: kubernetes ## MetricRelabelConfigs to apply to samples after scraping, but before ingestion. - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#relabelconfig ## metricRelabelings: # Drop excessively noisy apiserver buckets. @@ -1411,7 +1411,7 @@ kubeApiServer: # sourceLabels: [__name__] ## RelabelConfigs to apply to samples before scraping - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#relabelconfig ## relabelings: [] # - sourceLabels: @@ -1429,7 +1429,7 @@ kubeApiServer: # foo: bar ## defines the labels which are transferred from the associated Kubernetes Service object onto the ingested metrics. - ## https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#servicemonitor + ## https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#servicemonitor targetLabels: [] ## Component scraping the kubelet and kubelet-hosted cAdvisor @@ -1522,7 +1522,7 @@ kubelet: ## if kubelet.serviceMonitor.interval is not empty. cAdvisorInterval: 10s ## MetricRelabelConfigs to apply to samples after scraping, but before ingestion. - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#relabelconfig ## cAdvisorMetricRelabelings: # Drop less useful container CPU metrics. @@ -1572,7 +1572,7 @@ kubelet: # action: drop ## MetricRelabelConfigs to apply to samples after scraping, but before ingestion. - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#relabelconfig ## probesMetricRelabelings: [] # - sourceLabels: [__name__, image] @@ -1587,7 +1587,7 @@ kubelet: # action: drop ## RelabelConfigs to apply to samples before scraping - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#relabelconfig ## ## metrics_path is required to match upstream rules and charts cAdvisorRelabelings: @@ -1602,7 +1602,7 @@ kubelet: # action: replace ## RelabelConfigs to apply to samples before scraping - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#relabelconfig ## probesRelabelings: - action: replace @@ -1616,7 +1616,7 @@ kubelet: # action: replace ## RelabelConfigs to apply to samples before scraping - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#relabelconfig ## resourceRelabelings: - action: replace @@ -1630,7 +1630,7 @@ kubelet: # action: replace ## MetricRelabelConfigs to apply to samples after scraping, but before ingestion. - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#relabelconfig ## metricRelabelings: # Reduce bucket cardinality of kubelet storage operations. @@ -1649,7 +1649,7 @@ kubelet: # action: drop ## RelabelConfigs to apply to samples before scraping - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#relabelconfig ## ## metrics_path is required to match upstream rules and charts relabelings: @@ -1669,7 +1669,7 @@ kubelet: # foo: bar ## defines the labels which are transferred from the associated Kubernetes Service object onto the ingested metrics. - ## https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#servicemonitor + ## https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#servicemonitor targetLabels: [] ## Component scraping the kube controller manager @@ -1752,7 +1752,7 @@ kubeControllerManager: serverName: null ## MetricRelabelConfigs to apply to samples after scraping, but before ingestion. - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#relabelconfig ## metricRelabelings: [] # - action: keep @@ -1760,7 +1760,7 @@ kubeControllerManager: # sourceLabels: [__name__] ## RelabelConfigs to apply to samples before scraping - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#relabelconfig ## relabelings: [] # - sourceLabels: [__meta_kubernetes_pod_node_name] @@ -1776,7 +1776,7 @@ kubeControllerManager: # foo: bar ## defines the labels which are transferred from the associated Kubernetes Service object onto the ingested metrics. - ## https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#servicemonitor + ## https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#servicemonitor targetLabels: [] ## Component scraping coreDns. Use either this or kubeDns @@ -1834,7 +1834,7 @@ coreDns: # k8s-app: kube-dns ## MetricRelabelConfigs to apply to samples after scraping, but before ingestion. - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#relabelconfig ## metricRelabelings: [] # - action: keep @@ -1842,7 +1842,7 @@ coreDns: # sourceLabels: [__name__] ## RelabelConfigs to apply to samples before scraping - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#relabelconfig ## relabelings: [] # - sourceLabels: [__meta_kubernetes_pod_node_name] @@ -1858,7 +1858,7 @@ coreDns: # foo: bar ## defines the labels which are transferred from the associated Kubernetes Service object onto the ingested metrics. - ## https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#servicemonitor + ## https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#servicemonitor targetLabels: [] ## Component scraping kubeDns. Use either this or coreDns @@ -1913,7 +1913,7 @@ kubeDns: # k8s-app: kube-dns ## MetricRelabelConfigs to apply to samples after scraping, but before ingestion. - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#relabelconfig ## metricRelabelings: [] # - action: keep @@ -1921,7 +1921,7 @@ kubeDns: # sourceLabels: [__name__] ## RelabelConfigs to apply to samples before scraping - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#relabelconfig ## relabelings: [] # - sourceLabels: [__meta_kubernetes_pod_node_name] @@ -1932,7 +1932,7 @@ kubeDns: # action: replace ## MetricRelabelConfigs to apply to samples after scraping, but before ingestion. - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#relabelconfig ## dnsmasqMetricRelabelings: [] # - action: keep @@ -1940,7 +1940,7 @@ kubeDns: # sourceLabels: [__name__] ## RelabelConfigs to apply to samples before scraping - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#relabelconfig ## dnsmasqRelabelings: [] # - sourceLabels: [__meta_kubernetes_pod_node_name] @@ -1956,7 +1956,7 @@ kubeDns: # foo: bar ## defines the labels which are transferred from the associated Kubernetes Service object onto the ingested metrics. - ## https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#servicemonitor + ## https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#servicemonitor targetLabels: [] ## Component scraping etcd @@ -2041,7 +2041,7 @@ kubeEtcd: # component: etcd ## MetricRelabelConfigs to apply to samples after scraping, but before ingestion. - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#relabelconfig ## metricRelabelings: [] # - action: keep @@ -2049,7 +2049,7 @@ kubeEtcd: # sourceLabels: [__name__] ## RelabelConfigs to apply to samples before scraping - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#relabelconfig ## relabelings: [] # - sourceLabels: [__meta_kubernetes_pod_node_name] @@ -2065,7 +2065,7 @@ kubeEtcd: # foo: bar ## defines the labels which are transferred from the associated Kubernetes Service object onto the ingested metrics. - ## https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#servicemonitor + ## https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#servicemonitor targetLabels: [] ## Component scraping kube scheduler @@ -2147,7 +2147,7 @@ kubeScheduler: serverName: null ## MetricRelabelConfigs to apply to samples after scraping, but before ingestion. - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#relabelconfig ## metricRelabelings: [] # - action: keep @@ -2155,7 +2155,7 @@ kubeScheduler: # sourceLabels: [__name__] ## RelabelConfigs to apply to samples before scraping - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#relabelconfig ## relabelings: [] # - sourceLabels: [__meta_kubernetes_pod_node_name] @@ -2171,7 +2171,7 @@ kubeScheduler: # foo: bar ## defines the labels which are transferred from the associated Kubernetes Service object onto the ingested metrics. - ## https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#servicemonitor + ## https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#servicemonitor targetLabels: [] ## Component scraping kube proxy @@ -2242,7 +2242,7 @@ kubeProxy: https: false ## MetricRelabelConfigs to apply to samples after scraping, but before ingestion. - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#relabelconfig ## metricRelabelings: [] # - action: keep @@ -2250,7 +2250,7 @@ kubeProxy: # sourceLabels: [__name__] ## RelabelConfigs to apply to samples before scraping - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#relabelconfig ## relabelings: [] # - action: keep @@ -2263,7 +2263,7 @@ kubeProxy: # foo: bar ## defines the labels which are transferred from the associated Kubernetes Service object onto the ingested metrics. - ## https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#servicemonitor + ## https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#servicemonitor targetLabels: [] ## Component scraping kube state metrics @@ -2319,7 +2319,7 @@ kube-state-metrics: honorLabels: true ## MetricRelabelConfigs to apply to samples after scraping, but before ingestion. - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#relabelconfig ## metricRelabelings: [] # - action: keep @@ -2327,7 +2327,7 @@ kube-state-metrics: # sourceLabels: [__name__] ## RelabelConfigs to apply to samples before scraping - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#relabelconfig ## relabelings: [] # - sourceLabels: [__meta_kubernetes_pod_node_name] @@ -2416,7 +2416,7 @@ prometheus-node-exporter: proxyUrl: "" ## MetricRelabelConfigs to apply to samples after scraping, but before ingestion. - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#relabelconfig ## metricRelabelings: [] # - sourceLabels: [__name__] @@ -2426,7 +2426,7 @@ prometheus-node-exporter: # action: drop ## RelabelConfigs to apply to samples before scraping - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#relabelconfig ## relabelings: [] # - sourceLabels: [__meta_kubernetes_pod_node_name] @@ -3302,7 +3302,7 @@ prometheus: scheme: "" ## tlsConfig: TLS configuration to use when scraping the endpoint. For example if using istio mTLS. - ## Of type: https://github.com/coreos/prometheus-operator/blob/main/Documentation/api.md#tlsconfig + ## Of type: https://github.com/coreos/prometheus-operator/blob/main/Documentation/api-reference/api.md#tlsconfig tlsConfig: {} bearerTokenFile: @@ -3674,7 +3674,7 @@ prometheus: scheme: "" ## tlsConfig: TLS configuration to use when scraping the endpoint. For example if using istio mTLS. - ## Of type: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#tlsconfig + ## Of type: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#tlsconfig tlsConfig: {} bearerTokenFile: @@ -3703,7 +3703,7 @@ prometheus: # path: /metrics ## Settings affecting prometheusSpec - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#prometheusspec + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#prometheusspec ## prometheusSpec: ## Statefulset's persistent volume claim retention policy @@ -3726,12 +3726,12 @@ prometheus: disableCompaction: false ## APIServerConfig - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#apiserverconfig + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#apiserverconfig ## apiserverConfig: {} ## Allows setting additional arguments for the Prometheus container - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#monitoring.coreos.com/v1.Prometheus + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#monitoring.coreos.com/v1.Prometheus additionalArgs: [] ## Interval between consecutive scrapes. @@ -3773,7 +3773,7 @@ prometheus: version: "" ## WebTLSConfig defines the TLS parameters for HTTPS - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#webtlsconfig + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#webtlsconfig web: {} ## Exemplars related settings that are runtime reloadable. @@ -3818,7 +3818,7 @@ prometheus: # app: prometheus ## Alertmanagers to which alerts will be sent - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#alertmanagerendpoints + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#alertmanagerendpoints ## ## Default configuration will connect to the alertmanager deployed as part of this release ## @@ -3878,7 +3878,7 @@ prometheus: configMaps: [] ## QuerySpec defines the query command line flags when starting Prometheus. - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#queryspec + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#queryspec ## query: {} @@ -4089,14 +4089,14 @@ prometheus: # - e2e-az2 ## The remote_read spec configuration for Prometheus. - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#remotereadspec + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#remotereadspec remoteRead: [] # - url: http://remote1/read ## additionalRemoteRead is appended to remoteRead additionalRemoteRead: [] ## The remote_write spec configuration for Prometheus. - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#remotewritespec + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#remotewritespec remoteWrite: [] # - url: http://remote1/push ## additionalRemoteWrite is appended to remoteWrite @@ -4252,7 +4252,7 @@ prometheus: ## SecurityContext holds pod-level security attributes and common container settings. ## This defaults to non root user with uid 1000 and gid 2000. - ## https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md + ## https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md ## securityContext: runAsGroup: 2000 @@ -4269,7 +4269,7 @@ prometheus: ## Thanos configuration allows configuring various aspects of a Prometheus server in a Thanos environment. ## This section is experimental, it may change significantly without deprecation notice in any release. ## This is experimental and may change significantly without backward compatibility in any release. - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#thanosspec + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#thanosspec ## thanos: {} # secretProviderClass: @@ -4354,7 +4354,7 @@ prometheus: ## ExcludedFromEnforcement - list of object references to PodMonitor, ServiceMonitor, Probe and PrometheusRule objects ## to be excluded from enforcing a namespace label of origin. ## Works only if enforcedNamespaceLabel set to true. - ## See https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#objectreference + ## See https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#objectreference excludedFromEnforcement: [] ## QueryLogFile specifies the file to which PromQL queries are logged. Note that this location must be writable, @@ -4422,7 +4422,7 @@ prometheus: # - b1.app.local ## TracingConfig configures tracing in Prometheus. - ## See https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#prometheustracingconfig + ## See https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#prometheustracingconfig tracingConfig: {} ## Defines the service discovery role used to discover targets from ServiceMonitor objects and Alertmanager endpoints. @@ -4552,7 +4552,7 @@ prometheus: # serverName: "" ## MetricRelabelConfigs to apply to samples after scraping, but before ingestion. - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#relabelconfig ## # metricRelabelings: [] # - action: keep @@ -4560,7 +4560,7 @@ prometheus: # sourceLabels: [__name__] ## RelabelConfigs to apply to samples before scraping - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#relabelconfig ## # relabelings: [] # - sourceLabels: [__meta_kubernetes_pod_node_name] @@ -4571,7 +4571,7 @@ prometheus: # action: replace ## Fallback scrape protocol used by Prometheus for scraping metrics - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#monitoring.coreos.com/v1.ScrapeProtocol + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#monitoring.coreos.com/v1.ScrapeProtocol ## # fallbackScrapeProtocol: "" @@ -4626,12 +4626,12 @@ prometheus: # matchNames: [] ## Endpoints of the selected pods to be monitored - ## https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#podmetricsendpoint + ## https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#podmetricsendpoint ## # podMetricsEndpoints: [] ## Fallback scrape protocol used by Prometheus for scraping metrics - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#monitoring.coreos.com/v1.ScrapeProtocol + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#monitoring.coreos.com/v1.ScrapeProtocol ## # fallbackScrapeProtocol: "" @@ -4816,13 +4816,13 @@ thanosRuler: scheme: "" ## tlsConfig: TLS configuration to use when scraping the endpoint. For example if using istio mTLS. - ## Of type: https://github.com/coreos/prometheus-operator/blob/main/Documentation/api.md#tlsconfig + ## Of type: https://github.com/coreos/prometheus-operator/blob/main/Documentation/api-reference/api.md#tlsconfig tlsConfig: {} bearerTokenFile: ## MetricRelabelConfigs to apply to samples after scraping, but before ingestion. - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#relabelconfig ## metricRelabelings: [] # - action: keep @@ -4830,7 +4830,7 @@ thanosRuler: # sourceLabels: [__name__] ## RelabelConfigs to apply to samples before scraping - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#relabelconfig + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#relabelconfig ## relabelings: [] # - sourceLabels: [__meta_kubernetes_pod_node_name] @@ -4847,7 +4847,7 @@ thanosRuler: # path: /metrics ## Settings affecting thanosRulerpec - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#thanosrulerspec + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#thanosrulerspec ## thanosRulerSpec: ## Standard object's metadata. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#metadata @@ -4865,7 +4865,7 @@ thanosRuler: ## Namespaces to be selected for PrometheusRules discovery. ## If nil, select own namespace. Namespaces to be selected for ServiceMonitor discovery. - ## See https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#namespaceselector for usage + ## See https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#namespaceselector for usage ## ruleNamespaceSelector: {} @@ -5020,7 +5020,7 @@ thanosRuler: paused: false ## Allows setting additional arguments for the ThanosRuler container - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#thanosruler + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#thanosruler ## additionalArgs: [] # - name: remote-write.config @@ -5128,7 +5128,7 @@ thanosRuler: portName: "web" ## WebTLSConfig defines the TLS parameters for HTTPS - ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#thanosrulerwebspec + ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#thanosrulerwebspec web: {} ## Additional configuration which is not covered by the properties above. (passed through tpl) From c5e4ecfbe598dad7a082a5708f63af9858ac1cec Mon Sep 17 00:00:00 2001 From: Sam Lin <456807+maxisam@users.noreply.github.com> Date: Thu, 30 Jan 2025 13:57:54 -0600 Subject: [PATCH 2/2] [kube-prometheus-stack] fix: api url in doc Signed-off-by: Sam Lin <456807+maxisam@users.noreply.github.com> --- charts/kube-prometheus-stack/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/kube-prometheus-stack/Chart.yaml b/charts/kube-prometheus-stack/Chart.yaml index 2f9055107bbd..ad1df2fe0a67 100644 --- a/charts/kube-prometheus-stack/Chart.yaml +++ b/charts/kube-prometheus-stack/Chart.yaml @@ -31,7 +31,7 @@ name: kube-prometheus-stack sources: - https://github.com/prometheus-community/helm-charts - https://github.com/prometheus-operator/kube-prometheus -version: 68.4.0 +version: 68.4.2 appVersion: v0.79.2 kubeVersion: ">=1.19.0-0" home: https://github.com/prometheus-operator/kube-prometheus