usage: mimirtool [] [ ...] A command-line tool to manage Mimir and GEM. Flags: --[no-]help Show context-sensitive help (also try --help-long and --help-man). --log.level="info" set level of the logger --push-gateway.endpoint=PUSH-GATEWAY.ENDPOINT url for the push-gateway to register metrics --push-gateway.job=PUSH-GATEWAY.JOB job name to register metrics --push-gateway.interval=1m interval to forward metrics to the push gateway Commands: help [...] Show help. acl generate-header --id=ID --rule=RULE Generate the header that needs to be passed to the datasource for setting ACLs. alerts verify [] Verifies whether or not alerts in an Alertmanager cluster are deduplicated; useful for verifying correct configuration when transferring from Prometheus to Grafana Mimir alert evaluation. alertmanager get --address=ADDRESS --id=ID [] Get the Alertmanager configuration that is currently in the Grafana Mimir Alertmanager. alertmanager delete --address=ADDRESS --id=ID [] Delete the Alertmanager configuration that is currently in the Grafana Mimir Alertmanager. alertmanager load --address=ADDRESS --id=ID [] [...] Load Alertmanager tenant configuration and template files into Grafana Mimir. alertmanager migrate-utf8 [] [...] Migrate the Alertmanager tenant configuration for UTF-8. alertmanager verify [...] Verify Alertmanager tenant configuration and template files. alertmanager render --template.glob=TEMPLATE.GLOB --template.text=TEMPLATE.TEXT [] Render a given definition in a template file to standard output. analyze prometheus --address=ADDRESS [] Take the metrics being used in Grafana and get the cardinality from a Prometheus. analyze grafana --address=ADDRESS [] Analyze and output the metrics used in Grafana Dashboards. analyze ruler --address=ADDRESS [] Analyze and extract the metrics that are used in Grafana Mimir rules analyze dashboard [] ... Analyze and output the metrics used in Grafana dashboard files analyze rule-file [] ... Analyze and output the metrics used in Prometheus rules files backfill --address=ADDRESS --id=ID [] ... Upload Prometheus TSDB blocks to Grafana Mimir compactor. bucket-validation [] Validate that object store bucket works correctly. config convert [] Convert configuration parameters (YAML and CLI flags) from Cortex v1.10.0 and above to Grafana Mimir v2.0.0 (default), and from Grafana Metrics Enterprise v1.7.0 to v2.0.0 (via --gem flag). loadgen [] Simple load generator for Grafana Mimir. promql format [] Format PromQL query with Prometheus' string formatter; wrap query in quotes for CLI parsing. remote-read export --address=ADDRESS [] Export metrics remote read series into a local TSDB. remote-read dump --address=ADDRESS [] Dump remote read series. remote-read stats --address=ADDRESS [] Show statistic of remote read series. rules list --address=ADDRESS --id=ID [] List the rules currently in the Grafana Mimir ruler. rules print --address=ADDRESS --id=ID [] Print the rules currently in the Grafana Mimir ruler. rules get --address=ADDRESS --id=ID [] Retrieve a rulegroup from the ruler. rules delete --address=ADDRESS --id=ID [] Delete a rulegroup from the ruler. rules load --address=ADDRESS --id=ID [] ... Load a set of rules to a designated Grafana Mimir endpoint. rules diff --address=ADDRESS --id=ID [] [...] Diff a set of rules to a designated Grafana Mimir endpoint. rules sync --address=ADDRESS --id=ID [] [...] Sync a set of rules to a designated Grafana Mimir endpoint. rules prepare [] [...] Modify a set of rules by including an specific label in aggregations. rules lint [] [...] Format a set of rule files. Keys are sorted alphabetically, with 4 spaces as indentation, and PromQL expressions are formatted to a single line. rules check [] [...] Run various best practice checks against rules. rules delete-namespace --address=ADDRESS --id=ID [] Delete a namespace from the ruler. runtime-config validate [] Validate a runtime configuration file version Get the version of the mimirtool CLI