sensu-plugins/sensu-plugins-sensu

View on GitHub
bin/metrics-events.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method run has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def run
    timestamp = Time.now.to_i

    status_count = {}
    status_count[1] = 0
Severity: Minor
Found in bin/metrics-events.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status