Grafana

Channel Revision Published Runs on
latest/stable 69 01 Nov 2023
Ubuntu 20.04 Ubuntu 18.04 Ubuntu 16.04
latest/stable 59 17 Oct 2022
Ubuntu 20.04 Ubuntu 18.04 Ubuntu 16.04
latest/stable 51 18 Oct 2021
Ubuntu 20.04 Ubuntu 18.04 Ubuntu 16.04
latest/candidate 69 12 Oct 2023
Ubuntu 20.04 Ubuntu 18.04 Ubuntu 16.04
latest/candidate 59 27 Sep 2022
Ubuntu 20.04 Ubuntu 18.04 Ubuntu 16.04
latest/candidate 51 18 Oct 2021
Ubuntu 20.04 Ubuntu 18.04 Ubuntu 16.04
latest/edge 69 05 Oct 2023
Ubuntu 20.04 Ubuntu 18.04
latest/edge 59 23 Sep 2022
Ubuntu 20.04 Ubuntu 18.04
juju deploy grafana
Show information

Platform:

Ubuntu
20.04 18.04 16.04

Learn about actions >

  • 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

  • debug

    Collect debug data

  • 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