mirror of
https://github.com/openziti/zrok.git
synced 2024-11-22 16:13:47 +01:00
notes for getting v0.4 metrics running (#128)
This commit is contained in:
parent
7ac9e25611
commit
f4d2ed459d
29
docs/guides/v0.4_metrics_config.md
Normal file
29
docs/guides/v0.4_metrics_config.md
Normal file
@ -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
|
||||
```
|
Loading…
Reference in New Issue
Block a user