• syasonik's avatar
    Specify time window for additional metrics api · ab1e1b55
    syasonik authored
    Adds support for start and end parameters in the #additional_metrics
    endpoint of the EnvironmentsController. start and end are meant to be
    unix timestamps, per the Prometheus API (as the consumer of this
    endpoint will eventually be transitioned to a prometheus endpoint).
    This functionality is behind the :metrics_time_window feature flag
    for development.
    ab1e1b55
environment.rb 7.28 KB