---
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/actions
---

# 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)

* [get-alert-rules](https://charmhub.io/openstack-exporter/actions#get-alert-rules)

[Learn about actions >](https://juju.is/docs/juju/action)

* get-alert-rules

  Dump the alert rules currently in effect as a single Prometheus rules
  document (YAML), returned in the `alert-rules` result. Use this as a starting
  point for the `alert_rules` config option: dump the rules, edit them,
  then set the edited document as the `alert_rules` config.

  Because `juju run` wraps the result under the unit name, extract the raw
  document before saving. For example:

  juju run openstack-exporter/leader get-alert-rules --format=json
  | jq -r 'first(.[]).results."alert-rules"' > rules.yaml

  Edit rules.yaml, then apply it:

  juju config openstack-exporter alert\_rules="$(cat rules.yaml)"
