Skip to content

Commit

Permalink
opcache graph def
Browse files Browse the repository at this point in the history
  • Loading branch information
Poil committed Apr 30, 2015
1 parent f1fcb7d commit 69a9193
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 0 deletions.
14 changes: 14 additions & 0 deletions plugin/bind.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"dns_qtype_cached": {
"title": "cache_rr_sets {{HOST}}",
"type": "stacked",
"legend": {
"value": {
"name": "Current",
"color": "00e000"
}
},
"legend_format": "%.1lf"
}
}

66 changes: 66 additions & 0 deletions plugin/curl_json-opcache.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"cache_result-opcache_statistics": {
"title": "Cache query on {{HOST}}",
"vertical": "Queries",
"type": "stacked",
"legend_format": "%5.1lf%s",
"legend": {
"opcache_statistics-hits": {
"name": "Hits",
"color": "00ff00"
},
"opcache_statistics-misses": {
"name": "Misses",
"color": "ff0000"
}
}
},
"cache_size-memory_usage": {
"title": "Cache size on {{HOST}}",
"vertical": "Bytes",
"type": "stacked",
"legend_format": "%5.1lf%s",
"legend": {
"memory_usage-free_memory": {
"name": "Free",
"color": "00ff00"
},
"memory_usage-used_memory": {
"name": "Used",
"color": "ff0000"
}
}
},
"files-opcache_statistics": {
"title": "Files on {{HOST}}",
"vertical": "Files",
"type": "stackedtotal",
"legend_format": "%5.1lf%s",
"legend": {
"opcache_statistics-num_cached_keys": {
"name": "Num cached keys",
"color": "ff0000"
},
"opcache_statistics-num_cached_scripts": {
"name": "Num cached scripts",
"color": "ff00ff"
},
"opcache_statistics-max_cached_keys": {
"name": "Max cached keys",
"color": "00ff00"
}
}
},
"cache_ratio-opcache_statistics": {
"title": "Ratio on {{HOST}}",
"vertical": "%",
"type": "stacked",
"legend_format": "%5.1lf%s",
"legend": {
"opcache_statistics-opcache_hit_rate": {
"name": "Hit rate",
"color": "00ff00"
}
}
}
}

0 comments on commit 69a9193

Please sign in to comment.