Add old config format cause the otlp OC handler only supports OAP server 9.2.0 (#9562)
This commit is contained in:
parent
5ad3782231
commit
4adf8b1933
|
|
@ -27,6 +27,14 @@ processors:
|
|||
batch:
|
||||
|
||||
exporters:
|
||||
####################################################################################
|
||||
# If you want to use otlp exporter please ensure that your OAP version is >= 9.2.0 #
|
||||
# or you can use oc exporter, The config format should be: #
|
||||
# opencensus: #
|
||||
# endpoint: "oap:11800" #
|
||||
# tls: #
|
||||
# insecure: true #
|
||||
####################################################################################
|
||||
otlp:
|
||||
endpoint: oap:11800
|
||||
tls:
|
||||
|
|
@ -39,4 +47,8 @@ service:
|
|||
processors:
|
||||
- batch
|
||||
exporters:
|
||||
#########################################
|
||||
# oc exporter config format: #
|
||||
# - opencensus #
|
||||
#########################################
|
||||
- otlp
|
||||
|
|
|
|||
|
|
@ -25,6 +25,14 @@ processors:
|
|||
batch:
|
||||
|
||||
exporters:
|
||||
####################################################################################
|
||||
# If you want to use otlp exporter please ensure that your OAP version is >= 9.2.0 #
|
||||
# or you can use oc exporter, The config format should be: #
|
||||
# opencensus: #
|
||||
# endpoint: "oap:11800" #
|
||||
# tls: #
|
||||
# insecure: true #
|
||||
####################################################################################
|
||||
otlp:
|
||||
endpoint: oap:11800
|
||||
tls:
|
||||
|
|
@ -39,5 +47,9 @@ service:
|
|||
processors:
|
||||
- batch
|
||||
exporters:
|
||||
#########################################
|
||||
# oc exporter config format: #
|
||||
# - opencensus #
|
||||
#########################################
|
||||
- logging
|
||||
- otlp
|
||||
- otlp
|
||||
|
|
@ -26,6 +26,14 @@ processors:
|
|||
batch:
|
||||
|
||||
exporters:
|
||||
####################################################################################
|
||||
# If you want to use otlp exporter please ensure that your OAP version is >= 9.2.0 #
|
||||
# or you can use oc exporter, The config format should be: #
|
||||
# opencensus: #
|
||||
# endpoint: "oap:11800" #
|
||||
# tls: #
|
||||
# insecure: true #
|
||||
####################################################################################
|
||||
otlp:
|
||||
endpoint: "oap:11800" # The OAP Server address
|
||||
###############################################################################
|
||||
|
|
@ -47,4 +55,8 @@ service:
|
|||
metrics:
|
||||
receivers: [prometheus]
|
||||
processors: [batch]
|
||||
#########################################
|
||||
# oc exporter config format: #
|
||||
# exporters: [opencensus,logging] #
|
||||
#########################################
|
||||
exporters: [otlp, logging]
|
||||
|
|
|
|||
Loading…
Reference in New Issue