跳到内容
onsuggest
登录
文章 en

Uncloud Prometheus, part II

来源: Miek Gieben ·

Had some fun playing with my fork of Uncloud . And making metrics work. Metrics are now part of Uncloud proper - uncloudplus can now drop it. In prometheus we use dns_sd_configs to pick up new things automatically: - job_name : uncloud dns_sd_configs : - names : [ "m.internal" ] type : A port : 51090 - job_name : caddy dns_sd_configs : - names : [ "caddy.internal" ] type : A port : 2019 For caddy metrics, we hack around a little… in the x-caddy file we deploy for Caddy add: metrics { per_host } But this serves metrics on localhost inside the container. So we need to export this, we can&

键盘快捷键

上一条发现
←P
下一条发现
→N
喜欢
L
不适合我
X
保存
S
显示此帮助
?
关闭
Esc

快捷键在发现页面上有效。