Sha256: 6aa039c7c9901ffea0abf020e805a4bf3ebc4e207b1709cee0eca3e9cc245408

Contents?: true

Size: 250 Bytes

Versions: 23

Compression:

Stored size: 250 Bytes

Contents

module PrometheusExporter::Server
  class TypeCollector
    def type
      raise "must implement type"
    end

    def collect(obj)
      raise "must implement collect"
    end

    def metrics
      raise "must implement metrics"
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
prometheus_exporter-0.4.10 lib/prometheus_exporter/server/type_collector.rb
prometheus_exporter-0.4.9 lib/prometheus_exporter/server/type_collector.rb
prometheus_exporter-0.4.8 lib/prometheus_exporter/server/type_collector.rb
prometheus_exporter-0.4.7 lib/prometheus_exporter/server/type_collector.rb
prometheus_exporter-0.4.6 lib/prometheus_exporter/server/type_collector.rb
prometheus_exporter-0.4.5 lib/prometheus_exporter/server/type_collector.rb
prometheus_exporter-0.4.4 lib/prometheus_exporter/server/type_collector.rb
prometheus_exporter-0.4.3 lib/prometheus_exporter/server/type_collector.rb
prometheus_exporter-0.4.2 lib/prometheus_exporter/server/type_collector.rb
prometheus_exporter-0.4.1 lib/prometheus_exporter/server/type_collector.rb
prometheus_exporter-0.4.0 lib/prometheus_exporter/server/type_collector.rb
prometheus_exporter-0.3.4 lib/prometheus_exporter/server/type_collector.rb
prometheus_exporter-0.3.3 lib/prometheus_exporter/server/type_collector.rb
prometheus_exporter-0.3.1 lib/prometheus_exporter/server/type_collector.rb
prometheus_exporter-0.3.0 lib/prometheus_exporter/server/type_collector.rb
prometheus_exporter-0.2.0 lib/prometheus_exporter/server/type_collector.rb
prometheus_exporter-0.1.16 lib/prometheus_exporter/server/type_collector.rb
prometheus_exporter-0.1.15 lib/prometheus_exporter/server/type_collector.rb
prometheus_exporter-0.1.14 lib/prometheus_exporter/server/type_collector.rb
prometheus_exporter-0.1.13 lib/prometheus_exporter/server/type_collector.rb