1. 07 6月, 2019 1 次提交
    • S
      Switch errors to inherit from a base class · ecdc50b1
      syasonik 提交于
      Error classes associated with individual stages of
      dashboard processing tend to have very long names.
      As dashboard post-processing includes more steps,
      we will likely need to handle more error cases.
      Refactoring to have all errors inherit from a specific
      base class will help accommodate this and keep the code
      more readable.
      ecdc50b1
  2. 06 6月, 2019 1 次提交
    • S
      Expose prometheus endpoint per metric in dashboard · 54dd4403
      syasonik 提交于
      Adds a new stage to dashboard processesing step for the
      EnvironmentsController::metrics_dashboard endpoint.
      
      Allows the front end to avoid generating the endpoint
      unitutive string mutations.
      54dd4403
  3. 01 5月, 2019 1 次提交
    • S
      Update metrics dashboard API to load yml from repo · 552a3d2f
      Sarah Yasonik 提交于
      Updates the EnvironmentController#metrics_dashboard endpoint
      to support a "dashboard" param, which can be used to specify
      the filepath of a dashboard configuration from a project
      repository. Dashboard configurations are expected to be
      stored in .gitlab/dashboards/.
      
      Updates dashboard post-processing steps to exclude custom
      metrics, which should only display on the system dashboard.
      552a3d2f