Skip to content

Instantly share code, notes, and snippets.

@iamfuzz
Created June 19, 2020 17:16
Show Gist options
  • Save iamfuzz/0bced98a8fac5a978c0d30dfb9d63b2f to your computer and use it in GitHub Desktop.
Save iamfuzz/0bced98a8fac5a978c0d30dfb9d63b2f to your computer and use it in GitHub Desktop.
{
"dashboard": {
"id": 1092283,
"title": "Complexity Assessment",
"description": "",
"icon": "bar-chart",
"created_at": "2020-01-29T23:26:29Z",
"updated_at": "2020-01-31T08:53:12Z",
"visibility": "all",
"editable": "editable_by_all",
"ui_url": "https://insights.newrelic.com/accounts/2246998/dashboards/1092283",
"api_url": "https://api.newrelic.com/v2/dashboards/1092283",
"owner_email": "rlimbrey@newrelic.com",
"metadata": {
"version": 1
},
"widgets": [
{
"visualization": "facet_bar_chart",
"layout": {
"width": 8,
"height": 7,
"row": 1,
"column": 1
},
"widget_id": 15069316,
"account_id": 2246998,
"data": [
{
"nrql": "SELECT max(`Num Languages`)+max(`Unique Transactions`)+max(`SW Dependencies`) from complexity facet appName"
}
],
"presentation": {
"title": "Complexity Assessment Algorithm",
"notes": null,
"drilldown_dashboard_id": 1092283
}
},
{
"visualization": "attribute_sheet",
"layout": {
"width": 4,
"height": 3,
"row": 1,
"column": 9
},
"widget_id": 15069575,
"account_id": 2246998,
"data": [
{
"nrql": "FROM complexity select max(`Browser Dependencies`) as 'Browser Interfaces',max(`Database Dependencies`) as 'Databases',max(`SW Dependencies`) as 'Software Dependencies',max(`SW External Dependencies`) as 'External Dependencies'"
}
],
"presentation": {
"title": "Qualified Dependencies",
"notes": null
}
},
{
"visualization": "billboard",
"layout": {
"width": 4,
"height": 2,
"row": 4,
"column": 9
},
"widget_id": 15069576,
"account_id": 2246998,
"data": [
{
"nrql": "FROM complexity select max(`Unique Transactions`) as 'Transaction Classes'"
}
],
"presentation": {
"title": "Unique Transaction Types",
"notes": null,
"threshold": {
"red": 0,
"yellow": 0
}
}
},
{
"visualization": "billboard",
"layout": {
"width": 4,
"height": 2,
"row": 6,
"column": 9
},
"widget_id": 15069577,
"account_id": 2246998,
"data": [
{
"nrql": "FROM complexity select max(`Num Languages`)"
}
],
"presentation": {
"title": "Languages Used",
"notes": null,
"threshold": {
"red": null,
"yellow": null
}
}
}
],
"filter": {
"event_types": [
"complexity"
],
"attributes": []
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment