Replace deprecated opensearch sink configuration fields in examples (#1029)

Signed-off-by: Hai Yan <oeyh@amazon.com>

Signed-off-by: Hai Yan <oeyh@amazon.com>
This commit is contained in:
Hai Yan 2022-08-30 13:06:45 -05:00 committed by GitHub
parent f65dce5a68
commit 2dcdf12bd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -102,7 +102,7 @@ raw-pipeline:
insecure: true
username: admin
password: admin
trace_analytics_raw: true
index_type: trace-analytics-raw
service-map-pipeline:
delay: "100"
source:
@ -116,7 +116,7 @@ service-map-pipeline:
insecure: true
username: admin
password: admin
trace_analytics_service_map: true
index_type: trace-analytics-service-map
```
#### Event record type
@ -155,7 +155,7 @@ raw-pipeline:
insecure: true
username: admin
password: admin
trace_analytics_raw: true
index_type: trace-analytics-raw
service-map-pipeline:
delay: "100"
source:
@ -173,7 +173,7 @@ service-map-pipeline:
insecure: true
username: admin
password: admin
trace_analytics_service_map: true
index_type: trace-analytics-service-map
```
Note that it is recommended to scale the `buffer_size` and `batch_size` by the estimated maximum batch size in the client request payload to maintain similar ingestion throughput and latency as in [Classic](#classic).