grafana: qbt smoothing
This commit is contained in:
@@ -497,6 +497,18 @@ let
|
|||||||
legendFormat = "Upload";
|
legendFormat = "Upload";
|
||||||
refId = "B";
|
refId = "B";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
datasource = promDs;
|
||||||
|
expr = "avg_over_time(qbittorrent_download_bytes_per_second[10m:])";
|
||||||
|
legendFormat = "Download (10m avg)";
|
||||||
|
refId = "C";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
datasource = promDs;
|
||||||
|
expr = "avg_over_time(qbittorrent_upload_bytes_per_second[10m:])";
|
||||||
|
legendFormat = "Upload (10m avg)";
|
||||||
|
refId = "D";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
fieldConfig = {
|
fieldConfig = {
|
||||||
defaults = {
|
defaults = {
|
||||||
@@ -504,12 +516,97 @@ let
|
|||||||
min = 0;
|
min = 0;
|
||||||
color.mode = "palette-classic";
|
color.mode = "palette-classic";
|
||||||
custom = {
|
custom = {
|
||||||
lineWidth = 2;
|
lineWidth = 1;
|
||||||
fillOpacity = 15;
|
fillOpacity = 10;
|
||||||
spanNulls = true;
|
spanNulls = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
overrides = [ ];
|
overrides = [
|
||||||
|
{
|
||||||
|
matcher = {
|
||||||
|
id = "byFrameRefID";
|
||||||
|
options = "A";
|
||||||
|
};
|
||||||
|
properties = [
|
||||||
|
{
|
||||||
|
id = "color";
|
||||||
|
value = {
|
||||||
|
fixedColor = "green";
|
||||||
|
mode = "fixed";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
id = "custom.fillOpacity";
|
||||||
|
value = 5;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
{
|
||||||
|
matcher = {
|
||||||
|
id = "byFrameRefID";
|
||||||
|
options = "B";
|
||||||
|
};
|
||||||
|
properties = [
|
||||||
|
{
|
||||||
|
id = "color";
|
||||||
|
value = {
|
||||||
|
fixedColor = "blue";
|
||||||
|
mode = "fixed";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
id = "custom.fillOpacity";
|
||||||
|
value = 5;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
{
|
||||||
|
matcher = {
|
||||||
|
id = "byFrameRefID";
|
||||||
|
options = "C";
|
||||||
|
};
|
||||||
|
properties = [
|
||||||
|
{
|
||||||
|
id = "color";
|
||||||
|
value = {
|
||||||
|
fixedColor = "green";
|
||||||
|
mode = "fixed";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
id = "custom.lineWidth";
|
||||||
|
value = 3;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
id = "custom.fillOpacity";
|
||||||
|
value = 0;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
{
|
||||||
|
matcher = {
|
||||||
|
id = "byFrameRefID";
|
||||||
|
options = "D";
|
||||||
|
};
|
||||||
|
properties = [
|
||||||
|
{
|
||||||
|
id = "color";
|
||||||
|
value = {
|
||||||
|
fixedColor = "blue";
|
||||||
|
mode = "fixed";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
id = "custom.lineWidth";
|
||||||
|
value = 3;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
id = "custom.fillOpacity";
|
||||||
|
value = 0;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user