From f4d2ed459d0e9b4f135e20bf2d762850e6b8c818 Mon Sep 17 00:00:00 2001 From: Michael Quigley Date: Wed, 8 Mar 2023 14:00:27 -0500 Subject: [PATCH] notes for getting v0.4 metrics running (#128) --- docs/guides/v0.4_metrics_config.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 docs/guides/v0.4_metrics_config.md diff --git a/docs/guides/v0.4_metrics_config.md b/docs/guides/v0.4_metrics_config.md new file mode 100644 index 00000000..9cc9a4a2 --- /dev/null +++ b/docs/guides/v0.4_metrics_config.md @@ -0,0 +1,29 @@ +# 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 +``` \ No newline at end of file