Skip to content

Commit

Permalink
feat(pack): Added Azure Virtual Network
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilHammarstrand committed Jan 5, 2022
1 parent 2878f89 commit 0a4ad4c
Show file tree
Hide file tree
Showing 3 changed files with 162 additions and 0 deletions.
1 change: 1 addition & 0 deletions quickstarts/azure/azure-virtual-network/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ logo: logo.svg
level: New Relic
authors:
- New Relic
- Emil Hammarstrand
title: Azure Virtual Network
documentation:
- name: Azure Virtual Network installation docs
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,161 @@
{
"name": "Azure Virtual Network",
"description": null,
"pages": [
{
"name": "Azure Virtual Network",
"description": null,
"widgets": [
{
"visualization": {
"id": "viz.billboard"
},
"layout": {
"column": 1,
"row": 1,
"height": 3,
"width": 4
},
"title": "Total Virtual Networks",
"rawConfiguration": {
"dataFormatters": [],
"facet": {
"showOtherSeries": false
},
"nrqlQueries": [
{
"accountId": 0,
"query": "SELECT uniqueCount(entityId) as 'Virtual Network' FROM AzureVirtualNetworksSample WHERE providerAccountId LIKE '%'"
}
],
"thresholds": []
},
"linkedEntityGuids": null
},
{
"visualization": {
"id": "viz.line"
},
"layout": {
"column": 5,
"row": 1,
"height": 3,
"width": 4
},
"title": "Virtual Networks Timeseries",
"rawConfiguration": {
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountId": 0,
"query": "SELECT uniqueCount(entityId) as 'Virtual Network' FROM AzureVirtualNetworksSample WHERE providerAccountId LIKE '%' TIMESERIES 1 hour SINCE 1 week ago"
}
],
"yAxisLeft": {
"zero": true
}
},
"linkedEntityGuids": null
},
{
"visualization": {
"id": "viz.bar"
},
"layout": {
"column": 9,
"row": 1,
"height": 3,
"width": 4
},
"title": "Available IPs per Subnet",
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"nrqlQueries": [
{
"accountId": 0,
"query": "SELECT min(availableAddresses) as 'Available IPs' FROM AzureVirtualNetworksSubnetSample WHERE providerAccountId LIKE '%' FACET fullSubnetName"
}
]
},
"linkedEntityGuids": null
},
{
"visualization": {
"id": "viz.bar"
},
"layout": {
"column": 1,
"row": 4,
"height": 3,
"width": 4
},
"title": "Virtual Network per Region",
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"nrqlQueries": [
{
"accountId": 0,
"query": "SELECT uniqueCount(entityId) as 'Virtual Network' FROM AzureVirtualNetworksSample WHERE providerAccountId LIKE '%' FACET regionName"
}
]
},
"linkedEntityGuids": null
},
{
"visualization": {
"id": "viz.bar"
},
"layout": {
"column": 5,
"row": 4,
"height": 3,
"width": 4
},
"title": "Virtual Network per Resource Group",
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"nrqlQueries": [
{
"accountId": 0,
"query": "SELECT uniqueCount(entityId) as 'Virtual Network' FROM AzureVirtualNetworksSample WHERE providerAccountId LIKE '%' FACET resourceGroup"
}
]
},
"linkedEntityGuids": null
},
{
"visualization": {
"id": "viz.bar"
},
"layout": {
"column": 9,
"row": 4,
"height": 3,
"width": 4
},
"title": "Public IPs under DDoS attack",
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"nrqlQueries": [
{
"accountId": 0,
"query": "SELECT average(`inDdosBytesPerSecond.Total`) as 'Inbound Bytes per Second' FROM AzureVirtualNetworksPublicIpAddressSample WHERE `ifUnderDdosAttack.Total` >= 1 AND providerAccountId LIKE '%' FACET ipAddress"
}
]
},
"linkedEntityGuids": null
}
]
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0a4ad4c

Please sign in to comment.