usage: pmm-managed --supervisord-config-dir=SUPERVISORD-CONFIG-DIR [<flags>]
Flags:
-h, --[no-]help Show context-sensitive help (also try --help-long and --help-man)
--[no-]version Show application version
--extensions-url=EXTENSIONS-URL
Base URL of the PMM Extensions API, e.g. http://127.0.0.1:8000
($PMM_EXTENSIONS_URL)
--extensions-token=EXTENSIONS-TOKEN
Bearer token for the PMM Extensions API ($PMM_EXTENSIONS_TOKEN)
--victoriametrics-url="http://127.0.0.1:9090/prometheus/"
VictoriaMetrics base URL ($PMM_VM_URL)
--victoriametrics-vmalert-url="http://127.0.0.1:8880/"
VictoriaMetrics VMAlert base URL ($PMM_VM_ALERT_URL)
--victoriametrics-config="/etc/victoriametrics-promscrape.yml"
VictoriaMetrics scrape configuration file path
--grafana-addr="127.0.0.1:3000"
Grafana HTTP API address
--qan-api-addr="127.0.0.1:9911"
QAN API gRPC API address
--postgres-addr="127.0.0.1:5432"
PostgreSQL address ($PMM_POSTGRES_ADDR)
--postgres-name="pmm-managed"
PostgreSQL database name ($PMM_POSTGRES_DBNAME)
--postgres-username="pmm-managed"
PostgreSQL database username ($PMM_POSTGRES_USERNAME)
--postgres-ssl-mode=disable
PostgreSQL SSL mode ($PMM_POSTGRES_SSL_MODE)
--postgres-ssl-ca-path=POSTGRES-SSL-CA-PATH
PostgreSQL SSL CA root certificate path ($PMM_POSTGRES_SSL_CA_PATH)
--postgres-password="pmm-managed"
PostgreSQL database password ($PMM_POSTGRES_DBPASSWORD)
--postgres-ssl-key-path=POSTGRES-SSL-KEY-PATH
PostgreSQL SSL key path ($PMM_POSTGRES_SSL_KEY_PATH)
--postgres-ssl-cert-path=POSTGRES-SSL-CERT-PATH
PostgreSQL SSL certificate path ($PMM_POSTGRES_SSL_CERT_PATH)
--[no-]ha-enable Enable HA ($PMM_HA_ENABLE)
--[no-]enable-ha-alerts Provision the built-in High Availability alert rules
($PMM_ENABLE_HA_ALERTS)
--[no-]enable-component-alerts
Provision the built-in alert rules for PMM Server's own components
($PMM_ENABLE_COMPONENT_ALERTS)
--ha-node-id=HA-NODE-ID HA Node ID ($PMM_HA_NODE_ID)
--ha-advertise-address=HA-ADVERTISE-ADDRESS
HA Advertise address ($PMM_HA_ADVERTISE_ADDRESS)
--ha-peers=HA-PEERS HA Peers ($PMM_HA_PEERS)
--ha-raft-port=9760 HA raft port ($PMM_HA_RAFT_PORT)
--ha-gossip-port=9761 HA gossip port ($PMM_HA_GOSSIP_PORT)
--ha-grafana-gossip-port=9762
HA Grafana gossip port ($PMM_HA_GRAFANA_GOSSIP_PORT)
--ha-namespace=HA-NAMESPACE
HA Kubernetes namespace ($PMM_HA_NAMESPACE)
--internal-node-name-prefixes=INTERNAL-NODE-NAME-PREFIXES
Comma-separated list of Node name prefixes reserved
for the internal infrastructure of this PMM deployment
($PMM_INTERNAL_NODE_NAME_PREFIXES)
--supervisord-config-dir=SUPERVISORD-CONFIG-DIR
Supervisord configuration directory
--log-level=info Set logging level ($PMM_LOG_LEVEL)
--[no-]debug Enable debug logging ($PMM_DEBUG)
--[no-]trace [DEPRECATED] Enable trace logging (implies debug) ($PMM_TRACE)
--clickhouse-name="pmm" Clickhouse database name ($PMM_CLICKHOUSE_DATABASE)
--clickhouse-addr="127.0.0.1:9000"
Clickhouse database address ($PMM_CLICKHOUSE_ADDR)
--clickhouse-username="default"
Clickhouse database user ($PMM_CLICKHOUSE_USER)
--clickhouse-password="clickhouse"
Clickhouse database user password ($PMM_CLICKHOUSE_PASSWORD)
--nomad-gc-interval=1m Interval at which Nomad attempts to garbage collect terminal
allocation directories. ($PMM_NOMAD_GC_INTERVAL)
--nomad-gc-disk-usage-threshold=80
Disk usage percent which Nomad tries to maintain
by garbage collecting terminal allocations.
($PMM_NOMAD_GC_DISK_USAGE_THRESHOLD)
--nomad-gc-inode-usage-threshold=70
Inode usage percent which Nomad tries to maintain
by garbage collecting terminal allocations.
($PMM_NOMAD_GC_INODE_USAGE_THRESHOLD)
--nomad-gc-max-allocs=50 Maximum number of allocations which a client will track before
triggering a garbage collection of terminal allocations.
($PMM_NOMAD_GC_MAX_ALLOCS)
--nomad-gc-parallel-destroys=2
Maximum number of parallel destroys allowed by the garbage
collector. ($PMM_NOMAD_GC_PARALLEL_DESTROYS)
Options (35)
| Option | Description | Source |
|---|---|---|
-h | Show context-sensitive help (also try --help-long and --help-man) | help |
--extensions-url EXTENSIONS-URL | Base URL of the PMM Extensions API, e.g. http://127.0.0.1:8000 ($PMM_EXTENSIONS_URL) | help |
--extensions-token EXTENSIONS-TOKEN | Bearer token for the PMM Extensions API ($PMM_EXTENSIONS_TOKEN) | help |
--victoriametrics-url "http://127.0.0.1:9090/prometheus/" | VictoriaMetrics base URL ($PMM_VM_URL) | help |
--victoriametrics-vmalert-url "http://127.0.0.1:8880/" | VictoriaMetrics VMAlert base URL ($PMM_VM_ALERT_URL) | help |
--victoriametrics-config "/etc/victoriametrics-promscrape.yml" | VictoriaMetrics scrape configuration file path | help |
--grafana-addr "127.0.0.1:3000" | Grafana HTTP API address | help |
--qan-api-addr "127.0.0.1:9911" | QAN API gRPC API address | help |
--postgres-addr "127.0.0.1:5432" | PostgreSQL address ($PMM_POSTGRES_ADDR) | help |
--postgres-name "pmm-managed" | PostgreSQL database name ($PMM_POSTGRES_DBNAME) | help |
--postgres-username "pmm-managed" | PostgreSQL database username ($PMM_POSTGRES_USERNAME) | help |
--postgres-ssl-mode disable | PostgreSQL SSL mode ($PMM_POSTGRES_SSL_MODE) | help |
--postgres-ssl-ca-path POSTGRES-SSL-CA-PATH | PostgreSQL SSL CA root certificate path ($PMM_POSTGRES_SSL_CA_PATH) | help |
--postgres-password "pmm-managed" | PostgreSQL database password ($PMM_POSTGRES_DBPASSWORD) | help |
--postgres-ssl-key-path POSTGRES-SSL-KEY-PATH | PostgreSQL SSL key path ($PMM_POSTGRES_SSL_KEY_PATH) | help |
--postgres-ssl-cert-path POSTGRES-SSL-CERT-PATH | PostgreSQL SSL certificate path ($PMM_POSTGRES_SSL_CERT_PATH) | help |
--ha-node-id HA-NODE-ID | HA Node ID ($PMM_HA_NODE_ID) | help |
--ha-advertise-address HA-ADVERTISE-ADDRESS | HA Advertise address ($PMM_HA_ADVERTISE_ADDRESS) | help |
--ha-peers HA-PEERS | HA Peers ($PMM_HA_PEERS) | help |
--ha-raft-port 9760 | HA raft port ($PMM_HA_RAFT_PORT) | help |
--ha-gossip-port 9761 | HA gossip port ($PMM_HA_GOSSIP_PORT) | help |
--ha-grafana-gossip-port 9762 | HA Grafana gossip port ($PMM_HA_GRAFANA_GOSSIP_PORT) | help |
--ha-namespace HA-NAMESPACE | HA Kubernetes namespace ($PMM_HA_NAMESPACE) | help |
--internal-node-name-prefixes INTERNAL-NODE-NAME-PREFIXES | Comma-separated list of Node name prefixes reserved for the internal infrastructure of this PMM deployment ($PMM_INTERNAL_NODE_NAME_PREFIXES) | help |
--supervisord-config-dir SUPERVISORD-CONFIG-DIR | Supervisord configuration directory | help |
--log-level info | Set logging level ($PMM_LOG_LEVEL) | help |
--clickhouse-name "pmm" | Clickhouse database name ($PMM_CLICKHOUSE_DATABASE) | help |
--clickhouse-addr "127.0.0.1:9000" | Clickhouse database address ($PMM_CLICKHOUSE_ADDR) | help |
--clickhouse-username "default" | Clickhouse database user ($PMM_CLICKHOUSE_USER) | help |
--clickhouse-password "clickhouse" | Clickhouse database user password ($PMM_CLICKHOUSE_PASSWORD) | help |
--nomad-gc-interval 1m | Interval at which Nomad attempts to garbage collect terminal allocation directories. | help |
--nomad-gc-disk-usage-threshold 80 | Disk usage percent which Nomad tries to maintain by garbage collecting terminal allocations. | help |
--nomad-gc-inode-usage-threshold 70 | Inode usage percent which Nomad tries to maintain by garbage collecting terminal allocations. | help |
--nomad-gc-max-allocs 50 | Maximum number of allocations which a client will track before triggering a garbage collection of terminal allocations. | help |
--nomad-gc-parallel-destroys 2 | Maximum number of parallel destroys allowed by the garbage collector. | help |