From d9097c1dd414f1a21bcb70aea506518f41730b49 Mon Sep 17 00:00:00 2001 From: ImMin5 Date: Sun, 8 Sep 2024 00:26:31 +0900 Subject: [PATCH] feat: modify namespace and metrics --- src/plugin/metrics/Projects/issue/namespace.yaml | 6 +++--- src/plugin/metrics/Projects/issue/projects_issue_count.yaml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/plugin/metrics/Projects/issue/namespace.yaml b/src/plugin/metrics/Projects/issue/namespace.yaml index 5680736..aa6b08e 100644 --- a/src/plugin/metrics/Projects/issue/namespace.yaml +++ b/src/plugin/metrics/Projects/issue/namespace.yaml @@ -1,8 +1,8 @@ --- -namespace_id: ns-jira-software-projects-issue +namespace_id: ns-jira-projects-issue name: Projects/Issue category: ASSET -resource_type: inventory.CloudService:jira_software.Projects.Issue -group: jira_software +resource_type: inventory.CloudService:jira.Projects.Issue +group: jira icon: https://spaceone-custom-assets.s3.ap-northeast-2.amazonaws.com/console-assets/icons/jira-icon.png" version: '1.0' \ No newline at end of file diff --git a/src/plugin/metrics/Projects/issue/projects_issue_count.yaml b/src/plugin/metrics/Projects/issue/projects_issue_count.yaml index a243820..f188ba4 100644 --- a/src/plugin/metrics/Projects/issue/projects_issue_count.yaml +++ b/src/plugin/metrics/Projects/issue/projects_issue_count.yaml @@ -1,8 +1,8 @@ --- -metric_id: metric-jira-software-projects-issue-count +metric_id: metric-jira-projects-issue-count name: Project Count metric_type: GAUGE -resource_type: inventory.CloudService:jira_software.Projects.Issue +resource_type: inventory.CloudService:jira.Projects.Issue query_options: group_by: - key: data.fields.project.name @@ -20,5 +20,5 @@ query_options: value: operator: count unit: Count -namespace_id: ns-jira-software-projects-issue +namespace_id: ns-jira-projects-issue version: '1.0' \ No newline at end of file