2020-06-11 17:12:51 +02:00
{
2023-05-02 22:13:52 +02:00
"__inputs" : [
{
"name" : "DS_PROMETHEUS" ,
"label" : "Prometheus" ,
"description" : "" ,
"type" : "datasource" ,
"pluginId" : "prometheus" ,
"pluginName" : "Prometheus"
}
] ,
"__elements" : { } ,
"__requires" : [
{
"type" : "grafana" ,
"id" : "grafana" ,
"name" : "Grafana" ,
"version" : "9.3.6"
} ,
{
"type" : "panel" ,
"id" : "graph" ,
"name" : "Graph (old)" ,
"version" : ""
} ,
{
"type" : "panel" ,
"id" : "heatmap" ,
"name" : "Heatmap" ,
"version" : ""
} ,
{
"type" : "datasource" ,
"id" : "prometheus" ,
"name" : "Prometheus" ,
"version" : "1.0.0"
} ,
{
"type" : "panel" ,
"id" : "stat" ,
"name" : "Stat" ,
"version" : ""
} ,
{
"type" : "panel" ,
"id" : "table" ,
"name" : "Table" ,
"version" : ""
} ,
{
"type" : "panel" ,
"id" : "text" ,
"name" : "Text" ,
"version" : ""
}
] ,
"annotations" : {
"list" : [
2023-02-26 11:28:57 +01:00
{
2023-05-02 22:13:52 +02:00
"builtIn" : 1 ,
"datasource" : {
"type" : "datasource" ,
"uid" : "grafana"
} ,
"enable" : true ,
"hide" : true ,
"iconColor" : "rgba(0, 211, 255, 1)" ,
"name" : "Annotations & Alerts" ,
"target" : {
"limit" : 100 ,
"matchAny" : false ,
"tags" : [ ] ,
"type" : "dashboard"
} ,
"type" : "dashboard"
2023-02-26 11:28:57 +01:00
}
2023-05-02 22:13:52 +02:00
]
} ,
"editable" : true ,
"fiscalYearStartMonth" : 0 ,
"graphTooltip" : 1 ,
"id" : null ,
"links" : [ ] ,
"liveNow" : false ,
"panels" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"gridPos" : {
"h" : 10 ,
"w" : 24 ,
"x" : 0 ,
"y" : 0
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"id" : 35 ,
"options" : {
"code" : {
"language" : "plaintext" ,
"showLineNumbers" : false ,
"showMiniMap" : false
} ,
"content" : "# zrepl Prometheus Metrics\n\nzrepl exposes Prometheus metrics and ships with this Grafana dashboard.\nThe exported metrics are suitable for health checks:\n\n* The log should generally be warning & error-free\n * The `Log Messages that require attention` graph visualizes log message at levels that generally indicate problems.\n* In most setups, there shouldn't be any unmatched filesystem filter rules.\n* The number of goroutines should not grow unboundedly over time.\n * During replication, the number of goroutines can be way higher than during idle time.\n * If the goroutine count grows with each replication, there is clearly a goroutine leak. Please open a bug report.\n* Memory consumption should not grow unboundedly over time.\n * Note that the Go runtime pre-allocates some of its heap from the OS.\n * zrepl actually uses much less memory than allocated from the OS.\n * Since Go 1.11, Go pre-allocates more aggressively.\n* Monitor that some data is replicated, although that metric does not guarantee that replication was successful.\n\n**In general, note that the exported metrics are not stable unless declared otherwise.**" ,
"mode" : "markdown"
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"pluginVersion" : "9.3.6" ,
"targets" : [
2023-02-26 11:28:57 +01:00
{
"datasource" : {
2023-05-02 22:13:52 +02:00
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"refId" : "A"
2023-02-26 11:28:57 +01:00
}
2023-05-02 22:13:52 +02:00
] ,
"title" : "Panel Title" ,
"type" : "text"
2020-06-11 17:12:51 +02:00
} ,
2023-05-02 22:13:52 +02:00
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"description" : "Number of filesystems that failed replications" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [
{
"options" : {
"0" : {
"text" : "All OK"
2020-06-11 17:12:51 +02:00
} ,
2023-05-02 22:13:52 +02:00
"-1" : {
"text" : "All failed"
2020-06-11 17:12:51 +02:00
}
2023-05-02 22:13:52 +02:00
} ,
"type" : "value"
}
] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "#bf1b00" ,
"value" : null
} ,
{
"color" : "#508642" ,
"value" : 0
} ,
{
"color" : "#bf1b00" ,
"value" : 1
}
]
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"unit" : "none"
2020-06-11 17:12:51 +02:00
} ,
2023-05-02 22:13:52 +02:00
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 3 ,
"w" : 24 ,
"x" : 0 ,
"y" : 10
} ,
"id" : 50 ,
"links" : [ ] ,
"maxDataPoints" : 100 ,
"options" : {
"colorMode" : "background" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "horizontal" ,
"reduceOptions" : {
"calcs" : [
"mean"
] ,
"fields" : "/^__name__$/" ,
"values" : false
2020-06-11 17:12:51 +02:00
} ,
2023-05-02 22:13:52 +02:00
"textMode" : "auto"
} ,
"pluginVersion" : "9.3.6" ,
"repeat" : "zrepl_job_name" ,
"repeatDirection" : "h" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"expr" : "zrepl_replication_filesystem_errors{job=\"$prom_job_name\",zrepl_job=\"$zrepl_job_name\"}" ,
"format" : "time_series" ,
"groupBy" : [
{
"params" : [
"$__interval"
] ,
"type" : "time"
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
{
"params" : [
"null"
] ,
"type" : "fill"
}
] ,
"instant" : true ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "" ,
"orderByTime" : "ASC" ,
"policy" : "default" ,
"refId" : "A" ,
"resultFormat" : "time_series" ,
"select" : [
[
2023-02-26 11:28:57 +01:00
{
"params" : [
2023-05-02 22:13:52 +02:00
"value"
2023-02-26 11:28:57 +01:00
] ,
2023-05-02 22:13:52 +02:00
"type" : "field"
2023-02-26 11:28:57 +01:00
} ,
{
2023-05-02 22:13:52 +02:00
"params" : [ ] ,
"type" : "mean"
2023-02-26 11:28:57 +01:00
}
2023-05-02 22:13:52 +02:00
]
] ,
"tags" : [ ]
}
] ,
"title" : "Failed replications $zrepl_job_name" ,
"type" : "stat"
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
2020-06-11 17:12:51 +02:00
} ,
2023-05-02 22:13:52 +02:00
"overrides" : [ ]
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 4 ,
"w" : 12 ,
"x" : 0 ,
"y" : 13
} ,
"hiddenSeries" : false ,
"id" : 48 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"alertThreshold" : true
} ,
"percentage" : false ,
"pluginVersion" : "9.3.6" ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : true ,
"steppedLine" : false ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"expr" : "sgn(zrepl_start_time{job='$prom_job_name'})" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{instance}}@version={{raw}}" ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "zrepl Instances Up" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"logBase" : 1 ,
"max" : "5" ,
"min" : "0" ,
"show" : true
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
2020-06-11 17:12:51 +02:00
}
2023-05-02 22:13:52 +02:00
] ,
"yaxis" : {
"align" : false
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"overrides" : [ ]
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 5 ,
"w" : 12 ,
"x" : 12 ,
"y" : 13
} ,
"hiddenSeries" : false ,
"id" : 44 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"alertThreshold" : true
} ,
"percentage" : false ,
"pluginVersion" : "9.3.6" ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"expr" : "zrepl_trace_active_tasks" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "active tasks tracked by the zrepl trace module (should not grow unboundedly)" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
"align" : false
}
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"gridPos" : {
"h" : 3 ,
"w" : 5 ,
"x" : 0 ,
"y" : 17
} ,
"id" : 56 ,
"options" : {
"code" : {
"language" : "plaintext" ,
"showLineNumbers" : false ,
"showMiniMap" : false
} ,
"content" : "### Unmatched Filesystems Rules\n\nFilesystem filter rules which mention datasets that didn't exist in the `zfs list` output." ,
"mode" : "markdown"
} ,
"pluginVersion" : "9.3.6" ,
"type" : "text"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"description" : "" ,
"fieldConfig" : {
"defaults" : {
"custom" : {
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"scaleDistribution" : {
"type" : "linear"
}
2023-02-26 11:28:57 +01:00
}
} ,
2023-05-02 22:13:52 +02:00
"overrides" : [ ]
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"gridPos" : {
"h" : 8 ,
"w" : 7 ,
"x" : 5 ,
"y" : 17
} ,
"id" : 52 ,
"maxDataPoints" : 10 ,
"options" : {
"calculate" : false ,
"cellGap" : 1 ,
"color" : {
"exponent" : 0.5 ,
"fill" : "dark-red" ,
"min" : 0 ,
"mode" : "opacity" ,
"reverse" : false ,
"scale" : "linear" ,
"scheme" : "Oranges" ,
"steps" : 2
} ,
"exemplars" : {
"color" : "rgba(255,0,255,0.7)"
} ,
"filterValues" : {
"le" : 1e-9
2023-02-26 11:28:57 +01:00
} ,
"legend" : {
2023-05-02 22:13:52 +02:00
"show" : false
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"rowsFrame" : {
"layout" : "auto"
2023-02-26 11:28:57 +01:00
} ,
"tooltip" : {
"show" : true ,
2023-05-02 22:13:52 +02:00
"yHistogram" : false
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"yAxis" : {
"axisPlacement" : "left" ,
"reverse" : false
2023-02-26 11:28:57 +01:00
}
} ,
2023-05-02 22:13:52 +02:00
"pluginVersion" : "9.3.6" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"editorMode" : "code" ,
"expr" : "increase(zrepl_zfs_list_unmatched_user_specified_dataset_count{job=\"$prom_job_name\"}[$__interval])" ,
"format" : "time_series" ,
"legendFormat" : "{{jobid}}" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Occurences increase[$__interval]" ,
"transformations" : [ ] ,
"type" : "heatmap"
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"fieldConfig" : {
"defaults" : {
"links" : [ ]
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"overrides" : [ ]
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 4 ,
"w" : 12 ,
"x" : 12 ,
"y" : 18
} ,
"hiddenSeries" : false ,
"id" : 22 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"alertThreshold" : true
} ,
"percentage" : false ,
"pluginVersion" : "9.3.6" ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"expr" : "increase(zrepl_daemon_log_entries{job='$prom_job_name',level=~'warn|error'}[1m])" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"refId" : "A"
2023-02-26 11:28:57 +01:00
}
2023-05-02 22:13:52 +02:00
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Log Messages that require attention" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"logBase" : 1 ,
"min" : "0" ,
"show" : true
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
"align" : false
}
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"description" : "" ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"custom" : {
"align" : "auto" ,
"displayMode" : "color-background-solid" ,
"inspect" : false
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "dark-red" ,
"value" : 0.01
}
]
2023-02-26 11:28:57 +01:00
}
} ,
2023-05-02 22:13:52 +02:00
"overrides" : [
2023-02-26 11:28:57 +01:00
{
2023-05-02 22:13:52 +02:00
"matcher" : {
"id" : "byName" ,
"options" : "jobid"
} ,
"properties" : [
{
"id" : "color" ,
"value" : {
"fixedColor" : "transparent" ,
"mode" : "fixed"
}
}
]
2023-02-26 11:28:57 +01:00
}
2023-05-02 22:13:52 +02:00
]
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"gridPos" : {
"h" : 5 ,
"w" : 5 ,
"x" : 0 ,
"y" : 20
} ,
"id" : 54 ,
"maxDataPoints" : 20 ,
"options" : {
"footer" : {
"fields" : "" ,
"reducer" : [
"sum"
] ,
"show" : false
} ,
"showHeader" : true ,
"sortBy" : [
2023-02-26 11:28:57 +01:00
{
2023-05-02 22:13:52 +02:00
"desc" : true ,
"displayName" : "Value"
2023-02-26 11:28:57 +01:00
}
2023-05-02 22:13:52 +02:00
]
} ,
"pluginVersion" : "9.3.6" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"editorMode" : "code" ,
"exemplar" : false ,
"expr" : "increase(zrepl_zfs_list_unmatched_user_specified_dataset_count{job=\"$prom_job_name\"}[$__range])" ,
"format" : "table" ,
"instant" : true ,
"interval" : "" ,
"legendFormat" : "{{jobid}}" ,
"range" : false ,
"refId" : "A"
}
] ,
"title" : "Occurences [Dashboard Range]" ,
"transformations" : [
{
"id" : "organize" ,
"options" : {
"excludeByName" : {
"Time" : true ,
"Value" : false ,
"instance" : true ,
"job" : true
} ,
"indexByName" : { } ,
"renameByName" : { }
2023-02-26 11:28:57 +01:00
}
}
2023-05-02 22:13:52 +02:00
] ,
"type" : "table"
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"overrides" : [ ]
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 5 ,
"w" : 12 ,
"x" : 12 ,
"y" : 22
} ,
"hiddenSeries" : false ,
"id" : 23 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"alertThreshold" : true
} ,
"percentage" : false ,
"pluginVersion" : "9.3.6" ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"expr" : "sum(increase(zrepl_daemon_log_entries{job='$prom_job_name',zrepl_job=~\"^[^_].*\"}[1m])) by (instance,zrepl_job)" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Log Activity (without internal jobs)" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"logBase" : 1 ,
"min" : "0" ,
"show" : true
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
2023-02-26 11:28:57 +01:00
}
2023-05-02 22:13:52 +02:00
] ,
"yaxis" : {
"align" : false
}
} ,
{
"aliasColors" : { } ,
"bars" : true ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"overrides" : [ ]
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 5 ,
"w" : 12 ,
"x" : 0 ,
"y" : 25
} ,
"hiddenSeries" : false ,
"id" : 42 ,
"legend" : {
"alignAsTable" : false ,
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : false ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"alertThreshold" : true
} ,
"percentage" : false ,
"pluginVersion" : "9.3.6" ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [
{
"alias" : "/replicated bytes in last.*/" ,
"yaxis" : 2
}
] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"expr" : "sum(increase(zrepl_replication_bytes_replicated{job='$prom_job_name'}[1d])) by (zrepl_job)" ,
"format" : "time_series" ,
"hide" : false ,
"instant" : false ,
"interval" : "1d" ,
"intervalFactor" : 1 ,
"legendFormat" : "zrepl_job={{zrepl_job}}" ,
"refId" : "B"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Daily Replication Data Volume" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "bytes" ,
"logBase" : 1 ,
"min" : "0" ,
"show" : true
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
{
"format" : "bytes" ,
"logBase" : 1 ,
"show" : false
2023-02-26 11:28:57 +01:00
}
2023-05-02 22:13:52 +02:00
] ,
"yaxis" : {
"align" : false
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"overrides" : [ ]
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 5 ,
"w" : 12 ,
"x" : 12 ,
"y" : 27
} ,
"hiddenSeries" : false ,
"id" : 47 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"alertThreshold" : true
} ,
"percentage" : false ,
"pluginVersion" : "9.3.6" ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"expr" : "zrepl_endpoint_abstractions_cache_entry_count" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "zfs abstractions cache entry count (should not be zero and not grow unboundedly)" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
2023-02-26 11:28:57 +01:00
}
2023-05-02 22:13:52 +02:00
] ,
"yaxis" : {
"align" : false
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"fieldConfig" : {
"defaults" : {
"links" : [ ]
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"overrides" : [ ]
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 5 ,
"w" : 12 ,
"x" : 0 ,
"y" : 30
} ,
"hiddenSeries" : false ,
"id" : 33 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"alertThreshold" : true
} ,
"percentage" : false ,
"pluginVersion" : "9.3.6" ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [
{
"alias" : "/replicated bytes in last.*/" ,
"yaxis" : 2
}
] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"expr" : "sum(rate(zrepl_replication_bytes_replicated{job='$prom_job_name'}[10m])) by (zrepl_job)" ,
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "replication data ratein last 10min zrepl_job={{zrepl_job}}te zrepl_job={{zrepl_job}}" ,
"refId" : "A"
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"expr" : "sum(increase(zrepl_replication_bytes_replicated{job='$prom_job_name'}[10m])) by (zrepl_job)" ,
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "replicated bytes in last 10min zrepl_job={{zrepl_job}}" ,
"refId" : "B"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Replication Data Rate and Volume(over last 10min)" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "Bps" ,
"logBase" : 1 ,
"show" : true
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
{
"format" : "bytes" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
"align" : false
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"fieldConfig" : {
"defaults" : {
"links" : [ ]
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"overrides" : [ ]
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 5 ,
"w" : 12 ,
"x" : 0 ,
"y" : 35
} ,
"hiddenSeries" : false ,
"id" : 41 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"rightSide" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"alertThreshold" : true
} ,
"percentage" : false ,
"pluginVersion" : "9.3.6" ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
2023-02-26 11:28:57 +01:00
} ,
2023-05-02 22:13:52 +02:00
"expr" : "go_memstats_alloc_bytes{job='$prom_job_name'}" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Go Memory Allocations (should not grow unboundedly)" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "bytes" ,
"logBase" : 1 ,
"show" : true
} ,
{
"format" : "short" ,
"label" : "" ,
"logBase" : 1 ,
"show" : true
2023-02-26 11:28:57 +01:00
}
2023-05-02 22:13:52 +02:00
] ,
"yaxis" : {
"align" : false
2023-02-26 11:28:57 +01:00
}
2023-05-02 22:13:52 +02:00
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"fieldConfig" : {
"defaults" : {
"links" : [ ]
} ,
"overrides" : [ ]
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 5 ,
"w" : 12 ,
"x" : 0 ,
"y" : 40
} ,
"hiddenSeries" : false ,
"id" : 17 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"alertThreshold" : true
} ,
"percentage" : false ,
"pluginVersion" : "9.3.6" ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
2023-02-26 11:28:57 +01:00
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2023-05-02 22:13:52 +02:00
"expr" : "go_memstats_sys_bytes{job='$prom_job_name'}" ,
"format" : "time_series" ,
"hide" : false ,
"intervalFactor" : 1 ,
"refId" : "A"
}
] ,
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "Memory Allocated by the Go runtime from the OS (should not grow unboundedly)" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "bytes" ,
"logBase" : 1 ,
"min" : "0" ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
"align" : false
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"fieldConfig" : {
"defaults" : {
"links" : [ ]
2020-08-04 01:17:38 +02:00
} ,
2023-05-02 22:13:52 +02:00
"overrides" : [ ]
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 5 ,
"w" : 12 ,
"x" : 0 ,
"y" : 45
} ,
"hiddenSeries" : false ,
"id" : 19 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
"options" : {
"alertThreshold" : true
} ,
"percentage" : false ,
"pluginVersion" : "9.3.6" ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
2020-08-04 01:17:38 +02:00
{
2023-02-26 11:28:57 +01:00
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
2023-05-02 22:13:52 +02:00
"expr" : "go_goroutines{job='$prom_job_name'}" ,
"format" : "time_series" ,
"intervalFactor" : 1 ,
"refId" : "A"
2023-02-26 11:28:57 +01:00
}
] ,
2023-05-02 22:13:52 +02:00
"thresholds" : [ ] ,
"timeRegions" : [ ] ,
"title" : "number of goroutines (should not grow unboundedly)" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"mode" : "time" ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"logBase" : 1 ,
"min" : "0" ,
"show" : true
} ,
{
"format" : "short" ,
"logBase" : 1 ,
"show" : true
}
] ,
"yaxis" : {
"align" : false
}
}
] ,
"refresh" : "5s" ,
"schemaVersion" : 37 ,
"style" : "dark" ,
"tags" : [ ] ,
"templating" : {
"list" : [
{
"current" : { } ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"definition" : "" ,
"hide" : 0 ,
"includeAll" : false ,
"label" : "Prometheus Job Name" ,
"multi" : false ,
"name" : "prom_job_name" ,
"options" : [ ] ,
"query" : {
"query" : "label_values(up, job)" ,
"refId" : "Prometheus-prom_job_name-Variable-Query"
} ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 1 ,
"tagValuesQuery" : "" ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
} ,
{
"current" : { } ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "${DS_PROMETHEUS}"
} ,
"definition" : "label_values(zrepl_replication_filesystem_errors{job=\"$prom_job_name\"}, zrepl_job)" ,
"hide" : 2 ,
"includeAll" : true ,
"label" : "Zrepl Job Name" ,
"multi" : true ,
"name" : "zrepl_job_name" ,
"options" : [ ] ,
"query" : {
"query" : "label_values(zrepl_replication_filesystem_errors{job=\"$prom_job_name\"}, zrepl_job)" ,
"refId" : "Prometheus-zrepl_job_name-Variable-Query"
} ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 1 ,
"tagValuesQuery" : "" ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
}
]
} ,
"time" : {
"from" : "now-2d" ,
"to" : "now"
} ,
"timepicker" : {
"refresh_intervals" : [
"10s" ,
"30s" ,
"1m" ,
"5m" ,
"15m" ,
"30m" ,
"1h" ,
"2h" ,
"1d"
] ,
"time_options" : [
"5m" ,
"15m" ,
"1h" ,
"6h" ,
"12h" ,
"24h" ,
"2d" ,
"7d" ,
"30d"
]
} ,
"timezone" : "" ,
2022-10-23 17:21:13 +02:00
"title" : "zrepl" ,
2020-08-04 01:36:31 +02:00
"uid" : "etQuvBnGz" ,
2023-02-26 11:28:57 +01:00
"version" : 1 ,
2023-05-02 22:13:52 +02:00
"weekStart" : ""
}