mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
APM: Support distributed tracing by Tencent Cloud APM. v5.0.63
This commit is contained in:
parent
736c661808
commit
3e2f8622f8
49 changed files with 4989 additions and 719 deletions
|
@ -4,6 +4,9 @@
|
|||
#############################################################################################
|
||||
# Global sections
|
||||
#############################################################################################
|
||||
# Config file, specified by cli such as `-c conf/srs.conf`.
|
||||
# Overwrite by env SRS_CONFIG_FILE
|
||||
|
||||
# The id of server, for stat and api identification.
|
||||
# Note that SRS will generate a random id if not configured.
|
||||
# Overwrite by env SRS_SERVER_ID
|
||||
|
@ -575,10 +578,10 @@ circuit_breaker {
|
|||
dying_pulse 5;
|
||||
}
|
||||
|
||||
# TencentCloud CLS config, logging to cloud.
|
||||
# TencentCloud CLS(Cloud Log Service) config, logging to cloud.
|
||||
# See https://cloud.tencent.com/document/product/614/11254
|
||||
tencentcloud_cls {
|
||||
# Whether heartbeat is enabled.
|
||||
# Whether CLS is enabled.
|
||||
# Overwrite by env SRS_TENCENTCLOUD_CLS_ENABLED
|
||||
# default: off
|
||||
enabled off;
|
||||
|
@ -625,6 +628,29 @@ tencentcloud_cls {
|
|||
streams_ratio 1;
|
||||
}
|
||||
|
||||
# TencentCloud APM(Application Performance Management) config.
|
||||
# See https://cloud.tencent.com/document/product/1463/57462
|
||||
tencentcloud_apm {
|
||||
# Whether APM is enabled.
|
||||
# Overwrite by env SRS_TENCENTCLOUD_APM_ENABLED
|
||||
# default: off
|
||||
enabled on;
|
||||
# The APM token for authentication. See https://console.cloud.tencent.com/apm/monitor/access
|
||||
# Overwrite by env SRS_TENCENTCLOUD_APM_TOKEN
|
||||
token xxxxxxxx;
|
||||
# The APM endpoint. See https://github.com/open-telemetry/opentelemetry-go/tree/main/exporters/otlp/otlptrace
|
||||
# Overwrite by env SRS_TENCENTCLOUD_APM_ENDPOINT
|
||||
endpoint ap-guangzhou.apm.tencentcs.com:55681;
|
||||
# The service.name of resource.
|
||||
# Overwrite by env SRS_TENCENTCLOUD_APM_SERVICE_NAME
|
||||
# Default: srs-server
|
||||
service_name srs-server;
|
||||
# Whether enable logging for each log sending.
|
||||
# Overwrite by env SRS_TENCENTCLOUD_APM_DEBUG_LOGGING
|
||||
# Default: off
|
||||
debug_logging off;
|
||||
}
|
||||
|
||||
#############################################################################################
|
||||
# heartbeat/stats sections
|
||||
#############################################################################################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue