Skip to content
代码片段 群组 项目
提交 fd2185a1 编辑于 作者: Aleksei Lipniagov's avatar Aleksei Lipniagov
浏览文件

Enable mmap_stats GME probe

上级 90874497
No related branches found
No related tags found
无相关合并请求
f2d7e32cb5e3d8886a2bac5da2703b31f6a38d88 65bbfa0b62518691961de096e4a27d7c76307b7c
...@@ -45,7 +45,7 @@ def spawn(target, metrics_dir:, **options) ...@@ -45,7 +45,7 @@ def spawn(target, metrics_dir:, **options)
env = { env = {
'GOGC' => '10', # Set Go GC heap goal to 10% to curb memory growth. 'GOGC' => '10', # Set Go GC heap goal to 10% to curb memory growth.
'GME_MMAP_METRICS_DIR' => metrics_dir.to_s, 'GME_MMAP_METRICS_DIR' => metrics_dir.to_s,
'GME_PROBES' => 'self,mmap', 'GME_PROBES' => 'self,mmap,mmap_stats',
'GME_SERVER_HOST' => settings['address'], 'GME_SERVER_HOST' => settings['address'],
'GME_SERVER_PORT' => settings['port'].to_s 'GME_SERVER_PORT' => settings['port'].to_s
} }
......
...@@ -120,7 +120,7 @@ ...@@ -120,7 +120,7 @@
{ {
'GOGC' => '10', 'GOGC' => '10',
'GME_MMAP_METRICS_DIR' => metrics_dir, 'GME_MMAP_METRICS_DIR' => metrics_dir,
'GME_PROBES' => 'self,mmap', 'GME_PROBES' => 'self,mmap,mmap_stats',
'GME_SERVER_HOST' => 'localhost', 'GME_SERVER_HOST' => 'localhost',
'GME_SERVER_PORT' => expected_port, 'GME_SERVER_PORT' => expected_port,
'GME_LOG_LEVEL' => 'quiet' 'GME_LOG_LEVEL' => 'quiet'
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册