Commit c719c378 authored by Luis Mejia's avatar Luis Mejia

Deprecate related projects_with_prometheus_alerts metrics

Changes status to deprecated for projects_with_prometheus_alerts and pod_logs_usages_total metrics

Changelog: deprecated
parent 9bac0b35
...@@ -6,7 +6,7 @@ product_stage: ...@@ -6,7 +6,7 @@ product_stage:
product_group: group::monitor product_group: group::monitor
product_category: metrics product_category: metrics
value_type: number value_type: number
status: data_available status: deprecated
time_frame: 28d time_frame: 28d
data_source: database data_source: database
distribution: distribution:
......
...@@ -6,7 +6,7 @@ product_stage: ...@@ -6,7 +6,7 @@ product_stage:
product_group: group::configure product_group: group::configure
product_category: kubernetes_management product_category: kubernetes_management
value_type: number value_type: number
status: data_available status: deprecated
time_frame: all time_frame: all
data_source: data_source:
distribution: distribution:
......
...@@ -15332,7 +15332,7 @@ Projects with Prometheus alerting enabled ...@@ -15332,7 +15332,7 @@ Projects with Prometheus alerting enabled
Group: `group::configure` Group: `group::configure`
Status: `data_available` Status: `deprecated`
Tiers: `free`, `premium`, `ultimate` Tiers: `free`, `premium`, `ultimate`
...@@ -17170,7 +17170,7 @@ Projects with Prometheus alerting enabled ...@@ -17170,7 +17170,7 @@ Projects with Prometheus alerting enabled
Group: `group::monitor` Group: `group::monitor`
Status: `data_available` Status: `deprecated`
Tiers: `free`, `premium`, `ultimate` Tiers: `free`, `premium`, `ultimate`
......
...@@ -201,7 +201,7 @@ module EE ...@@ -201,7 +201,7 @@ module EE
issues_with_health_status: count(::Issue.with_health_status, start: minimum_id(::Issue), finish: maximum_id(::Issue)), issues_with_health_status: count(::Issue.with_health_status, start: minimum_id(::Issue), finish: maximum_id(::Issue)),
ldap_keys: count(::LDAPKey), ldap_keys: count(::LDAPKey),
ldap_users: count(::User.ldap, 'users.id'), ldap_users: count(::User.ldap, 'users.id'),
pod_logs_usages_total: Gitlab::UsageData::DEPRECATED_VALUE, pod_logs_usages_total: ::Gitlab::UsageData::DEPRECATED_VALUE,
merged_merge_requests_using_approval_rules: count(::MergeRequest.merged.joins(:approval_rules), # rubocop: disable CodeReuse/ActiveRecord merged_merge_requests_using_approval_rules: count(::MergeRequest.merged.joins(:approval_rules), # rubocop: disable CodeReuse/ActiveRecord
start: minimum_id(::MergeRequest), start: minimum_id(::MergeRequest),
finish: maximum_id(::MergeRequest)), finish: maximum_id(::MergeRequest)),
...@@ -234,7 +234,7 @@ module EE ...@@ -234,7 +234,7 @@ module EE
super.merge({ super.merge({
projects_slack_notifications_active: distinct_count(::Project.with_slack_service.where(time_period), :creator_id), projects_slack_notifications_active: distinct_count(::Project.with_slack_service.where(time_period), :creator_id),
projects_slack_slash_active: distinct_count(::Project.with_slack_slash_commands_service.where(time_period), :creator_id), projects_slack_slash_active: distinct_count(::Project.with_slack_slash_commands_service.where(time_period), :creator_id),
projects_with_prometheus_alerts: Gitlab::UsageData::DEPRECATED_VALUE projects_with_prometheus_alerts: ::Gitlab::UsageData::DEPRECATED_VALUE
}) })
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment