1. 10 8月, 2019 2 次提交
  2. 09 8月, 2019 1 次提交
  3. 08 8月, 2019 1 次提交
    • S
      Support dashboard params for metrics dashboard · bf918b68
      Sarah Yasonik 提交于
      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
  4. 17 7月, 2019 1 次提交
  5. 11 7月, 2019 1 次提交
  6. 20 6月, 2019 1 次提交
    • S
      Add embedding flag and filter to CPU/Mem · f49dd76a
      Sarah Yasonik 提交于
      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
  7. 14 6月, 2019 1 次提交
    • S
      Refactor for cleaner caching in dashboards · 15c8d29b
      Sarah Yasonik 提交于
      Opts to cache a full list of cached dashboards
      to better manage removing items from the cache.
      This also allows dashboards to be stored in the
      cache that don't necessarily correspond to a
      single dashboard yml.
      15c8d29b
  8. 13 6月, 2019 1 次提交
  9. 07 6月, 2019 2 次提交
  10. 20 5月, 2019 1 次提交
  11. 07 5月, 2019 1 次提交
  12. 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
  13. 29 4月, 2019 1 次提交
    • P
      Load environment metrics only for JSON endpoint · 80fec5c3
      Peter Leitzen 提交于
      When showing the HTML version of the environment metrics we don't need
      to fetch their metrics because we don't use them anymore on the HTML
      version.
      
      We use additional_metrics.json endpoint now.
      80fec5c3
  14. 25 4月, 2019 1 次提交
  15. 24 4月, 2019 16 次提交
  16. 09 4月, 2019 1 次提交
  17. 05 4月, 2019 1 次提交
  18. 03 4月, 2019 1 次提交
    • S
      Specify time window for additional metrics api · ab1e1b55
      syasonik 提交于
      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
  19. 07 2月, 2019 1 次提交
  20. 06 2月, 2019 1 次提交
  21. 30 1月, 2019 1 次提交
  22. 22 1月, 2019 1 次提交
    • S
      Support flat response for envs index route · db054bc1
      syasonik 提交于
      To support environment folders in the UI on the Environments List
      page, the environments index route previously returned one environment
      per folder, excluding those other than the latest deploy. However, the
      environtments dropdown on the metrics dashboard requires that any
      environment be selectable.
      
      To accommodate both use cases, support an optional 'nested' parameter
      in the index route to return either a flat, complete response or a
      nested response based on the use case in question. The new default
      response structure is the flat response.
      db054bc1
  23. 08 12月, 2018 1 次提交