mirror of
https://github.com/minio/docs.git
synced 2025-08-06 14:42:56 +03:00
1.3 KiB
1.3 KiB
mc admin prometheus
minio
Table of Contents
mc admin prometheus
Description
The mc admin prometheus
command generates a
configuration file for use with Prometheus.
For more complete documentation on using MinIO with Prometheus, see
How to monitor MinIO server with Prometheus
<minio-metrics-collect-using-prometheus>
Use mc admin
on MinIO Deployments Only
Syntax
generate
Generates a JWT bearer token for use with configuring Prometheus metrics collection <minio-metrics-and-alerts>
.
The command has the following syntax:
mc admin prometheus generate TARGET
The command accepts the following arguments:
TARGET
The alias <mc alias>
of a configured MinIO deployment
for which the command generates a Prometheus-compatible configuration
file.