Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DiDi
nightingale
提交
df5a3a37
N
nightingale
项目概览
DiDi
/
nightingale
10 个月 前同步成功
通知
46
Star
7053
Fork
1161
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
N
nightingale
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
df5a3a37
编写于
6月 22, 2022
作者:
U
Ulric Qin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
refactor docker-compose.yaml for categraf
上级
5ec14c58
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
5 addition
and
72 deletion
+5
-72
docker/categraf/conf/input.kubernetes/kubernetes.toml
docker/categraf/conf/input.kubernetes/kubernetes.toml
+0
-41
docker/categraf/conf/input.procstat/procstat.toml
docker/categraf/conf/input.procstat/procstat.toml
+0
-31
docker/docker-compose.yaml
docker/docker-compose.yaml
+5
-0
未找到文件。
docker/categraf/conf/input.kubernetes/kubernetes.toml
已删除
100644 → 0
浏览文件 @
5ec14c58
# # collect interval
# interval = 15
[[instances]]
# # append some labels for series
# labels = { region="cloud", product="n9e" }
# # interval = global.interval * interval_times
# interval_times = 1
# URL for the kubelet
url
=
"https://127.0.0.1:10250"
gather_system_container_metrics
=
true
gather_node_metrics
=
true
gather_pod_container_metrics
=
true
gather_pod_volume_metrics
=
true
gather_pod_network_metrics
=
true
## Use bearer token for authorization. ('bearer_token' takes priority)
## If both of these are empty, we'll use the default serviceaccount:
## at: /var/run/secrets/kubernetes.io/serviceaccount/token
# bearer_token = "/path/to/bearer/token"
## OR
# bearer_token_string = "abc_123"
## Pod labels to be added as tags. An empty array for both include and
## exclude will include all labels.
# label_include = []
# label_exclude = ["*"]
## Set response_timeout (default 5 seconds)
# response_timeout = "5s"
## Optional TLS Config
use_tls
=
true
# tls_ca = "/etc/categraf/ca.pem"
# tls_cert = "/etc/categraf/cert.pem"
# tls_key = "/etc/categraf/key.pem"
## Use TLS but skip chain & host verification
insecure_skip_verify
=
true
docker/categraf/conf/input.procstat/procstat.toml
已删除
100644 → 0
浏览文件 @
5ec14c58
# # collect interval
# interval = 15
# [[instances]]
# # executable name (ie, pgrep <search_exec_substring>)
# search_exec_substring = "nginx"
# # pattern as argument for pgrep (ie, pgrep -f <search_cmdline_substring>)
# search_cmdline_substring = "n9e server"
# # windows service name
# search_win_service = ""
# # append some labels for series
# labels = { region="cloud", product="n9e" }
# # interval = global.interval * interval_times
# interval_times = 1
# # mode to use when calculating CPU usage. can be one of 'solaris' or 'irix'
# mode = "irix"
# gather_more_metrics = [
# "threads",
# "fd",
# "io",
# "uptime",
# "cpu",
# "mem",
# "limit"
# ]
docker/docker-compose.yaml
浏览文件 @
df5a3a37
...
...
@@ -141,8 +141,13 @@ services:
restart
:
always
environment
:
TZ
:
Asia/Shanghai
HOST_PROC
:
/hostfs/proc
HOST_SYS
:
/hostfs/sys
HOST_MOUNT_PREFIX
:
/hostfs
volumes
:
-
./categraf/conf:/etc/categraf/conf
-
/:/hostfs
-
/var/run/docker.sock:/var/run/docker.sock
ports
:
-
"
8094:8094/tcp"
networks
:
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录