From b86e1d468ee181862709ed740eaa61ec9678dc86 Mon Sep 17 00:00:00 2001 From: seolmin Date: Fri, 10 May 2024 11:02:30 +0900 Subject: [PATCH] fix: modify namespace yaml files Signed-off-by: seolmin --- .../metrics/ComputeEngine/Instance/instance_count.yaml | 4 ++-- .../inventory/metrics/ComputeEngine/Instance/memory_size.yaml | 4 ++-- .../inventory/metrics/ComputeEngine/Instance/namespace.yaml | 2 +- .../inventory/metrics/ComputeEngine/Instance/vcpu_count.yaml | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/spaceone/inventory/metrics/ComputeEngine/Instance/instance_count.yaml b/src/spaceone/inventory/metrics/ComputeEngine/Instance/instance_count.yaml index 2cf0b17..8c0db28 100644 --- a/src/spaceone/inventory/metrics/ComputeEngine/Instance/instance_count.yaml +++ b/src/spaceone/inventory/metrics/ComputeEngine/Instance/instance_count.yaml @@ -1,5 +1,5 @@ --- -metric_id: metric-gcp-computeengine-instance-count +metric_id: metric-gcp-ce-instance-count name: Instance Count metric_type: GAUGE resource_type: inventory.CloudService:google_cloud.ComputeEngine.Instance @@ -31,5 +31,5 @@ query_options: value: operator: count unit: Count -namespace_id: ns-gcp-computeengine-instance +namespace_id: ns-gcp-ce-instance version: '1.0' \ No newline at end of file diff --git a/src/spaceone/inventory/metrics/ComputeEngine/Instance/memory_size.yaml b/src/spaceone/inventory/metrics/ComputeEngine/Instance/memory_size.yaml index 3eabb6a..c041402 100644 --- a/src/spaceone/inventory/metrics/ComputeEngine/Instance/memory_size.yaml +++ b/src/spaceone/inventory/metrics/ComputeEngine/Instance/memory_size.yaml @@ -1,5 +1,5 @@ --- -metric_id: metric-gcp-computeengine-instance-memory-size +metric_id: metric-gcp-ce-instance-memory-size name: Memory Size metric_type: GAUGE resource_type: inventory.CloudService:google_cloud.ComputeEngine.Instance @@ -28,5 +28,5 @@ query_options: key: data.hardware.memory operator: sum unit: GB -namespace_id: ns-gcp-computeengine-instance +namespace_id: ns-gcp-ce-instance version: '1.0' \ No newline at end of file diff --git a/src/spaceone/inventory/metrics/ComputeEngine/Instance/namespace.yaml b/src/spaceone/inventory/metrics/ComputeEngine/Instance/namespace.yaml index eb9634d..e5c0c1d 100644 --- a/src/spaceone/inventory/metrics/ComputeEngine/Instance/namespace.yaml +++ b/src/spaceone/inventory/metrics/ComputeEngine/Instance/namespace.yaml @@ -1,5 +1,5 @@ --- -namespace_id: ns-gcp-computeengine-instance +namespace_id: ns-gcp-ce-instance name: ComputeEngine/Instance category: ASSET provider: google_cloud diff --git a/src/spaceone/inventory/metrics/ComputeEngine/Instance/vcpu_count.yaml b/src/spaceone/inventory/metrics/ComputeEngine/Instance/vcpu_count.yaml index deaa402..760ec8c 100644 --- a/src/spaceone/inventory/metrics/ComputeEngine/Instance/vcpu_count.yaml +++ b/src/spaceone/inventory/metrics/ComputeEngine/Instance/vcpu_count.yaml @@ -1,5 +1,5 @@ --- -metric_id: metric-gcp-computeengine-instance-vcpu-count +metric_id: metric-gcp-ce-instance-vcpu-count name: vCPU Count metric_type: GAUGE resource_type: inventory.CloudService:google_cloud.ComputeEngine.Instance @@ -28,5 +28,5 @@ query_options: key: data.hardware.core operator: sum unit: Core -namespace_id: ns-gcp-computeengine-instance +namespace_id: ns-gcp-ce-instance version: '1.0' \ No newline at end of file