Method: Cosmos::MetricModel.destroy

Defined in:
lib/cosmos/models/metric_model.rb

.destroy(scope:, name:) ⇒ Object



40
41
42
# File 'lib/cosmos/models/metric_model.rb', line 40

def self.destroy(scope:, name:)
  EphemeralStore.hdel("#{scope}#{PRIMARY_KEY}", name)
end