Grafana

juju deploy grafana
Show information
You will need Juju 2.9 to be able to run this command. Learn how to upgrade to Juju 2.9.
Channel Version Revision Published Base
latest/stable 46 46 20 Jul 2021
20.04 18.04 16.04
latest/candidate 48 48 21 Jul 2021
20.04 18.04 16.04

Platform:

20.04 18.04 16.04
  • admin_password | string

    Grafana admin password. Default, pwgen(16) random password. See also README.md for instructions how to retrieve automatically generated password

  • anonymous | boolean

    Whether to allow anonymous users, defaults to False.

  • anonymous_role | string

    Default: Viewer

    The role given to anonymous users if enabled.

  • app_mode | string

    Default: production

    production or development

  • auth-proxy | boolean

    Whether to enable default auth.proxy config, defaults to False.

  • dashboards_backup_dir | string

    Default: /srv/backups

    Location where to put dashboard dumps

  • dashboards_backup_schedule | string

    Cron schedule for dashboards backups

  • datasources | string

    List of datasources in format: - type,name,access,url,password,user,database

  • debug | boolean

    Enable debug level logging.

  • default_dashboards | string

    List of default dashboards to be loaded on Grafana storage backend (default: sqlite3 backend)

  • external_network | string

    Default: ext_net

    \ Name for the network which hosts the Public IP address space.

  • google_analytics_ua_id | string

    Google Universal Analytics ID per http://docs.grafana.org/installation/configuration/#google-analytics-ua-id

  • http_proxy | string

    Proxy URL to use for install_file

  • install_file | string

    Location where grafana .deb file can be found. If set install_sources and install_keys options are ignored. Example: install_file: http://my.company.com/packages/grafana/grafana_3.0.0_amd64.deb

  • install_keys | string

    Default: - | -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1 mQENBFiHXVIBCADr3VDEAGpq9Sg/xrPVu1GGqWGXdbnTbbNKeveCtFHZz7/GSATW iwiY1skvlAOBiIKCqJEji0rZZgd8WxuhdfugiCBk1hDTMWCpjI0P+YymV77jHjYB jHrKNlhb+aLjEd9Gf2EtbKUT1fvGUkzlVrcRGSX/XR9MBZlgja7NIyuVbn3uwZQ4 jflWSNSlvMpohNxTFkrBFTRrCJXhbDLfCS46+so22CP3+1VQyqJ7/6RWK9v9KYdS AVNgILXMggSrMqha4WA1a/ktczVQXNtP8IuPx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3eLlEH9wmFrNYeXvgRqmyqVoqhIMCNAAOY REYyHyy9mzr9ywkwl0aroBqhzKIPyFlatZy9oRKllY/CCKO9RJy4DZidLphuwzqU ymdQ1sqe5nKvwG5GvcncPc3O7LMevDBWnpNNkgERnVxCqpm90TuE3ONbirnU4+/S tUsVU1DERc1fjOCnAm4pKIlNYphISIE7OQ== =0pMC -----END PGP PUBLIC KEY BLOCK-----

    YAML list of GPG keys for installation sources, as a string. For apt repository URLs, use the public key ID used to verify package signatures. For other sources such as PPA, use empty string. This list must have the same number of elements as install_sources, even if the key items are all empty string. An example to go with the above for install_sources: install_keys: | - "" - ""

  • install_method | string

    Default: apt

    How to install Grafana. If set to "apt", empty string or unset, the package will be installed using apt-get. If set to "snap", snap package will be installed

  • install_plugins | string

    Comma separated list of http(s) URLs where grafana plugin tarballs can be found. Example: install_plugins: http://my.company.com/packages/grafana/plugins/plugin-panel.tar.gz

  • install_sources | string

    Default: - 'deb https://packages.grafana.com/oss/deb stable main'

    YAML list of additional installation sources, as a string. The number of install_sources must match the number of install_keys. For example: install_sources: | - ppa:project1/ppa - ppa:project2/ppa

  • instance_name | string

    Grafana instance name, for example "grafana.example.com". If unset defaults to server hostname

  • nagios_context | string

    Default: juju

    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

    Default: juju

    Comma separated list of nagios servicegroups for the graphite check

  • port | string

    Default: 3000

    The port grafana will expose web services on.

  • root_url | string

    Default: %(protocol)s://%(domain)s:%(http_port)s/

    The full public facing url

  • smtp_auth | string

    The SMTP username and password that the Grafana plugin will authenticate with in "username:password" format. Example mysmtpuser:secret

  • smtp_from_address | string

    Default: admin@grafana.localhost

    The SMTP from address that the Grafana plugin will use when addressing emails.

  • smtp_host | string

    The SMTP host and port that grafana will send emails via. If unset SMTP will not be enabled Example: smtp.example.com:25

  • smtp_skip_cert_verification | boolean

    Disable certificate verification when talking to SSL/TLS enabled SMTP servers (true allows self-signed certificates)

  • snap_channel | string

    Default: 7/stable

    If install_method is set to "snap" this option controls channel name being used. Note: a) changing this option will not automatically upgrade snaps -- see the do-upgrade action for this, b) downgrading snaps is unsupported, and c) using the track symbolic name "latest" is also unsupported (use an explicit track name instead, e.g. "7/stable")

  • 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