Sha256: e46921982f23334fe14a2ad300b099feb8331d726364f1fa49491c05b73a8d9f

Contents?: true

Size: 369 Bytes

Versions: 15

Compression:

Stored size: 369 Bytes

Contents

# encoding: UTF-8

require 'prometheus/client/registry'
require 'prometheus/client/config'

module Prometheus
  # Client is a ruby implementation for a Prometheus compatible client.
  module Client
    # Returns a default registry object
    def self.registry
      @registry ||= Registry.new
    end

    def self.config
      @config ||= Config.new
    end
  end
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
prometheus-client-4.2.3 lib/prometheus/client.rb
vm-client-1.0.0 lib/prometheus/client.rb
prometheus-client-4.2.2 lib/prometheus/client.rb
prometheus-client-4.2.1 lib/prometheus/client.rb
prometheus-client-4.2.0 lib/prometheus/client.rb
prometheus-client-4.1.0 lib/prometheus/client.rb
prometheus-client-4.0.0 lib/prometheus/client.rb
prometheus-client-3.0.0 lib/prometheus/client.rb
prometheus-client-2.1.0 lib/prometheus/client.rb
prometheus-client-2.0.0 lib/prometheus/client.rb
prometheus-client-1.0.0 lib/prometheus/client.rb
prometheus-client-0.11.0.pre.alpha.1 lib/prometheus/client.rb
prometheus-client-0.10.0 lib/prometheus/client.rb
prometheus-client-0.10.0.pre.alpha.2 lib/prometheus/client.rb
prometheus-client-0.10.0.pre.alpha.1 lib/prometheus/client.rb