2025-08-13 14:57:02 +00:00
{
"annotations" : {
"list" : [
{
"builtIn" : 1 ,
"datasource" : {
"type" : "grafana" ,
"uid" : "-- Grafana --"
} ,
"enable" : true ,
"hide" : true ,
"iconColor" : "rgba(0, 211, 255, 1)" ,
"name" : "Annotations & Alerts" ,
"type" : "dashboard"
}
]
} ,
"editable" : true ,
"fiscalYearStartMonth" : 0 ,
"graphTooltip" : 0 ,
2026-02-02 18:03:35 +03:00
"id" : 47 ,
2025-08-13 14:57:02 +00:00
"links" : [ ] ,
"panels" : [
2025-08-28 14:33:58 +00:00
{
"collapsed" : false ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 0
} ,
"id" : 18 ,
"panels" : [ ] ,
"title" : "Global" ,
"type" : "row"
} ,
2025-08-13 14:57:02 +00:00
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "prom"
} ,
2025-08-28 14:33:58 +00:00
"description" : " Сравнивает сколько Go-heap занимает и сколько реально занимает весь процесс" ,
2025-08-13 14:57:02 +00:00
"fieldConfig" : {
"defaults" : {
2025-08-28 14:33:58 +00:00
"color" : {
2026-02-02 18:03:35 +03:00
"mode" : "palette-classic-by-name"
2025-08-28 14:33:58 +00:00
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"barWidthFactor" : 0.6 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
2025-08-13 14:57:02 +00:00
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-10-17 12:52:23 +03:00
"color" : "green" ,
"value" : 0
2025-08-13 14:57:02 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
2026-02-02 18:03:35 +03:00
} ,
"unit" : "bytes"
2025-08-13 14:57:02 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
2025-08-28 14:33:58 +00:00
"h" : 7 ,
2025-08-13 14:57:02 +00:00
"w" : 10 ,
"x" : 0 ,
2025-08-28 14:33:58 +00:00
"y" : 1
2025-08-13 14:57:02 +00:00
} ,
2025-08-28 14:33:58 +00:00
"id" : 5 ,
2025-08-13 14:57:02 +00:00
"options" : {
2025-08-28 14:33:58 +00:00
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
2025-08-13 14:57:02 +00:00
} ,
2025-08-28 14:33:58 +00:00
"tooltip" : {
"hideZeros" : false ,
"mode" : "single" ,
"sort" : "none"
}
2025-08-13 14:57:02 +00:00
} ,
2025-10-17 12:52:23 +03:00
"pluginVersion" : "12.1.0" ,
2025-08-13 14:57:02 +00:00
"targets" : [
{
"editorMode" : "code" ,
2025-08-28 14:33:58 +00:00
"expr" : "process_resident_memory_bytes{job=\"integrations/tusd\", instance=~\"$Instance\", pod=~\"$pod\"}" ,
"legendFormat" : "{{instance}} pod : {{pod}} : Resident Memory" ,
2025-08-13 14:57:02 +00:00
"range" : true ,
"refId" : "A"
2025-08-28 14:33:58 +00:00
} ,
{
"editorMode" : "code" ,
"expr" : "go_memstats_alloc_bytes{job=\"integrations/tusd\", instance=~\"$Instance\", pod=~\"$pod\"}" ,
"legendFormat" : "{{instance}} pod : {{pod}} : Heap Allocated" ,
"range" : true ,
"refId" : "B"
2025-08-13 14:57:02 +00:00
}
] ,
2025-08-28 14:33:58 +00:00
"title" : "Memory: Resident vs Allocated" ,
"type" : "timeseries"
2025-08-13 14:57:02 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "prom"
} ,
2026-02-02 18:03:35 +03:00
"description" : "старт tusd" ,
2025-08-13 14:57:02 +00:00
"fieldConfig" : {
"defaults" : {
2025-08-28 14:33:58 +00:00
"color" : {
"mode" : "thresholds"
} ,
2025-08-13 14:57:02 +00:00
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-10-17 12:52:23 +03:00
"color" : "green" ,
"value" : 0
2025-08-13 14:57:02 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
2025-08-28 14:33:58 +00:00
} ,
"unit" : "h"
2025-08-13 14:57:02 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
2026-02-02 18:03:35 +03:00
"h" : 7 ,
2025-08-13 14:57:02 +00:00
"w" : 14 ,
"x" : 10 ,
2025-08-28 14:33:58 +00:00
"y" : 1
2025-08-13 14:57:02 +00:00
} ,
"id" : 3 ,
"options" : {
2025-08-28 14:33:58 +00:00
"minVizHeight" : 75 ,
"minVizWidth" : 75 ,
2025-08-13 14:57:02 +00:00
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
2025-08-28 14:33:58 +00:00
"showThresholdLabels" : false ,
"showThresholdMarkers" : true ,
"sizing" : "auto" ,
"text" : {
"titleSize" : 10
}
2025-08-13 14:57:02 +00:00
} ,
2025-10-17 12:52:23 +03:00
"pluginVersion" : "12.1.0" ,
2025-08-13 14:57:02 +00:00
"targets" : [
{
"editorMode" : "code" ,
2025-08-28 14:33:58 +00:00
"expr" : "(time() - process_start_time_seconds{job=\"integrations/tusd\", instance=~\"$Instance\", pod=~\"$pod\"} ) / 3600" ,
"legendFormat" : "{{instance}} pod : {{pod}} " ,
2025-08-13 14:57:02 +00:00
"range" : true ,
"refId" : "A"
}
] ,
2025-08-28 14:33:58 +00:00
"title" : "Process Start Time (hours)" ,
"type" : "gauge"
2025-08-13 14:57:02 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "prom"
} ,
2026-02-02 18:03:35 +03:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : 0
} ,
{
"color" : "red" ,
"value" : 80
}
]
}
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 5 ,
"w" : 10 ,
"x" : 0 ,
"y" : 8
} ,
"id" : 14 ,
"options" : {
"minVizHeight" : 75 ,
"minVizWidth" : 75 ,
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
"showThresholdLabels" : false ,
"showThresholdMarkers" : true ,
"sizing" : "auto" ,
"text" : {
"titleSize" : 10
}
} ,
"pluginVersion" : "12.1.0" ,
"targets" : [
{
"disableTextWrap" : false ,
"editorMode" : "code" ,
"expr" : "tusd_connections_open{job=\"integrations/tusd\", instance=~\"$Instance\", pod=~\"$pod\"}" ,
"format" : "time_series" ,
"fullMetaSearch" : false ,
"includeNullMetadata" : true ,
"interval" : "" ,
"legendFormat" : "{{instance}} pod: {{pod}}" ,
"range" : true ,
"refId" : "A" ,
"useBackend" : false
}
] ,
"title" : "Open Connections" ,
"type" : "gauge"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "prom"
} ,
"description" : "доля времени, которое процесс тратит на GC (CPU-time на GC)" ,
2025-08-13 14:57:02 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"barWidthFactor" : 0.6 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-10-17 12:52:23 +03:00
"color" : "green" ,
"value" : 0
2025-08-13 14:57:02 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
2026-02-02 18:03:35 +03:00
} ,
"unit" : "percent"
2025-08-13 14:57:02 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 7 ,
2026-02-02 18:03:35 +03:00
"w" : 7 ,
2025-08-28 14:33:58 +00:00
"x" : 10 ,
2026-02-02 18:03:35 +03:00
"y" : 8
2025-08-13 14:57:02 +00:00
} ,
2025-08-28 14:33:58 +00:00
"id" : 7 ,
2025-08-13 14:57:02 +00:00
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"hideZeros" : false ,
"mode" : "single" ,
"sort" : "none"
}
} ,
2025-10-17 12:52:23 +03:00
"pluginVersion" : "12.1.0" ,
2025-08-13 14:57:02 +00:00
"targets" : [
{
"editorMode" : "code" ,
2026-02-02 18:03:35 +03:00
"expr" : "rate(go_gc_duration_seconds_sum{job=\"integrations/tusd\", instance=~\"$Instance\", pod=~\"$pod\"}[5m]) * 100" ,
"legendFormat" : "{{instance}} pod : {{pod}}" ,
2025-08-13 14:57:02 +00:00
"range" : true ,
"refId" : "A"
}
] ,
2026-02-02 18:03:35 +03:00
"title" : "GC Duration" ,
2025-08-13 14:57:02 +00:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "prom"
} ,
2026-02-02 18:03:35 +03:00
"description" : "Объём heap-памяти, при достижении которого Go runtime запустит следующий garbage collection.\nН е отражает текущее потребление памяти." ,
2025-08-13 14:57:02 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
2026-02-02 18:03:35 +03:00
"fixedColor" : "dark-orange" ,
"mode" : "fixed"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"barWidthFactor" : 0.6 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
2025-08-13 14:57:02 +00:00
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-10-17 12:52:23 +03:00
"color" : "green" ,
"value" : 0
2025-08-13 14:57:02 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
2026-02-02 18:03:35 +03:00
} ,
"unit" : "bytes"
2025-08-13 14:57:02 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
2026-02-02 18:03:35 +03:00
"h" : 7 ,
"w" : 7 ,
"x" : 17 ,
2025-08-28 14:33:58 +00:00
"y" : 8
2025-08-13 14:57:02 +00:00
} ,
2026-02-02 18:03:35 +03:00
"id" : 28 ,
2025-08-13 14:57:02 +00:00
"options" : {
2026-02-02 18:03:35 +03:00
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
2025-08-13 14:57:02 +00:00
} ,
2026-02-02 18:03:35 +03:00
"tooltip" : {
"hideZeros" : false ,
"mode" : "single" ,
"sort" : "none"
2025-08-13 14:57:02 +00:00
}
} ,
2025-10-17 12:52:23 +03:00
"pluginVersion" : "12.1.0" ,
2025-08-13 14:57:02 +00:00
"targets" : [
{
"editorMode" : "code" ,
2026-02-02 18:03:35 +03:00
"expr" : "go_memstats_next_gc_bytes{job=\"integrations/tusd\", instance=~\"$Instance\", pod=~\"$pod\"}" ,
"legendFormat" : "{{instance}} pod : {{pod}}" ,
2025-08-13 14:57:02 +00:00
"range" : true ,
2026-02-02 18:03:35 +03:00
"refId" : "A"
2025-08-28 14:33:58 +00:00
}
] ,
2026-02-02 18:03:35 +03:00
"title" : "Go next GC heap target" ,
"type" : "timeseries"
2025-08-28 14:33:58 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "prom"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-10-17 12:52:23 +03:00
"color" : "green" ,
"value" : 0
2025-08-28 14:33:58 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
}
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 5 ,
"w" : 10 ,
"x" : 0 ,
"y" : 13
} ,
"id" : 1 ,
"options" : {
"minVizHeight" : 75 ,
"minVizWidth" : 75 ,
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
2025-08-13 14:57:02 +00:00
} ,
2025-08-28 14:33:58 +00:00
"showThresholdLabels" : false ,
"showThresholdMarkers" : true ,
"sizing" : "auto" ,
"text" : {
"titleSize" : 10
}
} ,
2025-10-17 12:52:23 +03:00
"pluginVersion" : "12.1.0" ,
2025-08-28 14:33:58 +00:00
"targets" : [
2025-08-13 14:57:02 +00:00
{
"editorMode" : "code" ,
2025-08-28 14:33:58 +00:00
"expr" : "up{job=\"integrations/tusd\", instance=~\"$Instance\", pod=~\"$pod\"}" ,
"legendFormat" : "{{instance}} pod : {{pod}}" ,
2025-08-13 14:57:02 +00:00
"range" : true ,
2025-08-28 14:33:58 +00:00
"refId" : "A"
2025-08-13 14:57:02 +00:00
}
] ,
2025-08-28 14:33:58 +00:00
"title" : "App Status" ,
"type" : "gauge"
2025-08-13 14:57:02 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "prom"
} ,
2025-08-28 14:33:58 +00:00
"description" : "Сетевой трафик " ,
2025-08-13 14:57:02 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"barWidthFactor" : 0.6 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-10-17 12:52:23 +03:00
"color" : "green" ,
"value" : 0
2025-08-13 14:57:02 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
2025-08-28 14:33:58 +00:00
} ,
"unit" : "Bps"
2025-08-13 14:57:02 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
2025-08-28 14:33:58 +00:00
"h" : 12 ,
"w" : 14 ,
"x" : 10 ,
2026-02-02 18:03:35 +03:00
"y" : 15
2025-08-13 14:57:02 +00:00
} ,
2025-08-28 14:33:58 +00:00
"id" : 9 ,
2025-08-13 14:57:02 +00:00
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"hideZeros" : false ,
"mode" : "single" ,
"sort" : "none"
}
} ,
2025-10-17 12:52:23 +03:00
"pluginVersion" : "12.1.0" ,
2025-08-13 14:57:02 +00:00
"targets" : [
{
"editorMode" : "code" ,
2025-08-28 14:33:58 +00:00
"expr" : "rate(process_network_receive_bytes_total{job=\"integrations/tusd\", instance=~\"$Instance\", pod=~\"$pod\"}[5m])" ,
"legendFormat" : "{{instance}} pod : {{pod}} Network Out (bytes/sec)" ,
2025-08-13 14:57:02 +00:00
"range" : true ,
"refId" : "A"
} ,
{
"editorMode" : "code" ,
2025-08-28 14:33:58 +00:00
"expr" : "rate(process_network_transmit_bytes_total{job=\"integrations/tusd\", instance=~\"$Instance\", pod=~\"$pod\"}[5m])" ,
"legendFormat" : "{{instance}} pod : {{pod}} Network Out (bytes/sec):{{instance}}" ,
2025-08-13 14:57:02 +00:00
"range" : true ,
"refId" : "B"
}
] ,
2025-08-28 14:33:58 +00:00
"title" : "Network I/O" ,
2025-08-13 14:57:02 +00:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "prom"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"barWidthFactor" : 0.6 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-10-17 12:52:23 +03:00
"color" : "green" ,
"value" : 0
2025-08-13 14:57:02 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
2025-08-28 14:33:58 +00:00
} ,
"unit" : "bytes"
2025-08-13 14:57:02 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
2026-02-02 18:03:35 +03:00
"h" : 9 ,
2025-08-28 14:33:58 +00:00
"w" : 10 ,
"x" : 0 ,
"y" : 18
2025-08-13 14:57:02 +00:00
} ,
2025-08-28 14:33:58 +00:00
"id" : 15 ,
2025-08-13 14:57:02 +00:00
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"hideZeros" : false ,
"mode" : "single" ,
"sort" : "none"
}
} ,
2025-10-17 12:52:23 +03:00
"pluginVersion" : "12.1.0" ,
2025-08-13 14:57:02 +00:00
"targets" : [
{
"editorMode" : "code" ,
2025-08-28 14:33:58 +00:00
"expr" : "rate(tusd_bytes_received{job=\"integrations/tusd\", instance=~\"$Instance\", pod=~\"$pod\"}[5m])" ,
"legendFormat" : "{{instance}} pod : {{pod}} " ,
2025-08-13 14:57:02 +00:00
"range" : true ,
"refId" : "A"
}
] ,
2025-08-28 14:33:58 +00:00
"title" : "Bytes Received (Rate)" ,
2025-08-13 14:57:02 +00:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "prom"
} ,
2025-08-28 14:33:58 +00:00
"description" : "Полная картина активности TUSD" ,
2025-08-13 14:57:02 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"barWidthFactor" : 0.6 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-10-17 12:52:23 +03:00
"color" : "green" ,
"value" : 0
2025-08-13 14:57:02 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
}
} ,
"overrides" : [ ]
} ,
"gridPos" : {
2025-08-28 14:33:58 +00:00
"h" : 6 ,
"w" : 24 ,
2025-08-13 14:57:02 +00:00
"x" : 0 ,
2026-02-02 18:03:35 +03:00
"y" : 27
2025-08-13 14:57:02 +00:00
} ,
2025-08-28 14:33:58 +00:00
"id" : 10 ,
2025-08-13 14:57:02 +00:00
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"hideZeros" : false ,
"mode" : "single" ,
"sort" : "none"
}
} ,
2025-10-17 12:52:23 +03:00
"pluginVersion" : "12.1.0" ,
2025-08-13 14:57:02 +00:00
"targets" : [
{
"editorMode" : "code" ,
2025-08-28 14:33:58 +00:00
"expr" : "rate(tusd_uploads_created{job=\"integrations/tusd\", instance=~\"$Instance\", pod=~\"$pod\"}[5m])" ,
"legendFormat" : "{{instance}} pod : {{pod}} : tusd_uploads_created" ,
2025-08-13 14:57:02 +00:00
"range" : true ,
"refId" : "A"
} ,
{
"editorMode" : "code" ,
2025-08-28 14:33:58 +00:00
"expr" : "rate(tusd_uploads_finished{job=\"integrations/tusd\", instance=~\"$Instance\", pod=~\"$pod\"}[5m])" ,
"legendFormat" : "{{instance}} pod : {{pod}} : tusd_uploads_finished" ,
2025-08-13 14:57:02 +00:00
"range" : true ,
"refId" : "B"
2025-08-28 14:33:58 +00:00
} ,
{
"editorMode" : "code" ,
"exemplar" : false ,
"expr" : "rate(tusd_uploads_terminated{job=\"integrations/tusd\", instance=~\"$Instance\", pod=~\"$pod\"}[5m])" ,
"legendFormat" : "{{instance}} pod : {{pod}} : tusd_uploads_terminated" ,
"range" : true ,
"refId" : "C"
} ,
{
"editorMode" : "code" ,
"expr" : "rate(tusd_bytes_received{job=\"integrations/tusd\", instance=~\"$Instance\", pod=~\"$pod\"}[5m])" ,
"legendFormat" : "{{instance}} pod : {{pod}} : tusd_bytes_received" ,
"range" : true ,
"refId" : "D"
2025-08-13 14:57:02 +00:00
}
] ,
2025-08-28 14:33:58 +00:00
"title" : "Tusd Uploads lifecycle" ,
2025-08-13 14:57:02 +00:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "prom"
} ,
2026-02-02 18:03:35 +03:00
"description" : "использование CPU by TUSD" ,
2025-08-13 14:57:02 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"barWidthFactor" : 0.6 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-10-17 12:52:23 +03:00
"color" : "green" ,
"value" : 0
2025-08-13 14:57:02 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
}
} ,
2025-08-28 14:33:58 +00:00
"overrides" : [ ]
2025-08-13 14:57:02 +00:00
} ,
"gridPos" : {
"h" : 7 ,
2025-08-28 14:33:58 +00:00
"w" : 8 ,
"x" : 0 ,
2026-02-02 18:03:35 +03:00
"y" : 33
2025-08-13 14:57:02 +00:00
} ,
2025-08-28 14:33:58 +00:00
"id" : 4 ,
2025-08-13 14:57:02 +00:00
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"hideZeros" : false ,
"mode" : "single" ,
"sort" : "none"
}
} ,
2025-10-17 12:52:23 +03:00
"pluginVersion" : "12.1.0" ,
2025-08-13 14:57:02 +00:00
"targets" : [
{
"editorMode" : "code" ,
2025-08-28 14:33:58 +00:00
"expr" : "rate(process_cpu_seconds_total{job=\"integrations/tusd\", instance=~\"$Instance\", pod=~\"$pod\"}[5m])" ,
"legendFormat" : "{{instance}} pod : {{pod}} " ,
2025-08-13 14:57:02 +00:00
"range" : true ,
"refId" : "A"
}
] ,
2025-08-28 14:33:58 +00:00
"title" : "CPU Usage (rate)" ,
2025-08-13 14:57:02 +00:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "prom"
} ,
2025-08-28 14:33:58 +00:00
"description" : "Слежение за количеством горутин и системных потоков." ,
2025-08-13 14:57:02 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"barWidthFactor" : 0.6 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-10-17 12:52:23 +03:00
"color" : "green" ,
"value" : 0
2025-08-13 14:57:02 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
}
} ,
"overrides" : [ ]
} ,
"gridPos" : {
2025-08-28 14:33:58 +00:00
"h" : 7 ,
"w" : 7 ,
"x" : 8 ,
2026-02-02 18:03:35 +03:00
"y" : 33
2025-08-13 14:57:02 +00:00
} ,
2025-08-28 14:33:58 +00:00
"id" : 6 ,
2025-08-13 14:57:02 +00:00
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"hideZeros" : false ,
"mode" : "single" ,
"sort" : "none"
}
} ,
2025-10-17 12:52:23 +03:00
"pluginVersion" : "12.1.0" ,
2025-08-13 14:57:02 +00:00
"targets" : [
{
"editorMode" : "code" ,
2025-08-28 14:33:58 +00:00
"expr" : "go_goroutines{job=\"integrations/tusd\", instance=~\"$Instance\", pod=~\"$pod\"}" ,
"legendFormat" : "{{instance}} pod : {{pod}} : Goroutines" ,
2025-08-13 14:57:02 +00:00
"range" : true ,
"refId" : "A"
} ,
{
"editorMode" : "code" ,
2025-08-28 14:33:58 +00:00
"expr" : "go_threads{job=\"integrations/tusd\", instance=~\"$Instance\", pod=~\"$pod\"}" ,
"legendFormat" : "{{instance}} pod : {{pod}} : OS Threads" ,
2025-08-13 14:57:02 +00:00
"range" : true ,
"refId" : "B"
}
] ,
2025-08-28 14:33:58 +00:00
"title" : "Goroutines & Threads" ,
2025-08-13 14:57:02 +00:00
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "prom"
} ,
2025-08-28 14:33:58 +00:00
"description" : "Разделение памяти Go между heap и stack." ,
2025-08-13 14:57:02 +00:00
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
2025-08-28 14:33:58 +00:00
"axisColorMode" : "text" ,
2025-08-13 14:57:02 +00:00
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"barWidthFactor" : 0.6 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-10-17 12:52:23 +03:00
"color" : "green" ,
"value" : 0
2025-08-13 14:57:02 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
2026-02-02 18:03:35 +03:00
} ,
"unit" : "bytes"
2025-08-13 14:57:02 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
2025-08-28 14:33:58 +00:00
"h" : 7 ,
"w" : 9 ,
"x" : 15 ,
2026-02-02 18:03:35 +03:00
"y" : 33
2025-08-13 14:57:02 +00:00
} ,
2025-08-28 14:33:58 +00:00
"id" : 8 ,
2025-08-13 14:57:02 +00:00
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"hideZeros" : false ,
"mode" : "single" ,
"sort" : "none"
}
} ,
2025-10-17 12:52:23 +03:00
"pluginVersion" : "12.1.0" ,
2025-08-13 14:57:02 +00:00
"targets" : [
{
"editorMode" : "code" ,
2025-08-28 14:33:58 +00:00
"expr" : "go_memstats_heap_alloc_bytes{job=\"integrations/tusd\", instance=~\"$Instance\", pod=~\"$pod\"}" ,
"legendFormat" : "{{instance}} pod : {{pod}} : Heap Usage (bytes)" ,
2025-08-13 14:57:02 +00:00
"range" : true ,
"refId" : "A"
2025-08-28 14:33:58 +00:00
} ,
{
"editorMode" : "code" ,
"expr" : "go_memstats_stack_inuse_bytes{job=\"integrations/tusd\", instance=~\"$Instance\", pod=~\"$pod\"}" ,
"legendFormat" : "{{instance}} pod : {{pod}} : Stack Usage (bytes)" ,
"range" : true ,
"refId" : "B"
2025-08-13 14:57:02 +00:00
}
] ,
2025-08-28 14:33:58 +00:00
"title" : "Heap & Stack Stats" ,
2025-08-13 14:57:02 +00:00
"type" : "timeseries"
} ,
2025-08-28 14:33:58 +00:00
{
"collapsed" : false ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2026-02-02 18:03:35 +03:00
"y" : 40
2025-08-28 14:33:58 +00:00
} ,
"id" : 20 ,
"panels" : [ ] ,
"title" : "Requests" ,
"type" : "row"
} ,
2025-08-13 14:57:02 +00:00
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "prom"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
2025-08-28 14:33:58 +00:00
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"barWidthFactor" : 0.6 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
2025-08-13 14:57:02 +00:00
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-10-17 12:52:23 +03:00
"color" : "green" ,
"value" : 0
2025-08-13 14:57:02 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
2026-02-02 18:03:35 +03:00
} ,
"unit" : "ops"
2025-08-13 14:57:02 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
2025-08-28 14:33:58 +00:00
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2026-02-02 18:03:35 +03:00
"y" : 41
2025-08-13 14:57:02 +00:00
} ,
2025-08-28 14:33:58 +00:00
"id" : 22 ,
2025-08-13 14:57:02 +00:00
"options" : {
2025-08-28 14:33:58 +00:00
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
2025-08-13 14:57:02 +00:00
} ,
2025-08-28 14:33:58 +00:00
"tooltip" : {
"hideZeros" : false ,
"mode" : "single" ,
"sort" : "none"
}
2025-08-13 14:57:02 +00:00
} ,
2025-10-17 12:52:23 +03:00
"pluginVersion" : "12.1.0" ,
2025-08-13 14:57:02 +00:00
"targets" : [
{
"editorMode" : "code" ,
2025-08-28 14:33:58 +00:00
"expr" : "rate(tusd_errors_total{job=\"integrations/tusd\", instance=~\"$Instance\", pod=~\"$pod\"}[5m])" ,
"legendFormat" : "{{instance}} pod : {{pod}} : {{code}}" ,
2025-08-13 14:57:02 +00:00
"range" : true ,
"refId" : "A"
}
] ,
2025-08-28 14:33:58 +00:00
"title" : "Errors (Rate)" ,
"type" : "timeseries"
2025-08-13 14:57:02 +00:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "prom"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
2025-08-28 14:33:58 +00:00
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"barWidthFactor" : 0.6 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
2025-08-13 14:57:02 +00:00
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-10-17 12:52:23 +03:00
"color" : "green" ,
"value" : 0
2025-08-13 14:57:02 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
2026-02-02 18:03:35 +03:00
} ,
"unit" : "ops"
2025-08-13 14:57:02 +00:00
} ,
2025-08-28 14:33:58 +00:00
"overrides" : [ ]
2025-08-13 14:57:02 +00:00
} ,
"gridPos" : {
"h" : 8 ,
2025-08-28 14:33:58 +00:00
"w" : 12 ,
"x" : 12 ,
2026-02-02 18:03:35 +03:00
"y" : 41
2025-08-13 14:57:02 +00:00
} ,
2025-08-28 14:33:58 +00:00
"id" : 21 ,
2025-08-13 14:57:02 +00:00
"options" : {
2025-08-28 14:33:58 +00:00
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
2025-08-13 14:57:02 +00:00
} ,
2025-08-28 14:33:58 +00:00
"tooltip" : {
"hideZeros" : false ,
"mode" : "single" ,
"sort" : "none"
}
2025-08-13 14:57:02 +00:00
} ,
2025-10-17 12:52:23 +03:00
"pluginVersion" : "12.1.0" ,
2025-08-13 14:57:02 +00:00
"targets" : [
{
"editorMode" : "code" ,
2025-08-28 14:33:58 +00:00
"expr" : "rate(tusd_requests_total{job=\"integrations/tusd\", instance=~\"$Instance\", pod=~\"$pod\"}[5m])" ,
"legendFormat" : "{{instance}} pod : {{pod}} : {{method}}" ,
2025-08-13 14:57:02 +00:00
"range" : true ,
"refId" : "A"
2025-08-28 14:33:58 +00:00
}
] ,
"title" : "Total Requests (Rate)" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "prom"
} ,
"description" : "Среднюю продолжительность HTTP-запросов к S3." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "series" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"barWidthFactor" : 0.6 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-10-17 12:52:23 +03:00
"color" : "green" ,
"value" : 0
2025-08-28 14:33:58 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
2026-02-02 18:03:35 +03:00
} ,
"unit" : "ms"
2025-08-28 14:33:58 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 5 ,
"w" : 24 ,
"x" : 0 ,
2026-02-02 18:03:35 +03:00
"y" : 49
2025-08-28 14:33:58 +00:00
} ,
"id" : 11 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"hideZeros" : false ,
"mode" : "single" ,
"sort" : "none"
}
} ,
2025-10-17 12:52:23 +03:00
"pluginVersion" : "12.1.0" ,
2025-08-28 14:33:58 +00:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "prom"
} ,
"editorMode" : "code" ,
"expr" : "rate(tusd_s3_request_duration_ms_sum{job=\"integrations/tusd\", instance=~\"$Instance\", pod=~\"$pod\"}[5m]) " ,
"hide" : false ,
"instant" : false ,
2025-08-13 14:57:02 +00:00
"interval" : "" ,
2025-08-28 14:33:58 +00:00
"legendFormat" : "{{instance}} pod : {{pod}} : {{operation}}" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "HTTP S3 Request" ,
"type" : "timeseries"
} ,
{
"collapsed" : false ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2026-02-02 18:03:35 +03:00
"y" : 54
2025-08-28 14:33:58 +00:00
} ,
"id" : 23 ,
"panels" : [ ] ,
"title" : "S3" ,
"type" : "row"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "prom"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"barWidthFactor" : 0.6 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-10-17 12:52:23 +03:00
"color" : "green" ,
"value" : 0
2025-08-28 14:33:58 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
}
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
2026-02-02 18:03:35 +03:00
"w" : 11 ,
2025-08-28 14:33:58 +00:00
"x" : 0 ,
2026-02-02 18:03:35 +03:00
"y" : 55
2025-08-28 14:33:58 +00:00
} ,
"id" : 26 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"hideZeros" : false ,
"mode" : "single" ,
"sort" : "none"
}
} ,
2025-10-17 12:52:23 +03:00
"pluginVersion" : "12.1.0" ,
2025-08-28 14:33:58 +00:00
"targets" : [
{
"editorMode" : "code" ,
"expr" : "tusd_s3_upload_semaphore_demand{job=\"integrations/tusd\", instance=~\"$Instance\", pod=~\"$pod\"}" ,
"legendFormat" : "{{instance}} pod : {{pod}} : demand" ,
"range" : true ,
"refId" : "A"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "prom"
} ,
"editorMode" : "code" ,
"expr" : "tusd_s3_upload_semaphore_limit{job=\"integrations/tusd\", instance=~\"$Instance\", pod=~\"$pod\"}" ,
"hide" : false ,
"instant" : false ,
"legendFormat" : "{{instance}} pod : {{pod}} : limit" ,
"range" : true ,
"refId" : "B"
}
] ,
"title" : "S3 Upload Semaphore Demand vs Limit" ,
"type" : "timeseries"
} ,
2026-02-02 18:03:35 +03:00
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "prom"
} ,
"description" : "99-й перцентиль длительности операций записи на диск в S3.\nПо ка зыва е т худшие 1% disk write операций и используется для выявления деградаций и длинных хвостов задержек." ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : 0
}
]
} ,
"unit" : "ms"
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 7 ,
"x" : 11 ,
"y" : 55
} ,
"id" : 13 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "auto" ,
"percentChangeColorMode" : "standard" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
"showPercentChange" : true ,
"text" : {
"titleSize" : 11 ,
"valueSize" : 50
} ,
"textMode" : "auto" ,
"wideLayout" : true
} ,
"pluginVersion" : "12.1.0" ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "prom"
} ,
"editorMode" : "code" ,
"expr" : "tusd_s3_disk_write_duration_ms{job=\"integrations/tusd\", instance=~\"$Instance\", pod=~\"$pod\", quantile=\"0.99\"}" ,
"hide" : false ,
"instant" : false ,
"legendFormat" : "{{instance}} pod : {{pod}} : tusd Disk Write Time {{quantile}}" ,
"range" : true ,
"refId" : "C"
}
] ,
"title" : "S3 disk write latency (p99)" ,
"type" : "stat"
} ,
2025-08-28 14:33:58 +00:00
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "prom"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-10-17 12:52:23 +03:00
"color" : "green" ,
"value" : 0
2025-08-28 14:33:58 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
2026-02-02 18:03:35 +03:00
} ,
"unit" : "ms"
2025-08-28 14:33:58 +00:00
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 6 ,
"x" : 18 ,
2026-02-02 18:03:35 +03:00
"y" : 55
2025-08-28 14:33:58 +00:00
} ,
"id" : 25 ,
"options" : {
"minVizHeight" : 75 ,
"minVizWidth" : 75 ,
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
"showThresholdLabels" : false ,
"showThresholdMarkers" : true ,
"sizing" : "auto"
} ,
2025-10-17 12:52:23 +03:00
"pluginVersion" : "12.1.0" ,
2025-08-28 14:33:58 +00:00
"targets" : [
{
"editorMode" : "code" ,
"expr" : "tusd_s3_disk_write_duration_ms_sum / tusd_s3_disk_write_duration_ms_count {job=\"integrations/tusd\", instance=~\"$Instance\", pod=~\"$pod\"}\r\n" ,
"legendFormat" : "{{instance}} pod : {{pod}}" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "S3 Disk Write Duration (Avg, ms)" ,
"type" : "gauge"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "prom"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"barWidthFactor" : 0.6 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-10-17 12:52:23 +03:00
"color" : "green" ,
"value" : 0
2025-08-28 14:33:58 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
}
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 9 ,
"w" : 24 ,
"x" : 0 ,
2026-02-02 18:03:35 +03:00
"y" : 63
2025-08-28 14:33:58 +00:00
} ,
"id" : 24 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"hideZeros" : false ,
"mode" : "single" ,
"sort" : "none"
}
} ,
2025-10-17 12:52:23 +03:00
"pluginVersion" : "12.1.0" ,
2025-08-28 14:33:58 +00:00
"targets" : [
{
"editorMode" : "code" ,
2025-10-17 12:52:23 +03:00
"expr" : "(\r\n rate(tusd_s3_request_duration_ms_sum{job=\"integrations/tusd\", instance=~\"$Instance\", pod=~\"$pod\"}[$__interval_ms])\r\n)\r\n/\r\n(\r\n rate(tusd_s3_request_duration_ms_count{job=\"integrations/tusd\", instance=~\"$Instance\", pod=~\"$pod\"}[$__interval_ms])\r\n)" ,
2025-08-28 14:33:58 +00:00
"legendFormat" : "{{instance}} pod : {{pod}} : {{operation}}" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Request Duration (Avg, ms)" ,
"type" : "timeseries"
} ,
{
"collapsed" : false ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2026-02-02 18:03:35 +03:00
"y" : 72
2025-08-28 14:33:58 +00:00
} ,
"id" : 19 ,
"panels" : [ ] ,
"title" : "Hooks" ,
"type" : "row"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "prom"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"barWidthFactor" : 0.6 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-10-17 12:52:23 +03:00
"color" : "green" ,
"value" : 0
2025-08-28 14:33:58 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
}
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
2026-02-02 18:03:35 +03:00
"y" : 73
2025-08-28 14:33:58 +00:00
} ,
"id" : 16 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"hideZeros" : false ,
"mode" : "single" ,
"sort" : "none"
}
} ,
2025-10-17 12:52:23 +03:00
"pluginVersion" : "12.1.0" ,
2025-08-28 14:33:58 +00:00
"targets" : [
{
"editorMode" : "code" ,
"expr" : "rate(tusd_hook_invocations_total{job=\"integrations/tusd\", instance=~\"$Instance\", pod=~\"$pod\"}[5m])" ,
"legendFormat" : "{{instance}} pod : {{pod}} : {{hooktype}}" ,
2025-08-13 14:57:02 +00:00
"range" : true ,
2025-08-28 14:33:58 +00:00
"refId" : "A"
2025-08-13 14:57:02 +00:00
}
] ,
2025-08-28 14:33:58 +00:00
"title" : "Hook Invocations (Rate)" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "prom"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"barWidthFactor" : 0.6 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-10-17 12:52:23 +03:00
"color" : "green" ,
"value" : 0
2025-08-28 14:33:58 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
}
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
2026-02-02 18:03:35 +03:00
"y" : 73
2025-08-28 14:33:58 +00:00
} ,
"id" : 17 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"hideZeros" : false ,
"mode" : "single" ,
"sort" : "none"
}
} ,
2025-10-17 12:52:23 +03:00
"pluginVersion" : "12.1.0" ,
2025-08-28 14:33:58 +00:00
"targets" : [
{
"editorMode" : "code" ,
"expr" : "rate(tusd_hook_errors_total{job=\"integrations/tusd\", instance=~\"$Instance\", pod=~\"$pod\"}[5m])" ,
"legendFormat" : "{{instance}} pod : {{pod}} : {{hooktype}}" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Hook Errors (Rate)" ,
"type" : "timeseries"
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "prom"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
"barWidthFactor" : 0.6 ,
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
2025-10-17 12:52:23 +03:00
"color" : "green" ,
"value" : 0
2025-08-28 14:33:58 +00:00
} ,
{
"color" : "red" ,
"value" : 80
}
]
}
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 5 ,
"w" : 24 ,
"x" : 0 ,
2026-02-02 18:03:35 +03:00
"y" : 81
2025-08-28 14:33:58 +00:00
} ,
"id" : 27 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"hideZeros" : false ,
"mode" : "single" ,
"sort" : "none"
}
} ,
2025-10-17 12:52:23 +03:00
"pluginVersion" : "12.1.0" ,
2025-08-28 14:33:58 +00:00
"targets" : [
{
"editorMode" : "code" ,
"expr" : "rate(tusd_hook_errors_total{job=\"integrations/tusd\", instance=~\"$Instance\", pod=~\"$pod\"}[5m]) / rate(tusd_hook_invocations_total{job=\"integrations/tusd\", instance=~\"$Instance\", pod=~\"$pod\"}[5m])" ,
"legendFormat" : "{{instance}} pod : {{pod}} : {{hooktype}}" ,
"range" : true ,
"refId" : "A"
}
] ,
"title" : "Hook Error Ratio" ,
"type" : "timeseries"
2025-08-13 14:57:02 +00:00
}
] ,
"preload" : false ,
"refresh" : "10s" ,
"schemaVersion" : 41 ,
2025-08-28 11:24:52 +00:00
"tags" : [ ] ,
2025-08-13 14:57:02 +00:00
"templating" : {
"list" : [
{
2025-08-28 14:33:58 +00:00
"allValue" : "~\"$cluster\"" ,
"allowCustomValue" : true ,
2025-08-13 14:57:02 +00:00
"current" : {
2025-10-17 12:52:23 +03:00
"text" : "yandex-prod" ,
"value" : "yandex-prod"
2025-08-13 14:57:02 +00:00
} ,
2025-08-28 14:33:58 +00:00
"definition" : "label_values(cluster)" ,
2025-08-13 14:57:02 +00:00
"includeAll" : false ,
2025-08-28 14:33:58 +00:00
"label" : "Cluster" ,
"name" : "cluster" ,
2025-08-13 14:57:02 +00:00
"options" : [ ] ,
2025-08-28 14:33:58 +00:00
"query" : {
"qryType" : 1 ,
"query" : "label_values(cluster)" ,
"refId" : "PrometheusVariableQueryEditor-VariableQuery"
} ,
"refresh" : 1 ,
"regex" : "" ,
"type" : "query"
} ,
{
"current" : {
2025-10-17 12:52:23 +03:00
"text" : "All" ,
2026-02-02 18:03:35 +03:00
"value" : [
"$__all"
]
2025-08-28 14:33:58 +00:00
} ,
"definition" : "label_values({cluster=~\"$cluster\", job=\"integrations/tusd\"},instance)" ,
"includeAll" : true ,
"multi" : true ,
"name" : "Instance" ,
"options" : [ ] ,
"query" : {
"qryType" : 1 ,
"query" : "label_values({cluster=~\"$cluster\", job=\"integrations/tusd\"},instance)" ,
"refId" : "PrometheusVariableQueryEditor-VariableQuery"
} ,
"refresh" : 1 ,
"regex" : "" ,
"type" : "query"
} ,
{
"current" : {
"text" : "All" ,
2026-02-02 18:03:35 +03:00
"value" : [
"$__all"
]
2025-08-28 14:33:58 +00:00
} ,
"definition" : "label_values({cluster=~\"$cluster\", job=\"integrations/tusd\"},pod)" ,
"includeAll" : true ,
"multi" : true ,
"name" : "pod" ,
"options" : [ ] ,
"query" : {
"qryType" : 1 ,
"query" : "label_values({cluster=~\"$cluster\", job=\"integrations/tusd\"},pod)" ,
"refId" : "PrometheusVariableQueryEditor-VariableQuery"
} ,
"refresh" : 1 ,
"regex" : "" ,
2025-08-13 14:57:02 +00:00
"type" : "query"
}
]
} ,
"time" : {
2025-10-17 12:52:23 +03:00
"from" : "now-12h" ,
2025-08-13 14:57:02 +00:00
"to" : "now"
} ,
"timepicker" : { } ,
"timezone" : "browser" ,
"title" : "Tusd Metrics" ,
2026-02-02 18:03:35 +03:00
"uid" : "eeeebd69-5bb9-4715-feeewwds-544" ,
"version" : 17
2025-08-13 14:57:02 +00:00
}