Sha256: ca837bf30bcedd183eb6ce85f3fff419c4c23bf810c2bc807c2343b956f35b7f

Contents?: true

Size: 324 Bytes

Versions: 28

Compression:

Stored size: 324 Bytes

Contents

# frozen_string_literal: true

module PrometheusExporter::Server

  # minimal interface to implement a customer collector
  class CollectorBase

    # called each time a string is delivered from the web
    def process(str)
    end

    # a string denoting the metrics
    def prometheus_metrics_text(str)
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
prometheus_exporter-2.1.1 lib/prometheus_exporter/server/collector_base.rb
prometheus_exporter-2.1.0 lib/prometheus_exporter/server/collector_base.rb
prometheus_exporter-2.0.8 lib/prometheus_exporter/server/collector_base.rb
prometheus_exporter-2.0.7 lib/prometheus_exporter/server/collector_base.rb
prometheus_exporter-2.0.6 lib/prometheus_exporter/server/collector_base.rb
prometheus_exporter-2.0.5 lib/prometheus_exporter/server/collector_base.rb
prometheus_exporter-2.0.4 lib/prometheus_exporter/server/collector_base.rb
prometheus_exporter-2.0.3 lib/prometheus_exporter/server/collector_base.rb
prometheus_exporter-2.0.2 lib/prometheus_exporter/server/collector_base.rb
prometheus_exporter-2.0.1 lib/prometheus_exporter/server/collector_base.rb
prometheus_exporter-2.0.0 lib/prometheus_exporter/server/collector_base.rb
prometheus_exporter-1.0.1 lib/prometheus_exporter/server/collector_base.rb
prometheus_exporter-1.0.0 lib/prometheus_exporter/server/collector_base.rb
prometheus_exporter-0.8.1 lib/prometheus_exporter/server/collector_base.rb
prometheus_exporter-0.8.0 lib/prometheus_exporter/server/collector_base.rb
prometheus_exporter-0.7.0 lib/prometheus_exporter/server/collector_base.rb
prometheus_exporter-0.6.0 lib/prometheus_exporter/server/collector_base.rb
prometheus_exporter-0.5.3 lib/prometheus_exporter/server/collector_base.rb
prometheus_exporter-0.5.2 lib/prometheus_exporter/server/collector_base.rb
prometheus_exporter-0.5.1 lib/prometheus_exporter/server/collector_base.rb