feat(argo-workflows): add configurable scrape interval for metrics and telemetry (#2942)
feat: add configurable scrape interval for metrics and telemetry Signed-off-by: KrisF-Midnight <krisztian.feher@iohk.io>
This commit is contained in:
parent
e94dc2ea10
commit
388c5aea66
4 changed files with 10 additions and 4 deletions
|
@ -3,7 +3,7 @@ appVersion: v3.5.11
|
||||||
name: argo-workflows
|
name: argo-workflows
|
||||||
description: A Helm chart for Argo Workflows
|
description: A Helm chart for Argo Workflows
|
||||||
type: application
|
type: application
|
||||||
version: 0.42.3
|
version: 0.42.4
|
||||||
icon: https://argo-workflows.readthedocs.io/en/stable/assets/logo.png
|
icon: https://argo-workflows.readthedocs.io/en/stable/assets/logo.png
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
sources:
|
sources:
|
||||||
|
@ -17,4 +17,4 @@ annotations:
|
||||||
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: changed
|
- kind: changed
|
||||||
description: Bump argo-workflows to v3.5.11
|
description: Scrape interval for metrics and telemetry data can now be set
|
||||||
|
|
|
@ -177,6 +177,7 @@ Fields to note:
|
||||||
| controller.metricsConfig.headlessService | bool | `false` | Flag to enable headless service |
|
| controller.metricsConfig.headlessService | bool | `false` | Flag to enable headless service |
|
||||||
| controller.metricsConfig.honorLabels | bool | `false` | When true, honorLabels preserves the metric’s labels when they collide with the target’s labels. |
|
| controller.metricsConfig.honorLabels | bool | `false` | When true, honorLabels preserves the metric’s labels when they collide with the target’s labels. |
|
||||||
| controller.metricsConfig.ignoreErrors | bool | `false` | Flag that instructs prometheus to ignore metric emission errors. |
|
| controller.metricsConfig.ignoreErrors | bool | `false` | Flag that instructs prometheus to ignore metric emission errors. |
|
||||||
|
| controller.metricsConfig.interval | string | `"30s"` | Frequency at which prometheus scrapes metrics |
|
||||||
| controller.metricsConfig.metricRelabelings | list | `[]` | ServiceMonitor metric relabel configs to apply to samples before ingestion |
|
| controller.metricsConfig.metricRelabelings | list | `[]` | ServiceMonitor metric relabel configs to apply to samples before ingestion |
|
||||||
| controller.metricsConfig.metricsTTL | string | `""` | How often custom metrics are cleared from memory |
|
| controller.metricsConfig.metricsTTL | string | `""` | How often custom metrics are cleared from memory |
|
||||||
| controller.metricsConfig.path | string | `"/metrics"` | Path is the path where metrics are emitted. Must start with a "/". |
|
| controller.metricsConfig.path | string | `"/metrics"` | Path is the path where metrics are emitted. Must start with a "/". |
|
||||||
|
@ -224,6 +225,7 @@ Fields to note:
|
||||||
| controller.serviceType | string | `"ClusterIP"` | Service type of the controller Service |
|
| controller.serviceType | string | `"ClusterIP"` | Service type of the controller Service |
|
||||||
| controller.telemetryConfig.enabled | bool | `false` | Enables prometheus telemetry server |
|
| controller.telemetryConfig.enabled | bool | `false` | Enables prometheus telemetry server |
|
||||||
| controller.telemetryConfig.ignoreErrors | bool | `false` | Flag that instructs prometheus to ignore metric emission errors. |
|
| controller.telemetryConfig.ignoreErrors | bool | `false` | Flag that instructs prometheus to ignore metric emission errors. |
|
||||||
|
| controller.telemetryConfig.interval | string | `"30s"` | Frequency at which prometheus scrapes telemetry data |
|
||||||
| controller.telemetryConfig.metricsTTL | string | `""` | How often custom metrics are cleared from memory |
|
| controller.telemetryConfig.metricsTTL | string | `""` | How often custom metrics are cleared from memory |
|
||||||
| controller.telemetryConfig.path | string | `"/telemetry"` | telemetry path |
|
| controller.telemetryConfig.path | string | `"/telemetry"` | telemetry path |
|
||||||
| controller.telemetryConfig.port | int | `8081` | telemetry container port |
|
| controller.telemetryConfig.port | int | `8081` | telemetry container port |
|
||||||
|
|
|
@ -15,7 +15,7 @@ spec:
|
||||||
{{- if .Values.controller.metricsConfig.enabled }}
|
{{- if .Values.controller.metricsConfig.enabled }}
|
||||||
- port: {{ .Values.controller.metricsConfig.servicePortName }}
|
- port: {{ .Values.controller.metricsConfig.servicePortName }}
|
||||||
path: {{ .Values.controller.metricsConfig.path }}
|
path: {{ .Values.controller.metricsConfig.path }}
|
||||||
interval: 30s
|
interval: {{ .Values.controller.metricsConfig.interval }}
|
||||||
{{- with .Values.controller.metricsConfig.relabelings }}
|
{{- with .Values.controller.metricsConfig.relabelings }}
|
||||||
relabelings:
|
relabelings:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
@ -29,7 +29,7 @@ spec:
|
||||||
{{- if .Values.controller.telemetryConfig.enabled }}
|
{{- if .Values.controller.telemetryConfig.enabled }}
|
||||||
- port: telemetry
|
- port: telemetry
|
||||||
path: {{ .Values.controller.telemetryConfig.path }}
|
path: {{ .Values.controller.telemetryConfig.path }}
|
||||||
interval: 30s
|
interval: {{ .Values.controller.telemetryConfig.interval }}
|
||||||
{{- with .Values.controller.metricsConfig.relabelings }}
|
{{- with .Values.controller.metricsConfig.relabelings }}
|
||||||
relabelings:
|
relabelings:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
|
|
@ -127,6 +127,8 @@ controller:
|
||||||
enabled: false
|
enabled: false
|
||||||
# -- Path is the path where metrics are emitted. Must start with a "/".
|
# -- Path is the path where metrics are emitted. Must start with a "/".
|
||||||
path: /metrics
|
path: /metrics
|
||||||
|
# -- Frequency at which prometheus scrapes metrics
|
||||||
|
interval: 30s
|
||||||
# -- Port is the port where metrics are emitted
|
# -- Port is the port where metrics are emitted
|
||||||
port: 9090
|
port: 9090
|
||||||
# -- How often custom metrics are cleared from memory
|
# -- How often custom metrics are cleared from memory
|
||||||
|
@ -234,6 +236,8 @@ controller:
|
||||||
enabled: false
|
enabled: false
|
||||||
# -- telemetry path
|
# -- telemetry path
|
||||||
path: /telemetry
|
path: /telemetry
|
||||||
|
# -- Frequency at which prometheus scrapes telemetry data
|
||||||
|
interval: 30s
|
||||||
# -- telemetry container port
|
# -- telemetry container port
|
||||||
port: 8081
|
port: 8081
|
||||||
# -- How often custom metrics are cleared from memory
|
# -- How often custom metrics are cleared from memory
|
||||||
|
|
Loading…
Reference in a new issue