mirror of
				https://github.com/rfmoz/grafana-dashboards.git
				synced 2025-03-05 20:51:45 -08:00 
			
		
		
		
	Update node-exporter-freebsd.json
Replace 'node_memory_swap_in_bytes_total' with 'node_memory_swap_size_bytes'. Changes the calculation to ((used swap * 100) / swap size), giving used swap as a percentage of the maximum available swap.
This commit is contained in:
		
							parent
							
								
									b5d0deeadd
								
							
						
					
					
						commit
						21167676e4
					
				|  | @ -427,7 +427,7 @@ | |||
|       "pluginVersion": "6.7.3", | ||||
|       "targets": [ | ||||
|         { | ||||
|           "expr": "(node_memory_swap_used_bytes{instance=\"$node\",job=\"$job\"} * 100) / node_memory_swap_in_bytes_total{instance=\"$node\",job=\"$job\"}", | ||||
|           "expr": "(node_memory_swap_used_bytes{instance=\"$node\",job=\"$job\"} * 100) / node_memory_swap_size_bytes{instance=\"$node\",job=\"$job\"}", | ||||
|           "intervalFactor": 1, | ||||
|           "refId": "A", | ||||
|           "step": 900 | ||||
|  | @ -3659,4 +3659,4 @@ | |||
|     "list": [] | ||||
|   }, | ||||
|   "version": 4 | ||||
| } | ||||
| } | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue