Welcome to the upcoming version of the MinIO Documentation! The content on this page is under active development and may change at any time. If you can't find what you're looking for, check our legacy documentation. Thank you for your patience.

mc admin prometheus

Table of Contents

Description

The mc admin prometheus command generates a configuration file for use with Prometheus.

For more complete documentation on using MinIO with Prometheus, see our legacy documentation site How to monitor MinIO server with Prometheus

Use mc admin on MinIO Deployments Only

MinIO does not support using mc admin commands with other S3-compatible services, regardless of their claimed compatibility with MinIO deployments.

Syntax

mc admin prometheus generate

Generates a JWT bearer token for use with configuring Prometheus metrics collection. The command has the following syntax:

mc admin prometheus generate TARGET

The command accepts the following arguments:

TARGET

The alias of a configured MinIO deployment for which the command generates a Prometheus-compatible configuration file.