---
title: Charmhub | Deploy Grafana using Charmhub - The Open Operator Collection
description: Deploy the latest version of Grafana on any cloud.
url: https://charmhub.io/charmcraft-grafana/configurations
---

# Grafana

[Charmcraft](https://charmhub.io/publisher/charmcraft "View all packages from Charmcraft")

* [Charmcraft](https://charmhub.io/publisher/charmcraft "View all packages from Charmcraft")
* [Monitoring](https://charmhub.io/?filter=monitoring)

Platform:

20.04

stable 1

```
juju deploy charmcraft-grafana
```

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

* [advertised\_port](https://charmhub.io/charmcraft-grafana/configurations#advertised_port)
* [basic\_auth\_password](https://charmhub.io/charmcraft-grafana/configurations#basic_auth_password)
* [basic\_auth\_username](https://charmhub.io/charmcraft-grafana/configurations#basic_auth_username)
* [config\_ini\_mount\_path](https://charmhub.io/charmcraft-grafana/configurations#config_ini_mount_path)
* [datasource\_mount\_path](https://charmhub.io/charmcraft-grafana/configurations#datasource_mount_path)
* [grafana\_image\_password](https://charmhub.io/charmcraft-grafana/configurations#grafana_image_password)
* [grafana\_image\_path](https://charmhub.io/charmcraft-grafana/configurations#grafana_image_path)
* [grafana\_image\_username](https://charmhub.io/charmcraft-grafana/configurations#grafana_image_username)
* [grafana\_log\_level](https://charmhub.io/charmcraft-grafana/configurations#grafana_log_level)
* [grafana\_log\_mode](https://charmhub.io/charmcraft-grafana/configurations#grafana_log_mode)
* [provisioning\_path](https://charmhub.io/charmcraft-grafana/configurations#provisioning_path)

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

* advertised\_port | int

  Default: 3000

  The port grafana will be listening on
* basic\_auth\_password | string

  Default: admin

  Basic authorization password for Grafana
* basic\_auth\_username | string

  Default: admin

  Basic authorization username for Grafana
* config\_ini\_mount\_path | string

  Default: /etc/grafana

  The Grafana-defined location of the config.ini file.
* datasource\_mount\_path | string

  Default: /etc/grafana/provisioning/datasources

  The Grafana-defined location of the datasource
  provisioning config file.
* grafana\_image\_password | string

  The password associated with grafana\_image\_username for
  accessing the registry specified in grafana\_image\_path.
* grafana\_image\_path | string

  Default: grafana/grafana:latest

  The location of the image to use, e.g. "registry.example.com/grafana:v1".

  This setting is required.
* grafana\_image\_username | string

  The username for accessing the registry specified in
  grafana\_image\_path.
* grafana\_log\_level | string

  Default: info

  Logging level for Grafana. Options are “debug”, “info”,
  “warn”, “error”, and “critical”.
* grafana\_log\_mode | string

  Default: file

  The mode of Grafana logs. Possible values are
  'console', 'file', and 'syslog'.
* provisioning\_path | string

  Default: /etc/grafana/provisioning

  The location of all the provisioning files used by Grafana.
