Tokengen
The tokengen component generates admin-api tokens and stores them in the admin object storage.
You run the tokengen component with the configuration flag -target=tokengen
.
It requires admin client object storage configuration to persist the generated token.
To configure the admin client object storage configuration, refer to admin_client_config.
The tokengen component logs the generated token and optionally writes it to the path specified by the configuration flag -tokengen.token-file
.
It can be run multiple times, generating a new token each time.
Previously generated tokens continue to be valid.
By default, tokens generated by tokengen use the built-in admin access policy.
To specify an alternative access policy, use the configuration flag -tokengen.access-policy
.
Related Enterprise Metrics resources
Running Prometheus-as-a-service with Grafana Enterprise Metrics
Introducing Grafana Enterprise Metrics (GEM), a simple and scalable Prometheus service that is seamless to use, simple to maintain, and supported by Grafana Labs.
How Robinhood scaled from 100M to 700M time series with Grafana Enterprise Metrics
In this GrafanaCONline session, the Robinhood team tells how GME (GameStop) led to GEM (Grafana Enterprise Metrics).
Benchmarking Grafana Enterprise Metrics for horizontally scaling Prometheus up to 500 million active series
We stress-tested GEM to show how it horizontally scaled. One takeaway: Hardware usage scales linearly up to 500 million active series.