Describe the bug
Currently the service for worker doesn't use correct environment variable APP__TELEMETRY__METRICS__ENABLED which is for Platform itself. Also the default port is not equal to OpenCTI suggests which is 14270 now is 14269.
To fix this we should use WORKER__TELEMETRY__ENABLED instead. Also the WORKER_PROMETHEUS_TELEMETRY_PORT var doesn't have the double underscore like the others.
Steps to reproduce
- Port forward worker metrics port
- Verify it can't connect
Expected behavior
Worker metrics are exposed correctly by using WORKER__TELEMETRY__ENABLED
Actual behavior
Cannot connect to port of worker service because it isn't enabled correctly.
Version / Release
v2.3.33
Operating system
minikube version: v1.38.1, Ubuntu 26.04, helm: version.BuildInfo{Version:"v3.20.0", GitCommit:"b2e4314fa0f229a1de7b4c981273f61d69ee5a59", GitTreeState:"clean", GoVersion:"go1.25.6"}
Relevant logs or output
Security
Additional context
Latest OpenCTI worker telemetry docs: https://docs.opencti.io/latest/deployment/configuration/#telemetry_1
Describe the bug
Currently the service for worker doesn't use correct environment variable
APP__TELEMETRY__METRICS__ENABLEDwhich is for Platform itself. Also the default port is not equal to OpenCTI suggests which is14270now is14269.To fix this we should use
WORKER__TELEMETRY__ENABLEDinstead. Also theWORKER_PROMETHEUS_TELEMETRY_PORTvar doesn't have the double underscore like the others.Steps to reproduce
Expected behavior
Worker metrics are exposed correctly by using
WORKER__TELEMETRY__ENABLEDActual behavior
Cannot connect to port of worker service because it isn't enabled correctly.
Version / Release
v2.3.33
Operating system
minikube version: v1.38.1, Ubuntu 26.04, helm: version.BuildInfo{Version:"v3.20.0", GitCommit:"b2e4314fa0f229a1de7b4c981273f61d69ee5a59", GitTreeState:"clean", GoVersion:"go1.25.6"}
Relevant logs or output
Security
Additional context
Latest OpenCTI worker telemetry docs: https://docs.opencti.io/latest/deployment/configuration/#telemetry_1