Skip to content

Commit

Permalink
Merge pull request #36 from appsignal/add-hostname-to-v8-dashboard
Browse files Browse the repository at this point in the history
Add hostname to V8 dashboard
  • Loading branch information
unflxw authored Jan 12, 2022
2 parents 7b3aeab + 1ca75c7 commit b1061b2
Showing 1 changed file with 43 additions and 17 deletions.
60 changes: 43 additions & 17 deletions dashboards/nodejs/gc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{
"title": "Heap",
"description": "V8 Heap Statistics",
"line_label": "%name%",
"line_label": "%name% - %hostname%",
"display": "LINE",
"format": "size",
"format_input": "byte",
Expand All @@ -22,7 +22,12 @@
"field": "GAUGE"
}
],
"tags": []
"tags": [
{
"key": "hostname",
"value": "*"
}
]
},
{
"name": "nodejs_total_heap_size_executable",
Expand All @@ -31,7 +36,12 @@
"field": "GAUGE"
}
],
"tags": []
"tags": [
{
"key": "hostname",
"value": "*"
}
]
},
{
"name": "nodejs_used_heap_size",
Expand All @@ -40,7 +50,12 @@
"field": "GAUGE"
}
],
"tags": []
"tags": [
{
"key": "hostname",
"value": "*"
}
]
},
{
"name": "nodejs_total_physical_size",
Expand All @@ -49,16 +64,12 @@
"field": "GAUGE"
}
],
"tags": []
},
{
"name": "nodejs_peak_malloced_memory",
"fields": [
"tags": [
{
"field": "GAUGE"
"key": "hostname",
"value": "*"
}
],
"tags": []
]
},
{
"name": "nodejs_malloced_memory",
Expand All @@ -67,15 +78,20 @@
"field": "GAUGE"
}
],
"tags": []
"tags": [
{
"key": "hostname",
"value": "*"
}
]
}
],
"type": "timeseries"
},
{
"title": "Native Contexts",
"description": "The number of the top-level contexts currently active. Increase of this number over time indicates a memory leak.",
"line_label": "%name%",
"line_label": "%name% - %hostname%",
"display": "LINE",
"format": "number",
"draw_null_as_zero": true,
Expand All @@ -87,15 +103,20 @@
"field": "GAUGE"
}
],
"tags": []
"tags": [
{
"key": "hostname",
"value": "*"
}
]
}
],
"type": "timeseries"
},
{
"title": "Detached Contexts",
"description": "The number of contexts that were detached and not yet garbage collected. This number being non-zero indicates a potential memory leak.",
"line_label": "%name%",
"line_label": "%name% - %hostname%",
"display": "LINE",
"format": "number",
"draw_null_as_zero": true,
Expand All @@ -107,7 +128,12 @@
"field": "GAUGE"
}
],
"tags": []
"tags": [
{
"key": "hostname",
"value": "*"
}
]
}
],
"type": "timeseries"
Expand Down

0 comments on commit b1061b2

Please sign in to comment.