You are reading the documentation of OpenCTI 7.260309 LTS · 7.260309.0-lts.8, supported until 2027-04.Latest is 7.261119.0 →
Reference
Metrics renamed in client-python
The Prometheus metrics of OpenCTI connectors renamed in client-python for OpenCTI 6.8, old name to new name, and the two variables that set their prefix.
OpenCTIFor platform engineers and developers
With OpenCTI 6.8, the Prometheus metrics that connectors expose through the Python client library (client-python) follow the Prometheus naming practices. This page lists the renamed metrics, so you can update the dashboards and alerts that use them, for example in Grafana.
- Namespace and subsystem → client-python: optional prefix
- client-python → Renamed metrics: exposes
- Renamed metrics → Dashboards and alerts: update the names
| Version | |
|---|---|
| Changed in | OpenCTI 6.8 |
Renamed metrics
| Old name | New name |
|---|---|
bundle_send | bundles_sent_total |
record_send | records_sent_total |
run_count | runs_total |
ping_api_count | ping_api_total |
ping_api_error | ping_api_errors_total |
error_count | errors_total |
client_error_count | client_errors_total |
The state metric keeps its name.
Namespace and subsystem
Two new settings add a prefix to the metric names, as Prometheus builds them: <namespace>_<subsystem>_<name>. Both are empty by default.
| Environment variable | Configuration key |
|---|---|
CONNECTOR_METRICS_NAMESPACE | connector.metrics_namespace |
CONNECTOR_METRICS_SUBSYSTEM | connector.metrics_subsystem |
What to do
Replace the old names in your dashboards, alerts and recording rules. If you set a namespace or a subsystem, add the prefix they create.
What's next
- Observability metrics, to collect the metrics of the stack.
- Breaking changes, the other changes per version.