zrok/docs/guides/v0.4_metrics.md
2023-03-08 14:03:31 -05:00

483 B

v0.4 Metrics Configuration

This requires a version of OpenZiti with a fabric dependency of v0.22.52 or newer.

controller configuration:

network:
  intervalAgeThreshold: 5s 
  metricsReportInterval: 5s

events:
  jsonLogger:
    subscriptions:
      - type: fabric.usage
        version: 3
    handler:
      type: file
      format: json
      path: /tmp/fabric-usage.log

router configuration:

metrics:
  reportInterval: 5s
  intervalAgeThreshold: 5s