As an EE admin, how do I give someone access to Grafana?


#1

First, you’ll need to navigate to your houston playground, located at:

houston.BASEDOMAIN/playground

Next, navigate to app.BASEDOMAIN/token and grab the auth token.

On the bottom add this to HTTP headers:

{“authorization”:“TOKEN”}

Now run::

query GetUser {
  users(email: "viraj@astronomer.io") {
    uuid
  }
}

query GetAdminGroup {
  groups(entityType: "system") {
    uuid
    label
  }
}

mutation AddAdmin {
  groupAddUser(
    groupUuid: "ID_FROM_GETADMINGROUP"
    userUuid: "ID_FROM_GETUSER"
  ) {
    label
    users {
      emails {
        address
      }
    }
  }
}

use the output from the first two as the inputs as the third.