yabeda-prometheus:适配器,将Yabeda插件收集的度量标准公开给Prometheus

时间:2021-05-22 19:39:25
【文件属性】:
文件名称:yabeda-prometheus:适配器,将Yabeda插件收集的度量标准公开给Prometheus
文件大小:15KB
文件格式:ZIP
更新时间:2021-05-22 19:39:25
monitoring prometheus yabeda Ruby Yabeda :: 适配器,可轻松将您收集的指标从应用程序导出到 ! 多一个? 为什么不X? –基于各种过程(Web,作业等)能够在单台机器上进行通信的假设。 但是在容器化环境中,您的所有过程都在不同的“机器”上! –实际上启发了所有这些宝石,但似乎被遗弃并且缺乏可扩展性。 安装 将此行添加到您的应用程序的Gemfile中: gem 'yabeda-prometheus' 然后执行: $ bundle 用法 从正在运行的Web服务器中导出: 在运行应用程序之前,将以下内容放在config.ru : use Yabeda :: Prometheus :: Exporter 指标将在/metrics路径(由:path选项配置)上可用。 您也可以将其作为独立的Rack应用程序安装在Rails应用程序路由中。 从长时间运行的进程(延迟的作业,…)运行Web服务器:
【文件预览】:
yabeda-prometheus-master
----.gitignore(126B)
----README.md(5KB)
----.rubocop.yml(1KB)
----CHANGELOG.md(3KB)
----bin()
--------console(270B)
--------setup(131B)
----yabeda-prometheus.gemspec(1KB)
----.github()
--------workflows()
----Gemfile(313B)
----.rspec(53B)
----spec()
--------yabeda()
--------spec_helper.rb(444B)
----LICENSE.txt(1KB)
----lib()
--------yabeda()
----Rakefile(145B)

网友评论