---
title: Charmhub | Deploy OpenStack Exporter using Charmhub - The Open Operator Collection
description: Deploy the latest version of OpenStack Exporter on any cloud.
url: https://charmhub.io/openstack-exporter/configurations
---

# OpenStack Exporter

[Canonical BootStack Charmers](https://charmhub.io/publisher/bootstack-charmers "View all packages from Canonical BootStack Charmers")

* [Canonical BootStack Charmers](https://charmhub.io/publisher/bootstack-charmers "View all packages from Canonical BootStack Charmers")

Platform:

24.04

22.04

stable 75

```
juju deploy openstack-exporter
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

* [alert\_rules](https://charmhub.io/openstack-exporter/configurations#alert_rules)
* [cache](https://charmhub.io/openstack-exporter/configurations#cache)
* [cache\_ttl](https://charmhub.io/openstack-exporter/configurations#cache_ttl)
* [port](https://charmhub.io/openstack-exporter/configurations#port)
* [snap\_channel](https://charmhub.io/openstack-exporter/configurations#snap_channel)
* [ssl\_ca](https://charmhub.io/openstack-exporter/configurations#ssl_ca)

[Learn about configurations >](https://juju.is/docs/juju/configuration#heading--application-configuration)

* alert\_rules | string

  A full Prometheus alert rules document (YAML) that replaces the alert rules shipped
  with the charm. Empty string (default) keeps the shipped rules.

  Use this to customise severities, thresholds and `for:` durations, or to add or remove
  alerts. The value must be a valid Prometheus rules file with a top-level `groups` key.
  For example:

  groups:
  - name: NovaCompute
  rules:
  - alert: NovaComputeDown
  expr: openstack\_nova\_agent\_state{adminState="enabled"} == 0
  for: 2m
  labels:
  severity: critical
  annotations:
  summary: Nova Compute Agent Down

  Warning: Changing this option reloads the alert rules in Prometheus.
  Any currently firing alerts that are removed by the new rules will be canceled
  and reported to Alert Manager as resolved.
* cache | boolean

  Default: True

  By default, enables the exporter cache globally. Refreshes at intervals of cache\_ttl/2.
  If the cache is empty or expired, the response will be empty.
* cache\_ttl | string

  Default: 300s

  Cache expiry time-to-live (TTL), e.g., 10s, 11m, 12h. Cache refreshes at
  intervals of cache\_ttl/2.
  Customizable based on the size of the OpenStack cluster.
  Format details: https://pkg.go.dev/time#ParseDuration
* port | int

  Default: 9180

  The openstack-exporter service (metrics endpoint for prometheus scraping)
  will listen at this port.
* snap\_channel | string

  Default: latest/stable

  The charmed-openstack-exporter snap is by default installed from the latest/stable channel.
  This option allows the selection of a different channel.

  If the snap file has been attached via the openstack-exporter resource, this option has no effect.
* ssl\_ca | string

  Custom SSL CA for keystone if required.

  The format should be the raw contents of a PEM encoded file.
  (no base64 encoding).
