Helm Values
This update introduces the following configurations:global.otel configuration involves services responsible for generating telemetry data, specifically including dify-api and dify-worker.
enterpriseCollector is a new service designed to interact with your custom OpenTelemetry (OTEL) system.
In most cases, keeping the default configuration values is sufficient.
ServiceMonitor Integration
Although the architecture ofenterpriseCollector is designed to transmit telemetry data to user systems, pulling data remains a common method for collecting metrics. Therefore, it also exposes a metrics endpoint on port 8889, which can be seamlessly integrated with Prometheus ServiceMonitor.
Below is an example.