Skip to content

Commit

Permalink
Merge pull request #38 from appsignal/ruby-vm-metrics
Browse files Browse the repository at this point in the history
Display Ruby VM probe metrics as gauges with a hostname tag
  • Loading branch information
tombruijn authored Jul 28, 2022
2 parents 7ea69ac + 01249df commit 1d96750
Showing 1 changed file with 25 additions and 41 deletions.
66 changes: 25 additions & 41 deletions dashboards/ruby_vm/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@
"field": "GAUGE"
}
],
"tags": []
"tags": [
{
"key": "hostname",
"value": "*"
}
]
}
],
"type": "timeseries"
Expand All @@ -38,19 +43,17 @@
"name": "gc_count",
"fields": [
{
"field": "MEAN"
},
{
"field": "P90"
},
{
"field": "P95"
"field": "GAUGE"
}
],
"tags": [
{
"key": "metric",
"value": "*"
},
{
"key": "hostname",
"value": "*"
}
]
}
Expand All @@ -69,19 +72,17 @@
"name": "heap_slots",
"fields": [
{
"field": "MEAN"
},
{
"field": "P90"
},
{
"field": "P95"
"field": "GAUGE"
}
],
"tags": [
{
"key": "metric",
"value": "*"
},
{
"key": "hostname",
"value": "*"
}
]
}
Expand All @@ -100,19 +101,17 @@
"name": "ruby_vm",
"fields": [
{
"field": "MEAN"
},
{
"field": "P90"
},
{
"field": "P95"
"field": "GAUGE"
}
],
"tags": [
{
"key": "metric",
"value": "*"
},
{
"key": "hostname",
"value": "*"
}
]
}
Expand All @@ -134,27 +133,12 @@
"field": "GAUGE"
}
],
"tags": []
}
],
"type": "timeseries"
},
{
"title": "GC total time",
"description": "The total garbage collection time, in milliseconds",
"line_label": "%name%",
"display": "LINE",
"format": "number",
"draw_null_as_zero": true,
"metrics": [
{
"name": "gc_total_time",
"fields": [
"tags": [
{
"field": "GAUGE"
"key": "hostname",
"value": "*"
}
],
"tags": []
]
}
],
"type": "timeseries"
Expand Down

0 comments on commit 1d96750

Please sign in to comment.