-
Notifications
You must be signed in to change notification settings - Fork 278
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add cox_generic entity definition (#1708)
- Loading branch information
Showing
4 changed files
with
91 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"name": "Cox_Generic_Entity_Template", | ||
"description": null, | ||
"pages": [ | ||
{ | ||
"name": "Cox_Generic_Entity_Template", | ||
"description": null, | ||
"widgets": [ | ||
{ | ||
"title": "Status", | ||
"layout": { | ||
"column": 1, | ||
"row": 1, | ||
"width": 4, | ||
"height": 3 | ||
}, | ||
"visualization": { | ||
"id": "viz.billboard" | ||
}, | ||
"rawConfiguration": { | ||
"facet": { | ||
"showOtherSeries": false | ||
}, | ||
"nrqlQueries": [ | ||
{ | ||
"accountId": 0, | ||
"query": "SELECT latest(state) as 'Current State' FROM Metric WHERE source='coxGenericSysHealthPulse' SINCE 1 day ago" | ||
} | ||
], | ||
"platformOptions": { | ||
"ignoreTimeRange": false | ||
} | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
domain: EXT | ||
type: COX_GENERIC | ||
|
||
synthesis: | ||
rules: | ||
- identifier: appName | ||
name: appName | ||
encodeIdentifierInGUID: true | ||
conditions: | ||
- attribute: source | ||
value: coxGenericSysHealthPulse | ||
tags: | ||
stack: | ||
state: | ||
multiValue: false | ||
domain: | ||
application: | ||
|
||
dashboardTemplates: | ||
newRelic: | ||
template: dashboard.json | ||
|
||
configuration: | ||
entityExpirationTime: EIGHT_DAYS | ||
alertable: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
state: | ||
tag: | ||
key: state | ||
title: State | ||
unit: STRING |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[ | ||
{ | ||
"LeadershipDashboard": "No", | ||
"appName": "OSS - Contour 2 - Video", | ||
"application": "Contour 2", | ||
"csrt.productId": 3, | ||
"csrt.syndicated.gauge": { | ||
"type": "gauge", | ||
"count": 1, | ||
"sum": 0, | ||
"min": 0, | ||
"max": 0, | ||
"latest": 0 | ||
}, | ||
"csrt.timestamp": 1721640327.472786, | ||
"domain": "Video", | ||
"metricName": "csrt.syndicated.gauge", | ||
"newrelic.source": "metricAPI", | ||
"source": "coxGenericSysHealthPulse", | ||
"stack": "OSS", | ||
"state": "Green" | ||
} | ||
] |