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.

CONNECTORPROMETHEUSYOUR MONITORINGNamespace and subsystemCONNECTOR_METRICS_NAMESPACEandCONNECTOR_METRICS_SUBSYSTEM,empty by defaultclient-pythonFor OpenCTI 6.8Renamed metricsbundle_send becomesbundles_sent_total, run_count becomesruns_totalDashboards and alertsGrafana, recording rules
  1. Namespace and subsystem → client-python: optional prefix
  2. client-python → Renamed metrics: exposes
  3. Renamed metrics → Dashboards and alerts: update the names
From OpenCTI 6.8, connectors expose their Prometheus metrics under new names, with an optional prefix, so the dashboards and alerts that read them need the new names
Version
Changed inOpenCTI 6.8

Renamed metrics

Old nameNew name
bundle_sendbundles_sent_total
record_sendrecords_sent_total
run_countruns_total
ping_api_countping_api_total
ping_api_errorping_api_errors_total
error_counterrors_total
client_error_countclient_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 variableConfiguration key
CONNECTOR_METRICS_NAMESPACEconnector.metrics_namespace
CONNECTOR_METRICS_SUBSYSTEMconnector.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

NextNew filter API
Deploy
Install, configure, secure, scale and upgrade the platform.

Published

Overview
Run the XTM platform locally
OverviewDeploy with an AI agent