Module: Frankenstein::RemoveTimeSeries

Defined in:
lib/frankenstein/remove_time_series.rb

Overview

Mix-in to add #remove to Prometheus metrics

Defined Under Namespace

Modules: SynchronizedMetricStore

Instance Method Summary collapse

Instance Method Details

#remove(labels) ⇒ Object

Remove a time series from a metric.

Parameters:

  • labels (Hash<Symbol, String>)

    the label set to remove.



8
9
10
# File 'lib/frankenstein/remove_time_series.rb', line 8

def remove(labels)
	@store.remove(labels)
end