-
Notifications
You must be signed in to change notification settings - Fork 301
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from rudouglas/ruairi/gatsby-build
feat(gatsby-build): Added gatsby-build pack
- Loading branch information
Showing
5 changed files
with
233 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,23 @@ | ||
|
||
# Name of the pack | ||
name: Gatsby Build | ||
|
||
# Description of the pack | ||
description: |+ | ||
The Gatsby observability pack allows you to get visibility into the build time of your Gatsby Sites, | ||
using [Open Telemetry](https://docs.newrelic.com/docs/integrations/open-source-telemetry-integrations/opentelemetry/introduction-opentelemetry-new-relic/) | ||
to collect each step as a span in a Distributed Trace. This Dashboard lets you monitor your build in real-time to highlight which steps are affecting performance, | ||
so you can improve them faster. | ||
# Support level: New Relic | Verified | Community | ||
level: New Relic | ||
|
||
# Design | ||
icon: icon.png | ||
logo: logo.png | ||
|
||
# Authors of the pack | ||
authors: | ||
- New Relic | ||
- Ruairi Douglas |
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,210 @@ | ||
{ | ||
"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": null, | ||
"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": [ | ||
{ | ||
"accountId": 0, | ||
"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": [ | ||
{ | ||
"accountId": 0, | ||
"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": [ | ||
{ | ||
"accountId": 0, | ||
"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": [ | ||
{ | ||
"accountId": 0, | ||
"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": [ | ||
{ | ||
"accountId": 0, | ||
"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": [ | ||
{ | ||
"accountId": 0, | ||
"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": [ | ||
{ | ||
"accountId": 0, | ||
"query": "FROM Span SELECT average(duration.ms) SINCE 1 day ago FACET plugin" | ||
} | ||
] | ||
}, | ||
"linkedEntityGuids": null | ||
} | ||
] | ||
} | ||
] | ||
} | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.