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
  • change-user-role

    Set the role of the user

    Params
    • login string

      Login of user to change role for

    • new-role string

      New role to use, one of Viewer, Editor, Read Only Editor or Admin

    Required

    login, new-role

  • create-api-key

    Create an api key given a keyname and a keyrole out of Viewer, Editor, Read Only Editor or Admin

    Params
    • keyname string

      Name of key to be created

    • keyrole string

      Role for key, one of Viewer, Editor, Read Only Editor or Admin

    Required

    keyname, keyrole

  • create-user

    Create an user

    Params
    • email string

      Email of user to be created

    • login string

      Login of user to be created

    • name string

      Name of user to be created

    • password string

      Password of user to be created

    • role string

      role of user to be created, one of Viewer, Editor, Read Only Editor or Admin

    Required

    name, email, login, password, role

  • delete-user

    Delete the user

    Params
    • login string

      Login of user to delete

    Required

    login

  • do-upgrade

    Perform an upgrade

  • get-admin-password

    Retrieves the admin password, either auto generated or set in config

  • get-login-info

    Retrieves all of the info needed to log into Grafana.

  • import-dashboard

    Imports dashboards to grafana. The dashboard argument contains base64 encoded json dashboard. The location contains path on disk to a directory or file containing dashboards to be imported. This must exist on the unit runinng the action

    Params
    • dashboard string

      Contains the dashboard to be imported, in base64 encoded json format

    • location string

      Path to a file or directory containing dashboards to import.

  • set-user-password

    Set the password for a user

    Params
    • login string

      Login of user to change password for

    • new-password string

      New password to use

    Required

    login, new-password