2015-05-26 23:09:10 +08:00
|
|
|
|
#
|
2016-04-24 12:48:03 +08:00
|
|
|
|
# OneApm Ruby探针配置
|
2015-05-26 23:09:10 +08:00
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
common: &default_settings
|
|
|
|
|
|
|
|
|
|
license_key: 'BAQMBw8FUwR2542UFFpDXFgVVk66e2dZWB4EBlQHSf846wgBGwICFQoD0498BAEfBgNIAlQ='
|
|
|
|
|
|
2016-04-24 12:48:03 +08:00
|
|
|
|
# 您在这里填写的app_name会显示在OneAPM的管理后台界面中。
|
2015-05-26 23:09:10 +08:00
|
|
|
|
#
|
2016-04-24 12:48:03 +08:00
|
|
|
|
# 如果您修改了此处的app_name,一个新的应用会出现在后台,
|
|
|
|
|
# 数据会上传到这个新应用,并停止向旧的应用上传数据。
|
2015-05-26 23:09:10 +08:00
|
|
|
|
#
|
2016-07-15 14:45:01 +08:00
|
|
|
|
app_name: trustie_wechat
|
2015-05-26 23:09:10 +08:00
|
|
|
|
|
2016-04-24 12:48:03 +08:00
|
|
|
|
#
|
|
|
|
|
# 环境相关配置
|
|
|
|
|
#
|
2015-05-26 23:09:10 +08:00
|
|
|
|
|
2016-04-24 12:48:03 +08:00
|
|
|
|
production:
|
|
|
|
|
<<: *default_settings
|
|
|
|
|
monitor_mode: true
|
2015-05-26 23:09:10 +08:00
|
|
|
|
|
|
|
|
|
development:
|
|
|
|
|
<<: *default_settings
|
2016-04-24 12:48:03 +08:00
|
|
|
|
# development模式下,探针开启并上传性能数据
|
2015-05-26 23:09:10 +08:00
|
|
|
|
monitor_mode: true
|
2016-07-15 14:45:01 +08:00
|
|
|
|
app_name: My Application (Development)
|
2015-05-26 23:09:10 +08:00
|
|
|
|
|
|
|
|
|
test:
|
|
|
|
|
<<: *default_settings
|
|
|
|
|
monitor_mode: false
|
|
|
|
|
|
|
|
|
|
staging:
|
|
|
|
|
<<: *default_settings
|
|
|
|
|
monitor_mode: true
|
|
|
|
|
app_name: My Application (Staging)
|