Skip to content

Commit 76ef0d6

Browse files
authored
Golden metrics and tags for Azure types (#82)
* Golden metrics and tags for Azure type * Remove the reference to summary_metrics.yml for Rabbit MQ nodes, in order to pass the validation tests.
1 parent 7bb8803 commit 76ef0d6

File tree

6 files changed

+87
-2
lines changed

6 files changed

+87
-2
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
domain: INFRA
22
type: AZURESTORAGEACCOUNT
3+
goldenTags:
4+
- azure.regionName
5+
- azure.subscriptionId
6+
- azure.type
7+
- azure.resourceGroupName
8+
- azure.hasSecondary
9+
- azure.provisioningState
310
compositeMetrics:
11+
goldenMetrics:
12+
- golden_metrics.yml
413
summaryMetrics:
514
- summary_metrics.yml
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
transactions:
2+
title: Transactions
3+
query:
4+
select: sum(transactions.Total)
5+
from: AzureStorageAccountSample
6+
facet: entityName
7+
eventId: entityGuid
8+
availabilityPercent:
9+
title: Availability
10+
query:
11+
select: average(availabilityPercent.Average)
12+
from: AzureStorageAccountSample
13+
facet: entityName
14+
eventId: entityGuid
15+
successE2ELatencyMilliseconds:
16+
title: Success E2E Latency (ms)
17+
query:
18+
select: average(successE2ELatencyMilliseconds.Average)
19+
from: AzureStorageAccountSample
20+
facet: entityName
21+
eventId: entityGuid
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,12 @@
11
domain: INFRA
22
type: AZUREVIRTUALMACHINESCALESET
3+
goldenTags:
4+
- azure.regionName
5+
- azure.subscriptionId
6+
- azure.type
7+
- azure.resourceGroupName
8+
compositeMetrics:
9+
goldenMetrics:
10+
- golden_metrics.yml
11+
summaryMetrics:
12+
- summary_metrics.yml
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
cpuPercent:
2+
title: CPU
3+
query:
4+
select: average(cpuPercent.Average)
5+
from: AzureVirtualMachineScaleSetSample
6+
facet: entityName
7+
eventId: entityGuid
8+
networkInTotal:
9+
title: Incoming traffic (bytes)
10+
query:
11+
select: average(networkInTotalBytes.Average)
12+
from: AzureVirtualMachineScaleSetSample
13+
facet: entityName
14+
eventId: entityGuid
15+
networkOutTotal:
16+
title: Outgoing traffic (bytes)
17+
query:
18+
select: average(networkOutTotalBytes.Average)
19+
from: AzureVirtualMachineScaleSetSample
20+
facet: entityName
21+
eventId: entityGuid
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
providerAccountName:
2+
tag:
3+
key: providerAccountName
4+
title: Azure Account
5+
unit: STRING
6+
cpuPercent:
7+
query:
8+
eventId: entityGuid
9+
select: average(cpuPercent.Average)
10+
from: AzureVirtualMachineScaleSetSample
11+
unit: PERCENTAGE
12+
title: CPU
13+
networkInTotal:
14+
query:
15+
eventId: entityGuid
16+
select: average(networkInTotalBytes.Average)
17+
from: AzureVirtualMachineScaleSetSample
18+
unit: BYTES
19+
title: Incoming
20+
networkOutTotal:
21+
query:
22+
eventId: entityGuid
23+
select: average(networkOutTotalBytes.Average)
24+
from: AzureVirtualMachineScaleSetSample
25+
unit: BYTES
26+
title: Outgoing

definitions/infra-rabbitmqnode/definition.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,3 @@ goldenTags:
55
compositeMetrics:
66
goldenMetrics:
77
- golden_metrics.yml
8-
summaryMetrics:
9-
- summary_metrics.yml

0 commit comments

Comments
 (0)