Created
August 31, 2021 18:00
-
-
Save rudouglas/6ccc3e20274c7b88ed8fb279ffd9747b to your computer and use it in GitHub Desktop.
Gatsby Build OTEL New Relic Dashboard
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
{ | |
"name": "Gatsby Build", | |
"description": "Monitor Telemetry traces from your Gatsby Build steps in production and develop", | |
"permissions": "PUBLIC_READ_WRITE", | |
"pages": [ | |
{ | |
"name": "Gatsby Build", | |
"description": "Monitor Telemetry traces from your Gatsby Build steps in production and develop", | |
"widgets": [ | |
{ | |
"visualization": { | |
"id": "viz.markdown" | |
}, | |
"layout": { | |
"column": 1, | |
"row": 1, | |
"height": 5, | |
"width": 4 | |
}, | |
"title": "", | |
"rawConfiguration": { | |
"text": "![](https://www.gatsbyjs.com/Gatsby-Monogram.svg)\n\n# Gatsby Build\n\nMonitor Telemetry traces from your Gatsby Build steps in production and develop" | |
}, | |
"linkedEntityGuids": null | |
}, | |
{ | |
"visualization": { | |
"id": "viz.area" | |
}, | |
"layout": { | |
"column": 5, | |
"row": 1, | |
"height": 4, | |
"width": 4 | |
}, | |
"title": "Average Duration by API (ms)", | |
"rawConfiguration": { | |
"facet": { | |
"showOtherSeries": false | |
}, | |
"legend": { | |
"enabled": true | |
}, | |
"nrqlQueries": [ | |
{ | |
"query": "SELECT average(`duration.ms`) FROM Span SINCE 24 hours ago FACET api TIMESERIES" | |
} | |
] | |
}, | |
"linkedEntityGuids": null | |
}, | |
{ | |
"visualization": { | |
"id": "viz.area" | |
}, | |
"layout": { | |
"column": 9, | |
"row": 1, | |
"height": 3, | |
"width": 4 | |
}, | |
"title": "Average Total Build time (ms)", | |
"rawConfiguration": { | |
"legend": { | |
"enabled": true | |
}, | |
"nrqlQueries": [ | |
{ | |
"query": "SELECT average(`duration.ms`) FROM Span SINCE 1 week ago TIMESERIES MAX " | |
} | |
] | |
}, | |
"linkedEntityGuids": null | |
}, | |
{ | |
"visualization": { | |
"id": "viz.line" | |
}, | |
"layout": { | |
"column": 9, | |
"row": 4, | |
"height": 3, | |
"width": 4 | |
}, | |
"title": "Average Total Build Time by Site (ms)", | |
"rawConfiguration": { | |
"facet": { | |
"showOtherSeries": false | |
}, | |
"legend": { | |
"enabled": true | |
}, | |
"nrqlQueries": [ | |
{ | |
"query": "SELECT average(`duration.ms`) FROM Span SINCE 1 Week Ago COMPARE WITH 1 week ago TIMESERIES MAX FACET entity.name" | |
} | |
], | |
"yAxisLeft": { | |
"zero": true | |
} | |
}, | |
"linkedEntityGuids": null | |
}, | |
{ | |
"visualization": { | |
"id": "viz.area" | |
}, | |
"layout": { | |
"column": 5, | |
"row": 5, | |
"height": 4, | |
"width": 4 | |
}, | |
"title": "Average Duration by Step (ms)", | |
"rawConfiguration": { | |
"facet": { | |
"showOtherSeries": false | |
}, | |
"legend": { | |
"enabled": true | |
}, | |
"nrqlQueries": [ | |
{ | |
"query": "SELECT average(`duration.ms`) FROM Span SINCE 1 day ago FACET name TIMESERIES" | |
} | |
] | |
}, | |
"linkedEntityGuids": null | |
}, | |
{ | |
"visualization": { | |
"id": "viz.table" | |
}, | |
"layout": { | |
"column": 1, | |
"row": 6, | |
"height": 1, | |
"width": 4 | |
}, | |
"title": "Exporters", | |
"rawConfiguration": { | |
"dataFormatters": [], | |
"facet": { | |
"showOtherSeries": false | |
}, | |
"nrqlQueries": [ | |
{ | |
"query": "FROM Span SELECT uniques(`opencensus.exporterversion`) AS 'Exporters' SINCE 1 day ago" | |
} | |
] | |
}, | |
"linkedEntityGuids": null | |
}, | |
{ | |
"visualization": { | |
"id": "viz.billboard" | |
}, | |
"layout": { | |
"column": 1, | |
"row": 7, | |
"height": 2, | |
"width": 4 | |
}, | |
"title": "Sites Monitored", | |
"rawConfiguration": { | |
"dataFormatters": [], | |
"nrqlQueries": [ | |
{ | |
"query": "SELECT uniqueCount(entity.name) AS 'This Week' FROM Span SINCE 1 week ago" | |
} | |
], | |
"thresholds": [] | |
}, | |
"linkedEntityGuids": null | |
}, | |
{ | |
"visualization": { | |
"id": "viz.pie" | |
}, | |
"layout": { | |
"column": 9, | |
"row": 7, | |
"height": 2, | |
"width": 4 | |
}, | |
"title": "Average Duration by Plugin", | |
"rawConfiguration": { | |
"facet": { | |
"showOtherSeries": true | |
}, | |
"nrqlQueries": [ | |
{ | |
"query": "FROM Span SELECT average(duration.ms) SINCE 1 day ago FACET plugin" | |
} | |
] | |
}, | |
"linkedEntityGuids": null | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment