This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking.git
The following commit(s) were added to refs/heads/master by this push:
new 2aed50e861 Enhance the instruction about the kafka and gRPC exporters.
(#11951)
2aed50e861 is described below
commit 2aed50e861e55b02e596d39248c285cfdd221aa9
Author: Henry75m39 <[email protected]>
AuthorDate: Wed Feb 28 19:13:55 2024 +0800
Enhance the instruction about the kafka and gRPC exporters. (#11951)
---
docs/en/setup/backend/exporter.md | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/docs/en/setup/backend/exporter.md
b/docs/en/setup/backend/exporter.md
index 87f619053c..2917d09ca8 100644
--- a/docs/en/setup/backend/exporter.md
+++ b/docs/en/setup/backend/exporter.md
@@ -26,9 +26,10 @@ service MetricExportService {
}
```
-To activate the exporter, you should set
`${SW_EXPORTER_ENABLE_GRPC_METRICS:true}` and config the target gRPC server
address.
+To activate the exporter, you should set `${SW_EXPORTER:default}` and
`${SW_EXPORTER_ENABLE_GRPC_METRICS:true}`, configure the target gRPC server
address.
```yaml
exporter:
+ selector:${SW_EXPORTER:default}
default:
# gRPC exporter
enableGRPCMetrics: ${SW_EXPORTER_ENABLE_GRPC_METRICS:true}
@@ -72,9 +73,10 @@ message SegmentObject {
}
```
-To activate the exporter, you should set
`${SW_EXPORTER_ENABLE_KAFKA_TRACE:true}` and config the Kafka server.
+To activate the exporter, you should set `${SW_EXPORTER:default}` and
`${SW_EXPORTER_ENABLE_KAFKA_TRACE:true}`, configure the Kafka server addresses.
```yaml
exporter:
+ selector:${SW_EXPORTER:default}
default:
# Kafka exporter
enableKafkaTrace: ${SW_EXPORTER_ENABLE_KAFKA_TRACE:true}
@@ -111,9 +113,10 @@ message LogData {
}
```
-To activate the exporter, you should set
`${SW_EXPORTER_ENABLE_KAFKA_LOG:true}` and config the Kafka server.
+To activate the exporter, you should set `${SW_EXPORTER:default}` and
`${SW_EXPORTER_ENABLE_KAFKA_LOG:true}`, configure the Kafka server addresses.
```yaml
exporter:
+ selector:${SW_EXPORTER:default}
default:
# Kafka exporter
enableKafkaLog: ${SW_EXPORTER_ENABLE_KAFKA_LOG:true}