---
title: Charmhub | Deploy Prometheus Pushgateway using Charmhub - The Open Operator
  Collection
description: Deploy the latest version of Prometheus Pushgateway on any cloud.
url: https://charmhub.io/prometheus-pushgateway/configurations
---

# Prometheus Pushgateway

[Prometheus Charmers](https://charmhub.io/publisher/prometheus-charmers "View all packages from Prometheus Charmers")

* [Prometheus Charmers](https://charmhub.io/publisher/prometheus-charmers "View all packages from Prometheus Charmers")
* [Monitoring](https://charmhub.io/?filter=monitoring)

Platform:

20.04

18.04

16.04

stable 4

```
juju deploy prometheus-pushgateway
```

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

* [nagios\_context](https://charmhub.io/prometheus-pushgateway/configurations#nagios_context)
* [nagios\_servicegroups](https://charmhub.io/prometheus-pushgateway/configurations#nagios_servicegroups)
* [persistence](https://charmhub.io/prometheus-pushgateway/configurations#persistence)
* [persistence\_interval](https://charmhub.io/prometheus-pushgateway/configurations#persistence_interval)
* [port](https://charmhub.io/prometheus-pushgateway/configurations#port)
* [snap\_channel](https://charmhub.io/prometheus-pushgateway/configurations#snap_channel)
* [snap\_proxy](https://charmhub.io/prometheus-pushgateway/configurations#snap_proxy)
* [snap\_proxy\_url](https://charmhub.io/prometheus-pushgateway/configurations#snap_proxy_url)
* [snapd\_refresh](https://charmhub.io/prometheus-pushgateway/configurations#snapd_refresh)

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

* nagios\_context | string

  Default: juju

  Used by the nrpe subordinate charms.
  A string that will be prepended to instance name to set the host name
  in nagios. So for instance the hostname would be something like:
  juju-myservice-0
  If you're running multiple environments with the same services in them
  this allows you to differentiate between them.
* nagios\_servicegroups | string

  A comma-separated list of nagios servicegroups.
  If left empty, the nagios\_context will be used as the servicegroup
* persistence | boolean

  If set to True metrics will be persisten on disk
* persistence\_interval | string

  The minimum interval at which to write out the persistence file.
  Prometheus' default is 5m0s.
* port | int

  Default: 9091

  Prometheus pushgateway listening port
* snap\_channel | string

  Default: stable

  If install\_method is set to "snap" this option controlls channel name.
  Supported values are: "stable", "candidate", "beta" and "edge"
* snap\_proxy | string

  DEPRECATED. Use snap-http-proxy and snap-https-proxy model configuration settings. HTTP/HTTPS web proxy for Snappy to use when accessing the snap store.
* snap\_proxy\_url | string

  DEPRECATED. Use snap-store-proxy model configuration setting. The address of a Snap Store Proxy to use for snaps e.g. http://snap-proxy.example.com
* snapd\_refresh | string

  How often snapd handles updates for installed snaps. The default (an empty string) is 4x per day. Set to "max" to check once per month based on the charm deployment date. You may also set a custom string as described in the 'refresh.timer' section here:
  https://forum.snapcraft.io/t/system-options/87
