You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _docs/installation/runner/classic-runtime-monitoring.md
+15-3Lines changed: 15 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,9 +11,21 @@ toc: true
11
11
12
12
Modern versions of the Codefresh Classic Runtime ([`cf-runtime` chart >=8.2.0](https://artifacthub.io/packages/helm/codefresh-runner/cf-runtime/){:target="\_blank"},`engine` >=1.179.1) provide the`engine` component metrics in OpenTelemetry format, with the preferable*push* model.
13
13
14
-
You can still use the*pull* model by switching to the Prometheus Metrics Exporter, which is fully compatible with Prometheus. However, we recommend using the default configuration, as it is better suited for the short-lived nature of Classic Builds and provides more precise and complete metrics.
15
-
16
-
Please refer to the`cf-runtime` Chart default values on[Artifact Hub](https://artifacthub.io/packages/helm/codefresh-runner/cf-runtime?modal=values&path=runtime.engine.env){:target="\_blank"} for configuration options.
14
+
You can still use the*pull* model by switching to the Prometheus Metrics Exporter, which is fully compatible with Prometheus. At the same time, we recommend using the default configuration, as it is better suited for the short-lived nature of Classic Builds and provides more precise and complete metrics.
15
+
16
+
To switch to the Prometheus Metrics Exporter, use the following values in the chart:
17
+
```yaml
18
+
runtime:
19
+
engine:
20
+
env:
21
+
OTEL_METRICS_EXPORTER:'prometheus'
22
+
METRICS_SCRAPE_TIMEOUT_MS:'<4×scrape_interval>'# On exit, wait <timeout>ms for the scrape before exiting
23
+
podMonitor:
24
+
main:
25
+
enabled:true# Enable PodMonitor for engine pods
26
+
```
27
+
28
+
Please refer to the`cf-runtime` Chart default values on [Artifact Hub](https://artifacthub.io/packages/helm/codefresh-runner/cf-runtime?modal=values&path=runtime.engine.env){:target="\_blank"} for more configuration options.