Skip to content

Worker Telemetry isn't enable by current telemtry variable #349

@alvar0liveira

Description

@alvar0liveira

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

  1. Port forward worker metrics port
  2. 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

  • This issue is security-related

Additional context

Latest OpenCTI worker telemetry docs: https://docs.opencti.io/latest/deployment/configuration/#telemetry_1

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions