Mthaddon Grafana

Channel Revision Published Runs on
latest/stable 4 19 Mar 2021
Ubuntu 18.04 Ubuntu 16.04 Ubuntu 14.04
juju deploy mthaddon-grafana
Show information

Platform:

Ubuntu
18.04 16.04 14.04

Learn about configurations >

  • 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.4.11 (GNU/Linux) mQINBFu7jn8BEAC+f2xaHm8VnvpsoK2mD9dQAPDf9Pslvv0EH0Rhs6D54LpkF7hj VjeUH+cpNha7Gcr4vTubcVVAsq5mHplatn54UmHUg1inuNbe32vVcoDF/UPtg4tg nq9CbGFQvCRX4gEGVfiOsoipKhu50hv09LEyN7y8bYoWSrYcjPL2fswr94Bm4+Kq IFdHwKBKYrJQ390NuIrP+ncBDIJ5ubdMtM5S2gpKEW4daO/4pnfr7YmgfQr34+Xe 5SkVcOix3CqPXwQ/OyTPwhZJssXljxcWbcOM09hCZBRqADA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qaRvk4njE//vfxjZpSJaktlUJTFpzwXuYQbuTdwDJNJcuFVmjfMWT5tKf 2cy8N9cgPhrulZDbYU/S8ZOFJUQ4qpHpf+q+NDGnucM3kCNkOMgqeBfBvC5wJP5C ZHoaKVW9+o1CKmFKYz+1woY6qugYB/8Uy7gy3C9qGbi7UZwMFUJUCYxu5htHuB/a tTUJ4nM//ichv9TCsTA5X/tYJBD0USEVl0bMV4CtS+qP2il17D846bA= =ewdt -----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://packagecloud.io/grafana/stable/debian/ stretch 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: 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