Skip to content

kolla: default the ceilometer Prometheus exporter - #328

Draft
ideaship wants to merge 1 commit into
mainfrom
ceilometer-prometheus-exporter
Draft

ideaship wants to merge 1 commit into
mainfrom
ceilometer-prometheus-exporter

Conversation

@ideaship

@ideaship ideaship commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Defaults for the carried kolla-ansible patch that has Ceilometer's polling agents serve their samples to the Prometheus that OSISM deploys.

  • enable_ceilometer_prometheus_exporter follows enable_ceilometer and enable_prometheus. Ceilometer itself stays opt-in.
  • ceilometer_prometheus_exporter_port: "9181", the port the Prometheus default port allocations list for an OpenStack Ceilometer exporter. The agents' own default, 9101, is HAProxy's exporter port.
  • ceilometer_central_prometheus_exporter_port and ceilometer_compute_prometheus_exporter_port default to the shared port. A host that runs both agents moves one of them in its host_vars.

These are OSISM-only variables, so they go in the "Custom features" section of all/099-kolla.yml. A kolla-ansible image without the patch does not read them.
Part of:

🤖 Generated with Claude Code

Add the defaults for the carried kolla-ansible patch that lets
ceilometer's polling agents serve their samples to the Prometheus OSISM
deploys:

- enable_ceilometer_prometheus_exporter follows enable_ceilometer and
  enable_prometheus, so the export comes with ceilometer without making
  ceilometer itself any less opt-in.
- ceilometer_prometheus_exporter_port is 9181, the port the Prometheus
  default port allocations list for an OpenStack Ceilometer exporter.
  The agents' own default, 9101, is taken by HAProxy's exporter
  endpoint on hosts that run HAProxy, and neither kolla-ansible nor
  OSISM uses 9181.
- ceilometer_central_prometheus_exporter_port and
  ceilometer_compute_prometheus_exporter_port default to that shared
  port. They exist for the rare host that runs both agents, where one
  of them has to move; the deploy refuses the clash on such a host.

All four are OSISM-invented variables with no upstream counterpart,
hence the Custom features section of 099-kolla.yml. Releases whose
kolla-ansible image does not carry the patch do not read them.

Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Roger Luethi <luethi@osism.tech>
@ideaship
ideaship force-pushed the ceilometer-prometheus-exporter branch from 8aaa6c8 to 1171463 Compare October 18, 2026 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: New

Development

Successfully merging this pull request may close these issues.

2 participants