Skip to content

Commit

Permalink
[Product Partnerships] Added AWS Workspace Entity (#1438)
Browse files Browse the repository at this point in the history
Co-authored-by: Andre Dymel <[email protected]>
  • Loading branch information
rahul188 and andre-nr authored Feb 7, 2024
1 parent 485acd1 commit b658248
Show file tree
Hide file tree
Showing 4 changed files with 185 additions and 0 deletions.
135 changes: 135 additions & 0 deletions entity-types/infra-awsworkspacesweb/dashboard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
{
"name": "AWS Workspace Web",
"description": null,
"pages": [
{
"name": "AWS Workspace Web",
"description": null,
"widgets": [
{
"title": "",
"layout": {
"column": 1,
"row": 1,
"width": 3,
"height": 3
},
"visualization": {
"id": "viz.markdown"
},
"rawConfiguration": {
"text": "# Amazon Workspace Web\nAmazon WorkSpaces Web is an on-demand, fully managed, Linux-based service designed to facilitate secure browser access to internal websites and software-as-a-service (SaaS) applications. Access the service from existing web browsers, without the administrative burden of infrastructure management, specialized client software, or virtual private network (VPN) solutions."
}
},
{
"title": "SessionAttempt",
"layout": {
"column": 4,
"row": 1,
"width": 9,
"height": 3
},
"visualization": {
"id": "viz.line"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountId": 0,
"query": "FROM Metric SELECT sum(aws.workspacesweb.SessionAttempt) AS 'SessionAttempt' WHERE aws.Namespace = 'AWS/WorkSpacesWeb' TIMESERIES AUTO "
}
],
"platformOptions": {
"ignoreTimeRange": false
},

"yAxisLeft": {
"zero": true
},
"yAxisRight": {
"zero": true
}
}
},
{
"title": "SessionSuccess",
"layout": {
"column": 1,
"row": 4,
"width": 4,
"height": 4
},
"visualization": {
"id": "viz.line"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountId": 0,
"query": "FROM Metric SELECT sum(aws.workspacesweb.SessionSuccess) AS 'SessionSuccess' WHERE aws.Namespace = 'AWS/WorkSpacesWeb' TIMESERIES AUTO "
}
],
"platformOptions": {
"ignoreTimeRange": false
},

"yAxisLeft": {
"zero": true
},
"yAxisRight": {
"zero": true
}
}
},
{
"title": "SessionFailure",
"layout": {
"column": 5,
"row": 4,
"width": 8,
"height": 4
},
"visualization": {
"id": "viz.line"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountId": 0,
"query": "FROM Metric SELECT sum(aws.workspacesweb.SessionFailure) AS 'SessionFailure' WHERE aws.Namespace = 'AWS/WorkSpacesWeb' TIMESERIES AUTO "
}
],
"platformOptions": {
"ignoreTimeRange": false
},

"yAxisLeft": {
"zero": true
},
"yAxisRight": {
"zero": true
}
}
}
]
}
]
}
14 changes: 14 additions & 0 deletions entity-types/infra-awsworkspacesweb/definition.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
domain: INFRA
type: AWSWORKSPACESWEB
goldenTags:
- aws.accountId
- aws.environmentName
- aws.region
- aws.workspacesweb.PortalId
dashboardTemplates:
newRelic:
template: dashboard.json
filterNRQLByEntityID: true
configuration:
entityExpirationTime: DAILY
alertable: true
18 changes: 18 additions & 0 deletions entity-types/infra-awsworkspacesweb/golden_metrics.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
sessionSuccess:
title: Session success
unit: COUNT
queries:
aws:
select: count(aws.workspacesweb.SessionSuccess)
from: Metric
eventId: entity.guid
eventName: entity.name
sessionFailure:
title: Connection failure
unit: COUNT
queries:
aws:
select: count(aws.workspacesweb.SessionFailure)
from: Metric
eventId: entity.guid
eventName: entity.name
18 changes: 18 additions & 0 deletions entity-types/infra-awsworkspacesweb/summary_metrics.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
providerAccountName:
title: AWS account
unit: STRING
tag:
key: providerAccountName
region:
title: Region
unit: STRING
tag:
key: aws.awsRegion
sessionSuccess:
goldenMetric: sessionSuccess
title: Session success
unit: COUNT
sessionFailure:
goldenMetric: sessionFailure
title: Session failure
unit: COUNT

0 comments on commit b658248

Please sign in to comment.