sensu-plugins/sensu-plugins-apache

View on GitHub
bin/metrics-apache-graphite.rb

Summary

Maintainability
A
1 hr
Test Coverage

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

  def run
    timestamp = Time.now.to_i
    stats = {}
    acquire_mod_status.split("\n").each do |line| # rubocop:disable Metrics/BlockLength
      name, value = line.split(': ')
Severity: Minor
Found in bin/metrics-apache-graphite.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status