OS Manuals

/usr/bin/percona-qan-api2

PMM Query Analytics API

From pmm-qan-api2 3.10.0-r6 (enterprise-packages), captured 2026-11-08 by running percona-qan-api2 --help (exit 0). permalink

usage: percona-qan-api2 [<flags>]


Flags:
  -h, --[no-]help                Show context-sensitive help (also try --help-long and --help-man)
      --[no-]version             Show application version
      --grpc-bind="127.0.0.1:9911"
                                 GRPC bind address and port
      --json-bind="127.0.0.1:9922"
                                 JSON bind address and port
      --listen-debug-addr="127.0.0.1:9933"
                                 Debug server listen address
      --data-retention=30        QAN data Retention (in days)
      --dsn="clickhouse://%s:%s@%s/%s"
                                 ClickHouse database DSN. Can be overridden with database/host/port
                                 options
      --clickhouse-name="pmm"    ClickHouse database name ($PMM_CLICKHOUSE_DATABASE)
      --clickhouse-addr="127.0.0.1:9000"
                                 ClickHouse database address ($PMM_CLICKHOUSE_ADDR)
      --clickhouse-user="default"
                                 ClickHouse database user ($PMM_CLICKHOUSE_USER)
      --clickhouse-password="clickhouse"
                                 ClickHouse database user password ($PMM_CLICKHOUSE_PASSWORD)
      --[no-]clickhouse-cluster  Is ClickHouse a cluster ($PMM_CLICKHOUSE_IS_CLUSTER)
      --clickhouse-cluster-name=""
                                 ClickHouse cluster name ($PMM_CLICKHOUSE_CLUSTER_NAME)
      --[no-]debug               Enable debug logging
      --[no-]trace               Enable trace logging (implies debug)
Options (11)
OptionDescriptionSource
-hShow context-sensitive help (also try --help-long and --help-man)help
--grpc-bind "127.0.0.1:9911"GRPC bind address and porthelp
--json-bind "127.0.0.1:9922"JSON bind address and porthelp
--listen-debug-addr "127.0.0.1:9933"Debug server listen addresshelp
--data-retention 30QAN data Retention (in days)help
--dsn "clickhouse://%s:%s@%s/%s"ClickHouse database DSN.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-user "default"ClickHouse database user ($PMM_CLICKHOUSE_USER)help
--clickhouse-password "clickhouse"ClickHouse database user password ($PMM_CLICKHOUSE_PASSWORD)help
--clickhouse-cluster-name ""ClickHouse cluster name ($PMM_CLICKHOUSE_CLUSTER_NAME)help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.