Skip to content
Snippets Groups Projects
  1. Feb 20, 2020
  2. Feb 13, 2020
  3. Nov 13, 2019
  4. Sep 18, 2019
  5. Aug 07, 2019
    • Sarah Yasonik's avatar
      Support dashboard params for metrics dashboard · bf918b68
      Sarah Yasonik authored
      https://gitlab.com/gitlab-org/gitlab-ce/issues/62971
      
      Adds support to EnvironmentsController#metrics_dashboard
      for the following params: group, title, y_label
      These params are used to uniquely identify a panel on
      the metrics dashboard.
      
      Metrics are stored in several places, so this adds
      utilities to find a specific panel from the database
      or filesystem depending on the metric specified.
      
      Also moves some shared utilities into separate classes,
      notably default values and errors.
      bf918b68
  6. Jul 29, 2019
  7. Jun 27, 2019
    • Sarah Yasonik's avatar
      Add permission check to dashboards · 9c50cf03
      Sarah Yasonik authored
      Adds permission checks to the metrics_dashboard endpoint. Users
      with role of Reporter or above should have access to view the
      metrics for a given project.
      9c50cf03
  8. Jun 20, 2019
    • Sarah Yasonik's avatar
      Add embedding flag and filter to CPU/Mem · f49dd76a
      Sarah Yasonik authored
      This commits adds support for metrics dashboards
      for embedding. If the flag 'embedded' is provided
      to the environments/id/metrics_dashboard endpoint,
      the response will be suitable for embedding in
      issues or other content.
      
      This is a precursor for support for embedding
      metrics in GFM.
      f49dd76a
  9. Jun 14, 2019
  10. Jun 06, 2019
    • syasonik's avatar
      Switch errors to inherit from a base class · ecdc50b1
      syasonik authored
      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
    • syasonik's avatar
      Expose prometheus endpoint per metric in dashboard · 54dd4403
      syasonik authored
      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
  11. May 01, 2019
    • Sarah Yasonik's avatar
      Update metrics dashboard API to load yml from repo · 552a3d2f
      Sarah Yasonik authored
      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
Loading