• Sarah Yasonik's avatar
    Add finder for prometheus metrics · 83f253da
    Sarah Yasonik authored
    Adds a finder for the PrometheusMetric class to create a unified
    way to retrieve instances of the class. Note that this should not
    be confused with the PrometheusMetric model used for importing
    common metrics into the database.
    
    Updates all retrievals of PrometheusMetric instances to use the
    new PrometheusMetricFinder class.
    83f253da
metrics_controller.rb 3.41 KB