Metric

Enable

You can enable the metric in config.yaml as follows.
Config pixiu's ip and prometheus_port below in your prometheus config file will allow prometheus to scrape the metric generated by pixiu.

metric:
  enable: true
  prometheus_port: 2222