crowdsec/docs/cscli/cscli_metrics.md
2020-07-22 10:25:23 +02:00

810 B

cscli metrics

Display crowdsec prometheus metrics.

Synopsis

Fetch metrics from the prometheus server and display them in a human-friendly way

cscli metrics [flags]

Options

  -h, --help         help for metrics
  -u, --url string   Prometheus url (default "http://127.0.0.1:6060/metrics")

Options inherited from parent commands

  -c, --config string   path to crowdsec config file (default "/etc/crowdsec/config/default.yaml")
      --debug           Set logging to debug.
      --error           Set logging to error.
      --info            Set logging to info.
  -o, --output string   Output format : human, json, raw. (default "human")
      --warning         Set logging to warning.

SEE ALSO

  • cscli - cscli allows you to manage crowdsec