Enhance the instruction about the kafka and gRPC exporters. (#11951)
This commit is contained in:
parent
40f160cf9a
commit
2aed50e861
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in New Issue