Commit 91a30dea authored by Arturo Herrero's avatar Arturo Herrero

Merge branch '329094-Deprecate-and-remove-service-template-metrics' into 'master'

Remove service template metrics

See merge request gitlab-org/gitlab!71286
parents d93885e3 bb5d424b
...@@ -7,7 +7,8 @@ product_stage: ecosystem ...@@ -7,7 +7,8 @@ product_stage: ecosystem
product_group: group::integrations product_group: group::integrations
product_category: integrations product_category: integrations
value_type: number value_type: number
status: active status: removed
milestone_removed: '14.4'
time_frame: all time_frame: all
data_source: database data_source: database
distribution: distribution:
......
...@@ -7,7 +7,8 @@ product_stage: ecosystem ...@@ -7,7 +7,8 @@ product_stage: ecosystem
product_group: group::integrations product_group: group::integrations
product_category: integrations product_category: integrations
value_type: number value_type: number
status: active status: removed
milestone_removed: '14.4'
time_frame: all time_frame: all
data_source: database data_source: database
distribution: distribution:
......
...@@ -7,7 +7,8 @@ product_stage: ecosystem ...@@ -7,7 +7,8 @@ product_stage: ecosystem
product_group: group::integrations product_group: group::integrations
product_category: integrations product_category: integrations
value_type: number value_type: number
status: active status: removed
milestone_removed: '14.4'
time_frame: all time_frame: all
data_source: database data_source: database
distribution: distribution:
......
...@@ -7,7 +7,8 @@ product_stage: ecosystem ...@@ -7,7 +7,8 @@ product_stage: ecosystem
product_group: group::integrations product_group: group::integrations
product_category: integrations product_category: integrations
value_type: number value_type: number
status: active status: removed
milestone_removed: '14.4'
time_frame: all time_frame: all
data_source: database data_source: database
distribution: distribution:
......
...@@ -7,7 +7,8 @@ product_stage: ecosystem ...@@ -7,7 +7,8 @@ product_stage: ecosystem
product_group: group::integrations product_group: group::integrations
product_category: integrations product_category: integrations
value_type: number value_type: number
status: active status: removed
milestone_removed: '14.4'
time_frame: all time_frame: all
data_source: database data_source: database
distribution: distribution:
......
...@@ -7,7 +7,8 @@ product_stage: ecosystem ...@@ -7,7 +7,8 @@ product_stage: ecosystem
product_group: group::integrations product_group: group::integrations
product_category: integrations product_category: integrations
value_type: number value_type: number
status: active status: removed
milestone_removed: '14.4'
time_frame: all time_frame: all
data_source: database data_source: database
distribution: distribution:
......
...@@ -7,7 +7,8 @@ product_stage: ecosystem ...@@ -7,7 +7,8 @@ product_stage: ecosystem
product_group: group::integrations product_group: group::integrations
product_category: integrations product_category: integrations
value_type: number value_type: number
status: active status: removed
milestone_removed: '14.4'
time_frame: all time_frame: all
data_source: database data_source: database
distribution: distribution:
......
...@@ -7,7 +7,8 @@ product_stage: ecosystem ...@@ -7,7 +7,8 @@ product_stage: ecosystem
product_group: group::integrations product_group: group::integrations
product_category: integrations product_category: integrations
value_type: number value_type: number
status: active status: removed
milestone_removed: '14.4'
time_frame: all time_frame: all
data_source: database data_source: database
distribution: distribution:
......
...@@ -7,7 +7,8 @@ product_stage: ecosystem ...@@ -7,7 +7,8 @@ product_stage: ecosystem
product_group: group::integrations product_group: group::integrations
product_category: integrations product_category: integrations
value_type: number value_type: number
status: active status: removed
milestone_removed: '14.4'
time_frame: all time_frame: all
data_source: database data_source: database
distribution: distribution:
......
...@@ -7,7 +7,8 @@ product_stage: ecosystem ...@@ -7,7 +7,8 @@ product_stage: ecosystem
product_group: group::integrations product_group: group::integrations
product_category: integrations product_category: integrations
value_type: number value_type: number
status: active status: removed
milestone_removed: '14.4'
time_frame: all time_frame: all
data_source: database data_source: database
distribution: distribution:
......
...@@ -7,7 +7,8 @@ product_stage: ecosystem ...@@ -7,7 +7,8 @@ product_stage: ecosystem
product_group: group::integrations product_group: group::integrations
product_category: integrations product_category: integrations
value_type: number value_type: number
status: active status: removed
milestone_removed: '14.4'
time_frame: all time_frame: all
data_source: database data_source: database
distribution: distribution:
......
...@@ -7,7 +7,8 @@ product_stage: ecosystem ...@@ -7,7 +7,8 @@ product_stage: ecosystem
product_group: group::integrations product_group: group::integrations
product_category: integrations product_category: integrations
value_type: number value_type: number
status: active status: removed
milestone_removed: '14.4'
time_frame: all time_frame: all
data_source: database data_source: database
distribution: distribution:
......
...@@ -7,7 +7,8 @@ product_stage: ecosystem ...@@ -7,7 +7,8 @@ product_stage: ecosystem
product_group: group::integrations product_group: group::integrations
product_category: integrations product_category: integrations
value_type: number value_type: number
status: active status: removed
milestone_removed: '14.4'
time_frame: all time_frame: all
data_source: database data_source: database
distribution: distribution:
......
...@@ -7,7 +7,8 @@ product_stage: ecosystem ...@@ -7,7 +7,8 @@ product_stage: ecosystem
product_group: group::integrations product_group: group::integrations
product_category: integrations product_category: integrations
value_type: number value_type: number
status: active status: removed
milestone_removed: '14.4'
time_frame: all time_frame: all
data_source: database data_source: database
distribution: distribution:
......
...@@ -7,7 +7,8 @@ product_stage: ecosystem ...@@ -7,7 +7,8 @@ product_stage: ecosystem
product_group: group::integrations product_group: group::integrations
product_category: integrations product_category: integrations
value_type: number value_type: number
status: active status: removed
milestone_removed: '14.4'
time_frame: all time_frame: all
data_source: database data_source: database
distribution: distribution:
......
...@@ -7,7 +7,8 @@ product_stage: ecosystem ...@@ -7,7 +7,8 @@ product_stage: ecosystem
product_group: group::integrations product_group: group::integrations
product_category: integrations product_category: integrations
value_type: number value_type: number
status: active status: removed
milestone_removed: '14.4'
time_frame: all time_frame: all
data_source: database data_source: database
distribution: distribution:
......
...@@ -7,7 +7,8 @@ product_stage: ecosystem ...@@ -7,7 +7,8 @@ product_stage: ecosystem
product_group: group::integrations product_group: group::integrations
product_category: integrations product_category: integrations
value_type: number value_type: number
status: active status: removed
milestone_removed: '14.4'
time_frame: all time_frame: all
data_source: database data_source: database
distribution: distribution:
......
...@@ -7,7 +7,8 @@ product_stage: ecosystem ...@@ -7,7 +7,8 @@ product_stage: ecosystem
product_group: group::integrations product_group: group::integrations
product_category: integrations product_category: integrations
value_type: number value_type: number
status: active status: removed
milestone_removed: '14.4'
time_frame: all time_frame: all
data_source: database data_source: database
distribution: distribution:
......
...@@ -7,7 +7,8 @@ product_stage: ecosystem ...@@ -7,7 +7,8 @@ product_stage: ecosystem
product_group: group::integrations product_group: group::integrations
product_category: integrations product_category: integrations
value_type: number value_type: number
status: active status: removed
milestone_removed: '14.4'
time_frame: all time_frame: all
data_source: database data_source: database
distribution: distribution:
......
...@@ -7,7 +7,8 @@ product_stage: ecosystem ...@@ -7,7 +7,8 @@ product_stage: ecosystem
product_group: group::integrations product_group: group::integrations
product_category: integrations product_category: integrations
value_type: number value_type: number
status: active status: removed
milestone_removed: '14.4'
time_frame: all time_frame: all
data_source: database data_source: database
distribution: distribution:
......
...@@ -7,7 +7,8 @@ product_stage: ecosystem ...@@ -7,7 +7,8 @@ product_stage: ecosystem
product_group: group::integrations product_group: group::integrations
product_category: integrations product_category: integrations
value_type: number value_type: number
status: active status: removed
milestone_removed: '14.4'
time_frame: all time_frame: all
data_source: database data_source: database
distribution: distribution:
......
...@@ -7,7 +7,8 @@ product_stage: ecosystem ...@@ -7,7 +7,8 @@ product_stage: ecosystem
product_group: group::integrations product_group: group::integrations
product_category: integrations product_category: integrations
value_type: number value_type: number
status: active status: removed
milestone_removed: '14.4'
time_frame: all time_frame: all
data_source: database data_source: database
distribution: distribution:
......
...@@ -7,7 +7,8 @@ product_stage: ecosystem ...@@ -7,7 +7,8 @@ product_stage: ecosystem
product_group: group::integrations product_group: group::integrations
product_category: integrations product_category: integrations
value_type: number value_type: number
status: active status: removed
milestone_removed: '14.4'
time_frame: all time_frame: all
data_source: database data_source: database
distribution: distribution:
......
...@@ -7,7 +7,8 @@ product_stage: ecosystem ...@@ -7,7 +7,8 @@ product_stage: ecosystem
product_group: group::integrations product_group: group::integrations
product_category: integrations product_category: integrations
value_type: number value_type: number
status: active status: removed
milestone_removed: '14.4'
time_frame: all time_frame: all
data_source: database data_source: database
distribution: distribution:
......
...@@ -7,7 +7,8 @@ product_stage: ecosystem ...@@ -7,7 +7,8 @@ product_stage: ecosystem
product_group: group::integrations product_group: group::integrations
product_category: integrations product_category: integrations
value_type: number value_type: number
status: active status: removed
milestone_removed: '14.4'
time_frame: all time_frame: all
data_source: database data_source: database
distribution: distribution:
......
...@@ -7,7 +7,8 @@ product_stage: ecosystem ...@@ -7,7 +7,8 @@ product_stage: ecosystem
product_group: group::integrations product_group: group::integrations
product_category: integrations product_category: integrations
value_type: number value_type: number
status: active status: removed
milestone_removed: '14.4'
time_frame: all time_frame: all
data_source: database data_source: database
distribution: distribution:
......
...@@ -7,7 +7,8 @@ product_stage: ecosystem ...@@ -7,7 +7,8 @@ product_stage: ecosystem
product_group: group::integrations product_group: group::integrations
product_category: integrations product_category: integrations
value_type: number value_type: number
status: active status: removed
milestone_removed: '14.4'
time_frame: all time_frame: all
data_source: database data_source: database
distribution: distribution:
......
...@@ -7,7 +7,8 @@ product_stage: ecosystem ...@@ -7,7 +7,8 @@ product_stage: ecosystem
product_group: group::integrations product_group: group::integrations
product_category: integrations product_category: integrations
value_type: number value_type: number
status: active status: removed
milestone_removed: '14.4'
time_frame: all time_frame: all
data_source: database data_source: database
distribution: distribution:
......
...@@ -7,7 +7,8 @@ product_stage: ecosystem ...@@ -7,7 +7,8 @@ product_stage: ecosystem
product_group: group::integrations product_group: group::integrations
product_category: integrations product_category: integrations
value_type: number value_type: number
status: active status: removed
milestone_removed: '14.4'
time_frame: all time_frame: all
data_source: database data_source: database
distribution: distribution:
......
...@@ -7,7 +7,8 @@ product_stage: ecosystem ...@@ -7,7 +7,8 @@ product_stage: ecosystem
product_group: group::integrations product_group: group::integrations
product_category: integrations product_category: integrations
value_type: number value_type: number
status: active status: removed
milestone_removed: '14.4'
time_frame: all time_frame: all
data_source: database data_source: database
distribution: distribution:
......
...@@ -7,7 +7,8 @@ product_stage: ecosystem ...@@ -7,7 +7,8 @@ product_stage: ecosystem
product_group: group::integrations product_group: group::integrations
product_category: integrations product_category: integrations
value_type: number value_type: number
status: active status: removed
milestone_removed: '14.4'
time_frame: all time_frame: all
data_source: database data_source: database
distribution: distribution:
......
...@@ -7,7 +7,8 @@ product_stage: monitor ...@@ -7,7 +7,8 @@ product_stage: monitor
product_group: group::monitor product_group: group::monitor
product_category: metrics product_category: metrics
value_type: number value_type: number
status: active status: removed
milestone_removed: '14.4'
time_frame: all time_frame: all
data_source: database data_source: database
distribution: distribution:
......
...@@ -7,7 +7,8 @@ product_stage: ecosystem ...@@ -7,7 +7,8 @@ product_stage: ecosystem
product_group: group::integrations product_group: group::integrations
product_category: integrations product_category: integrations
value_type: number value_type: number
status: active status: removed
milestone_removed: '14.4'
time_frame: all time_frame: all
data_source: database data_source: database
distribution: distribution:
......
...@@ -7,7 +7,8 @@ product_stage: ecosystem ...@@ -7,7 +7,8 @@ product_stage: ecosystem
product_group: group::integrations product_group: group::integrations
product_category: integrations product_category: integrations
value_type: number value_type: number
status: active status: removed
milestone_removed: '14.4'
time_frame: all time_frame: all
data_source: database data_source: database
distribution: distribution:
......
...@@ -7,7 +7,8 @@ product_stage: ecosystem ...@@ -7,7 +7,8 @@ product_stage: ecosystem
product_group: group::integrations product_group: group::integrations
product_category: integrations product_category: integrations
value_type: number value_type: number
status: active status: removed
milestone_removed: '14.4'
time_frame: all time_frame: all
data_source: database data_source: database
distribution: distribution:
......
...@@ -404,7 +404,6 @@ module Gitlab ...@@ -404,7 +404,6 @@ module Gitlab
response[:"projects_#{name}_active"] = count(Integration.active.where.not(project: nil).where(type: type)) response[:"projects_#{name}_active"] = count(Integration.active.where.not(project: nil).where(type: type))
response[:"groups_#{name}_active"] = count(Integration.active.where.not(group: nil).where(type: type)) response[:"groups_#{name}_active"] = count(Integration.active.where.not(group: nil).where(type: type))
response[:"templates_#{name}_active"] = count(Integration.active.where(template: true, type: type))
response[:"instances_#{name}_active"] = count(Integration.active.where(instance: true, type: type)) response[:"instances_#{name}_active"] = count(Integration.active.where(instance: true, type: type))
response[:"projects_inheriting_#{name}_active"] = count(Integration.active.where.not(project: nil).where.not(inherit_from_id: nil).where(type: type)) response[:"projects_inheriting_#{name}_active"] = count(Integration.active.where.not(project: nil).where.not(inherit_from_id: nil).where(type: type))
response[:"groups_inheriting_#{name}_active"] = count(Integration.active.where.not(group: nil).where.not(inherit_from_id: nil).where(type: type)) response[:"groups_inheriting_#{name}_active"] = count(Integration.active.where.not(group: nil).where.not(inherit_from_id: nil).where(type: type))
......
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