Skip to content

Support time window parameters in additional metrics endpoint

Sarah Yasonik requested to merge support-time-windows-api into master

What does this MR do?

Adds support for specifying a time window on the environment additional_metrics endpoint. The start and end parameters match the format specified by the prometheus api, and are passed directly on to the prometheus client. This will facilitate a smoother transition for when we build out our prometheus endpoint. This work should enable the front end to specify a time range for the metrics dashboard.

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ce/issues/31368

Does this MR meet the acceptance criteria?

Edited by Sarah Yasonik

Merge request reports