OS Manuals

/usr/bin/metrics-api

From linkerd2-metrics-api 26.6.1-r0 (os), captured 2026-11-05 by running metrics-api --help (exit 0). permalink

Usage of metrics-api:
  -addr string
    	address to serve on (default ":8085")
  -cluster-domain string
    	kubernetes cluster domain (default "cluster.local")
  -controller-namespace string
    	namespace in which Linkerd is installed (default "linkerd")
  -enable-pprof
    	Enable pprof endpoints on the admin server
  -ignore-namespaces string
    	comma separated list of namespaces to not list pods from (default "kube-system")
  -kubeconfig string
    	path to kube config
  -log-format string
    	log format, must be one of: plain, json (default "plain")
  -log-level string
    	log level, must be one of: panic, fatal, error, warn, info, debug, trace (default "info")
  -metrics-addr string
    	address to serve scrapable metrics on (default ":9995")
  -prometheus-password-file string
    	file containing password for prometheus basic auth
  -prometheus-url string
    	prometheus url
  -prometheus-user-file string
    	file containing username for prometheus basic auth
  -trace-collector string
    	Enables OC Tracing with the specified endpoint as collector
  -version
    	print version and exit
Options (14)
OptionDescriptionSource
-addr stringaddress to serve on (default ":8085")help
-cluster-domain stringkubernetes cluster domain (default "cluster.local")help
-controller-namespace stringnamespace in which Linkerd is installed (default "linkerd")help
-enable-pprofEnable pprof endpoints on the admin serverhelp
-ignore-namespaces stringcomma separated list of namespaces to not list pods from (default "kube-system")help
-kubeconfig stringpath to kube confighelp
-log-format stringlog format, must be one of: plain, json (default "plain")help
-log-level stringlog level, must be one of: panic, fatal, error, warn, info, debug, trace (default "info")help
-metrics-addr stringaddress to serve scrapable metrics on (default ":9995")help
-prometheus-password-file stringfile containing password for prometheus basic authhelp
-prometheus-url stringprometheus urlhelp
-prometheus-user-file stringfile containing username for prometheus basic authhelp
-trace-collector stringEnables OC Tracing with the specified endpoint as collectorhelp
-versionprint version and exithelp

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