Module: Prometheus::ApiClient
- Defined in:
- lib/prometheus/api_client.rb,
lib/prometheus/api_client/client.rb,
lib/prometheus/api_client/version.rb
Overview
Client is a ruby implementation for a Prometheus compatible api_client.
Defined Under Namespace
Classes: Client
Constant Summary collapse
- VERSION =
'0.6.3'
Class Method Summary collapse
-
.client(options = {}) ⇒ Object
Create a Prometheus API client:.
Class Method Details
.client(options = {}) ⇒ Object
Create a Prometheus API client:
A default client is created if options is omitted.
22 23 24 |
# File 'lib/prometheus/api_client.rb', line 22 def self.client( = {}) Client.new() end |