Skip to content

Commit

Permalink
[Product Partnerships] Added Azure Recovery Services Vault (#1598)
Browse files Browse the repository at this point in the history
* [Product Partnerships] Added Azure Recovery Services Vault

* [Product Partnerships] Added Azure Recovery Services Vault
  • Loading branch information
rahul188 authored Apr 25, 2024
1 parent fb740b8 commit 3c38d48
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 0 deletions.
21 changes: 21 additions & 0 deletions entity-types/infra-azurerecoveryservicesvaults/definition.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
domain: INFRA
type: AZURERECOVERYSERVICESVAULTS
goldenTags:
- azure.regionName
- azure.subscriptionId
configuration:
entityExpirationTime: DAILY
alertable: true
synthesis:
tags:
newrelic.cloudIntegrations.providerAccountName:
entityTagNames: [newrelic.cloudIntegrations.providerAccountName, providerAccountName]
rules:
- identifier: azure.resourceId
name: displayName
legacyFeatures:
overrideGuidType: true
encodeIdentifierInGUID: true
conditions:
- attribute: azure.resourceType
value: microsoft.recoveryservices/vaults
20 changes: 20 additions & 0 deletions entity-types/infra-azurerecoveryservicesvaults/golden_metrics.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
totalHealthyBackupEvent:
title: Total Healthy Restore Event
unit: COUNT
queries:
azure:
select: sum(azure.recoveryservices.vaults.BackupHealthEvent) AS 'Total Healthy Backup Event'
from: Metric
where: azure.recoveryservices.vaults.healthstatus = 'Healthy'
eventId: entity.guid
eventName: entity.name
totalHealthyRestoreEvent:
title: Total Healthy Restore Event
unit: COUNT
queries:
azure:
select: sum(azure.recoveryservices.vaults.RestoreHealthEvent) AS 'Total Healthy Restore Event'
from: Metric
where: azure.recoveryservices.vaults.healthstatus = 'Healthy'
eventId: entity.guid
eventName: entity.name
13 changes: 13 additions & 0 deletions entity-types/infra-azurerecoveryservicesvaults/summary_metrics.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
providerAccountName:
tag:
key: providerAccountName
title: Azure account
unit: STRING
totalHealthyBackupEvent:
goldenMetric: totalHealthyBackupEvent
unit: COUNT
title: Total healthy backup event
totalHealthyRestoreEvent:
goldenMetric: totalHealthyRestoreEvent
unit: COUNT
title: Total Healthy Restore Event

0 comments on commit 3c38d48

Please sign in to comment.