Prometheus远程写入mTLS
我正在尝试设置 Prometheus 到 Prometheus 指标流,我可以通过标志 --enable-feature=remote-write-receiver
来完成此操作。
但是我需要那里有 mTLS,有人可以建议手册或发布配置示例吗?
感谢你的帮助
I'm trying to set up Prometheus-to-Prometheus metrics flow, I was able to do it by flag --enable-feature=remote-write-receiver
.
However I need to have mTLS there, can someone advice a manual or post a config sample?
Appreciate you help
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
还有第二个配置文件,其中包含与 HTTP 服务器相关的实验选项,并且它具有启用 TLS 的选项:
此文件的文档位于 HTTPS 和身份验证 文章。请注意,创建此文件后,您必须使用额外选项启动 Prometheus:
以上内容将在接收部分进行配置。发送部分需要在其
remote_write
中配置客户端 TLS 证书:There is a second config file with experimental options related to HTTP server, and it has options to enable TLS:
The documentation on this file is located at the HTTPS AND AUTHENTICATION article. Note that after creating this file, you have to start Prometheus with the extra option:
The above is to be configured on the receiving part. The sending part needs a client TLS certificate configured in its
remote_write
: