diff --git a/docs/guides/metrics-and-limits/configuring-metrics.md b/docs/guides/metrics-and-limits/configuring-metrics.md index 5d58cfc7..b0072f43 100644 --- a/docs/guides/metrics-and-limits/configuring-metrics.md +++ b/docs/guides/metrics-and-limits/configuring-metrics.md @@ -92,12 +92,12 @@ metrics: queue_name: events influx: url: "http://127.0.0.1:8086" - bucket: zrok - org: zrok + bucket: zrok # the bucket and org must be + org: zrok # created in advance in InfluxDB token: "" ``` -This configures the `zrok` controller to consume usage events from the AMQP queue, and configures the InfluxDB metrics store. +This configures the `zrok` controller to consume usage events from the AMQP queue, and configures the InfluxDB metrics store. The InfluxDB organization and bucket must be created in advance. The `zrok` controller will not create these for you. ## Testing Metrics diff --git a/docs/guides/v0.4_metrics.md b/docs/guides/v0.4_metrics.md deleted file mode 100644 index 48fd1ffd..00000000 --- a/docs/guides/v0.4_metrics.md +++ /dev/null @@ -1,31 +0,0 @@ -`v0.4` includes a new metrics infrastructure based on OpenZiti usage, which provides `zrok` with telemetry used to power end-user intelligence about shares, and also to power usage-based limits. - -# Configuration - -This requires a version of OpenZiti with a `fabric` dependency of `v0.22.52` or newer, which is satisfed by the `v0.27.6` release of OpenZiti Controller. - -## controller configuration - -```yaml -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 - -```yaml -metrics: - reportInterval: 5s - intervalAgeThreshold: 5s -```