debian-mirror-gitlab/app/services/metrics/dashboard/pod_dashboard_service.rb

20 lines
474 B
Ruby
Raw Normal View History

2020-01-01 13:55:28 +05:30
# frozen_string_literal: true
module Metrics
module Dashboard
class PodDashboardService < ::Metrics::Dashboard::PredefinedDashboardService
DASHBOARD_PATH = 'config/prometheus/pod_metrics.yml'
DASHBOARD_NAME = 'Pod Health'
2020-07-28 23:09:34 +05:30
# SHA256 hash of dashboard content
DASHBOARD_VERSION = 'f12f641d2575d5dcb69e2c633ff5231dbd879ad35020567d8fc4e1090bfdb4b4'
private
def dashboard_version
DASHBOARD_VERSION
end
2020-01-01 13:55:28 +05:30
end
end
end