Metrics and Logging Settings

This section documents settings that control behavior related to AIStor metrics and logging. See Metrics and Alerts for more information.

You can establish or modify settings by defining:

  • an environment variable on the host system prior to starting or restarting the AIStor Server. Refer to your operating system’s documentation for how to define an environment variable.
  • a configuration setting using mc admin config set.

If you define both an environment variable and the similar configuration setting, AIStor uses the environment variable value.

Some settings have only an environment variable or a configuration setting, but not both.

Each configuration setting controls fundamental AIStor behavior and functionality. Test configuration changes in a lower environment, such as DEV or QA, before applying to production.

Prometheus Authentication

Specifies the authentication mode for the Prometheus scraping endpoints.

Authentication Mode Description
jwt Default
AIStor requires that the scraping client specify a JWT token for authenticating requests.
Use mc admin prometheus generate to generate the necessary JWT bearer tokens.
public AIStor does not require that scraping clients authenticate their requests.
All rights reserved 2024-Present, MinIO, Inc.