Prometheus

karrot.reporters.prometheus.controllers.metrics()[source]
class karrot.reporters.prometheus.models.PrometheusReporter(name)[source]

Bases: karrot.reporters.models.Reporter

process(event)[source]

Refresh the object with the event details. A child class should call this parent function and then implement the proper processing steps for the event.

Parameters:event (str) – A
stats(reporter)[source]

Increment the number of events processed by the reporter.