代码拉取完成,页面将自动刷新
package stats
import (
s "github.com/elastic/beats/metricbeat/schema"
c "github.com/elastic/beats/metricbeat/schema/mapstrstr"
)
var (
schema = s.Schema{
"pid": c.Int("pid"),
"uptime": s.Object{
"sec": c.Int("uptime"),
},
"threads": c.Int("threads"),
"connections": s.Object{
"current": c.Int("curr_connections"),
"total": c.Int("total_connections"),
},
"get": s.Object{
"hits": c.Int("get_hits"),
"misses": c.Int("get_misses"),
},
"cmd": s.Object{
"get": c.Int("cmd_set"),
"set": c.Int("cmd_get"),
},
"read": s.Object{
"bytes": c.Int("bytes_read"),
},
"written": s.Object{
"bytes": c.Int("bytes_written"),
},
"items": s.Object{
"current": c.Int("curr_items"),
"total": c.Int("total_items"),
},
"evictions": c.Int("evictions"),
}
)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。