Command line flags
Tempo provides various command-line flags to configure its behavior when starting the binary. This document serves as a reference for these flags.
Global flags
Target flag
The deployment mode is determined by the runtime configuration target, or
by using the -target flag on the command line.
The default target is all, which is the monolithic deployment mode.
Refer to the Plan your Tempo deployment documentation for information on deployment modes.
Authentication and multitenancy
HTTP and API settings
Server settings
Memberlist settings
Module configuration
You can use additional flags to configuring individual Tempo modules, such as the distributor, ingester, querier, and their components. These flags follow a pattern like --<module>.<setting> and are extensively documented in the configuration file format.
Use the configuration file approach described in the Configuration documentation. The documentation has a comprehensive list of all configuration options.
Usage examples
Start Tempo with a configuration file:
tempo --config.file=/etc/tempo/config.yamlStart Tempo with a specific target:
tempo --target=distributor --config.file=/etc/tempo/config.yamlVerify configuration without starting Tempo:
tempo --config.file=/etc/tempo/config.yaml --config.verifyPrint version information:
tempo --version

