diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-11-27 16:35:16 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-11-28 14:47:59 +0300 |
commit | 53da3d976f3705a87edc50dca41748b5e479fc83 (patch) | |
tree | 665bca72e99ce5033b814ac6cb94cce11ea63825 /lib/gitlab/prometheus/queries | |
parent | 1d7e3ef1a55991e057213add556926eb13e0bd48 (diff) |
Replce kubernetes_service and deployment_service to deployment_platform
Diffstat (limited to 'lib/gitlab/prometheus/queries')
-rw-r--r-- | lib/gitlab/prometheus/queries/query_additional_metrics.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/prometheus/queries/query_additional_metrics.rb b/lib/gitlab/prometheus/queries/query_additional_metrics.rb index 7ac6162b54d..5cddc96a643 100644 --- a/lib/gitlab/prometheus/queries/query_additional_metrics.rb +++ b/lib/gitlab/prometheus/queries/query_additional_metrics.rb @@ -76,7 +76,7 @@ module Gitlab timeframe_start: timeframe_start, timeframe_end: timeframe_end, ci_environment_slug: environment.slug, - kube_namespace: environment.project.kubernetes_service&.actual_namespace || '', + kube_namespace: environment.project.deployment_platform&.actual_namespace || '', environment_filter: %{container_name!="POD",environment="#{environment.slug}"} } end |