From cb5340defbf21b1f0858c05335bd5d9592c222e6 Mon Sep 17 00:00:00 2001 From: zzl <87265072+zhiliatom@users.noreply.github.com> Date: Thu, 28 Dec 2023 16:26:44 +0800 Subject: [PATCH] [ISSUE #610] Fix doc error about metricsGrpcExporterTarget (#611) Co-authored-by: shizhili --- .../version-5.0/12-observability/01metrics.md | 2 +- versioned_docs/version-5.0/12-observability/01metrics.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/i18n/en/docusaurus-plugin-content-docs/version-5.0/12-observability/01metrics.md b/i18n/en/docusaurus-plugin-content-docs/version-5.0/12-observability/01metrics.md index d213a384c9..a01272af24 100644 --- a/i18n/en/docusaurus-plugin-content-docs/version-5.0/12-observability/01metrics.md +++ b/i18n/en/docusaurus-plugin-content-docs/version-5.0/12-observability/01metrics.md @@ -112,7 +112,7 @@ Prerequisites: Deploy an OpenTelemetry Collector that supports the [GRPC OpenTel To enable the gRPC OTLP exporter of Broker metrics, do the following: 1. Set `metricsExporterType` to `OTLP_GRPC`. -2. Set `getMetricsGrpcExporterTarget` to the endpoint provided by the OpenTelemetry Collector. +2. Set `metricsGrpcExporterTarget` to the endpoint provided by the OpenTelemetry Collector. Optional configurations: diff --git a/versioned_docs/version-5.0/12-observability/01metrics.md b/versioned_docs/version-5.0/12-observability/01metrics.md index b06576c343..732c73360e 100644 --- a/versioned_docs/version-5.0/12-observability/01metrics.md +++ b/versioned_docs/version-5.0/12-observability/01metrics.md @@ -112,7 +112,7 @@ gRPC OTLP exporter 会周期性地向指定的 OpenTelemetry Collector 上报 me 开启 Broker metrics 的 gRPC OTLP exporter 需要进行以下配置: 1. 将 `metricsExporterType` 设置为 `OTLP_GRPC` -2. 将 `getMetricsGrpcExporterTarget` 设置为 OpenTelemetry Collector 提供的 endpoint +2. 将 `metricsGrpcExporterTarget` 设置为 OpenTelemetry Collector 提供的 endpoint 可选配置: