prometheus_api_client_ruby:Ruby库,用于读取存储在Prometheus服务器上的指标

时间:2021-05-27 11:54:32
【文件属性】:
文件名称:prometheus_api_client_ruby:Ruby库,用于读取存储在Prometheus服务器上的指标
文件大小:21KB
文件格式:ZIP
更新时间:2021-05-27 11:54:32
ruby ruby-client prometheus-client-library prometheus-client prometheus-api Prometheus API Ruby客户端 一个用于读取存储在Prometheus服务器上的度量标准的Ruby库。 安装 gem install prometheus-api-client 用法 概述 require 'prometheus/api_client' # return a client for host http://localhost:9090/api/v1/ prometheus = Prometheus :: ApiClient . client 更改服务器主机名 # return a client for host http://example.com:9090/api/v1/ prometheus = Prometheus :: ApiClient . client ( url : 'http://example.com:9090' ) 认证代理 如果在P
【文件预览】:
prometheus_api_client_ruby-master
----.coveralls.yml(24B)
----lib()
--------prometheus.rb(114B)
--------prometheus()
----Gemfile(493B)
----spec()
--------vcr_cassettes()
--------prometheus()
--------spec_helper.rb(203B)
----Rakefile(366B)
----examples()
--------authentication_proxy.rb(1KB)
--------get_metrics.rb(1KB)
--------get_labels.rb(322B)
--------low_level.rb(460B)
----CONTRIBUTING.md(560B)
----.travis.yml(243B)
----LICENSE(11KB)
----prometheus-api-client.gemspec(723B)
----README.md(5KB)
----.rubocop.yml(438B)
----SECURITY.md(170B)
----.codecov.yml(26B)
----MAINTAINERS.md(38B)
----CODE_OF_CONDUCT.md(155B)
----.gitignore(28B)

网友评论