Skip to content

Modify service health metric yaml #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
metric_id: metric-azure-service-health-health-history
name: Recommendation Count
name: Health History Count
metric_type: GAUGE
resource_type: inventory.CloudService:azure.ServiceHealth.HealthHistory
query_options:
Expand Down Expand Up @@ -30,8 +30,10 @@ query_options:
name: Subscription Name
- key: account
name: Subscription ID
- key: data.title
name: Title
fields:
value:
operator: count
namespace_id: ns-azure-service-health-health-history
version: '1.0'
version: '1.1'
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
metric_id: metric-azure-service-health-health-history-impacted-service-count
name: Impacted Service Count
metric_type: GAUGE
resource_type: inventory.CloudService:azure.ServiceHealth.HealthHistory
query_options:
unwind:
path: data.impacted_services_display
group_by:
- key: data.event_type
name: Event Type
- key: data.level
name: Level
- key: data.status
name: Status
- key: region_code
name: Region
reference:
resource_type: inventory.Region
reference_key: region_code
- key: data.impacted_services_display
name: Impacted Service
- key: data.tenant_id
name: Tenant ID
- key: data.subscription_name
name: Subscription Name
- key: account
name: Subscription ID
- key: data.impacted_services_display
name: Impacted Service
default: true
- key: data.title
name: Title
default: true
fields:
value:
operator: count
namespace_id: ns-azure-service-health-health-history
version: '1.0'
Loading