RigMetrics.EventsMetrics (Reactive Interaction Gateway v3.0.0-alpha.2) View Source

Metrics instrumenter for the Rig Events (consume, produce).

Link to this section Summary

Functions

Increases the Prometheus counters rig_consumed_events_total, rig_consumed_events_failed_total

Increases the Prometheus counter rig_produced_events_failed_total

Increases the Prometheus counter rig_consumed_events_forwarded_total

Increases the Prometheus counter rig_produced_events_total

Increases the Prometheus counters rig_consumed_events_total and observes histogram rig_consumed_event_processing_duration_milliseconds

Link to this section Functions

Link to this function

count_failed_event(source, topic)

View Source

Increases the Prometheus counters rig_consumed_events_total, rig_consumed_events_failed_total

Link to this function

count_failed_produce_event(target, topic)

View Source

Increases the Prometheus counter rig_produced_events_failed_total

Link to this function

count_forwarded_event(type)

View Source

Increases the Prometheus counter rig_consumed_events_forwarded_total

Link to this function

count_produced_event(target, topic)

View Source

Increases the Prometheus counter rig_produced_events_total

Link to this function

measure_event_processing(source, topic, time)

View Source

Increases the Prometheus counters rig_consumed_events_total and observes histogram rig_consumed_event_processing_duration_milliseconds