Skip to content

Grafana Loki Service

Tenant provisioning is currently handled by the tenant-provisioner, its a very simple service thats essentially a hosted shell script. You can use it like this:

curl -X POST --header "Authorization: $VAULT_TOKEN" --data '{ "name": "TENANT_NAME" }' https://observability-gateway.ops.gke.gitlab.net/tenants

It’ll return the tenant credentials on a successful request, otherwise a 500 in all other cases; The new credentials are also written to shared/observability-tenants/{TENANT_NAME} in vault, this value is b64 encoded.