mirror of
				https://github.com/ItsDrike/network-monitor.git
				synced 2025-11-04 04:16:35 +00:00 
			
		
		
		
	Added Grafana Org Stats
This commit is contained in:
		
							parent
							
								
									d2085014a5
								
							
						
					
					
						commit
						92e4a3c668
					
				
					 1 changed files with 237 additions and 0 deletions
				
			
		
							
								
								
									
										237
									
								
								Grafana-Org-Stats.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										237
									
								
								Grafana-Org-Stats.json
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,237 @@
 | 
			
		|||
{
 | 
			
		||||
  "__inputs": [
 | 
			
		||||
    {
 | 
			
		||||
      "name": "DS_PROMETHEUS",
 | 
			
		||||
      "label": "Prometheus",
 | 
			
		||||
      "description": "",
 | 
			
		||||
      "type": "datasource",
 | 
			
		||||
      "pluginId": "prometheus",
 | 
			
		||||
      "pluginName": "Prometheus"
 | 
			
		||||
    }
 | 
			
		||||
  ],
 | 
			
		||||
  "__requires": [
 | 
			
		||||
    {
 | 
			
		||||
      "type": "grafana",
 | 
			
		||||
      "id": "grafana",
 | 
			
		||||
      "name": "Grafana",
 | 
			
		||||
      "version": "4.1.2"
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      "type": "panel",
 | 
			
		||||
      "id": "graph",
 | 
			
		||||
      "name": "Graph",
 | 
			
		||||
      "version": ""
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      "type": "datasource",
 | 
			
		||||
      "id": "prometheus",
 | 
			
		||||
      "name": "Prometheus",
 | 
			
		||||
      "version": "1.0.0"
 | 
			
		||||
    }
 | 
			
		||||
  ],
 | 
			
		||||
  "annotations": {
 | 
			
		||||
    "list": []
 | 
			
		||||
  },
 | 
			
		||||
  "editable": true,
 | 
			
		||||
  "gnetId": null,
 | 
			
		||||
  "graphTooltip": 0,
 | 
			
		||||
  "hideControls": false,
 | 
			
		||||
  "id": null,
 | 
			
		||||
  "links": [],
 | 
			
		||||
  "rows": [
 | 
			
		||||
    {
 | 
			
		||||
      "collapse": false,
 | 
			
		||||
      "height": "250px",
 | 
			
		||||
      "panels": [
 | 
			
		||||
        {
 | 
			
		||||
          "aliasColors": {},
 | 
			
		||||
          "bars": false,
 | 
			
		||||
          "datasource": "${DS_PROMETHEUS}",
 | 
			
		||||
          "fill": 1,
 | 
			
		||||
          "id": 1,
 | 
			
		||||
          "legend": {
 | 
			
		||||
            "avg": false,
 | 
			
		||||
            "current": false,
 | 
			
		||||
            "max": false,
 | 
			
		||||
            "min": false,
 | 
			
		||||
            "show": true,
 | 
			
		||||
            "total": false,
 | 
			
		||||
            "values": false
 | 
			
		||||
          },
 | 
			
		||||
          "lines": true,
 | 
			
		||||
          "linewidth": 1,
 | 
			
		||||
          "links": [],
 | 
			
		||||
          "nullPointMode": "null",
 | 
			
		||||
          "percentage": false,
 | 
			
		||||
          "pointradius": 5,
 | 
			
		||||
          "points": false,
 | 
			
		||||
          "renderer": "flot",
 | 
			
		||||
          "seriesOverrides": [],
 | 
			
		||||
          "span": 6,
 | 
			
		||||
          "stack": false,
 | 
			
		||||
          "steppedLine": false,
 | 
			
		||||
          "targets": [
 | 
			
		||||
            {
 | 
			
		||||
              "expr": "topk(5, github_repo_stars)",
 | 
			
		||||
              "intervalFactor": 2,
 | 
			
		||||
              "legendFormat": "{{repo}}",
 | 
			
		||||
              "metric": "github_repo_stars",
 | 
			
		||||
              "refId": "A",
 | 
			
		||||
              "step": 60
 | 
			
		||||
            }
 | 
			
		||||
          ],
 | 
			
		||||
          "thresholds": [],
 | 
			
		||||
          "timeFrom": null,
 | 
			
		||||
          "timeShift": null,
 | 
			
		||||
          "title": "Top 5 Repos",
 | 
			
		||||
          "tooltip": {
 | 
			
		||||
            "shared": true,
 | 
			
		||||
            "sort": 0,
 | 
			
		||||
            "value_type": "individual"
 | 
			
		||||
          },
 | 
			
		||||
          "type": "graph",
 | 
			
		||||
          "xaxis": {
 | 
			
		||||
            "mode": "time",
 | 
			
		||||
            "name": null,
 | 
			
		||||
            "show": true,
 | 
			
		||||
            "values": []
 | 
			
		||||
          },
 | 
			
		||||
          "yaxes": [
 | 
			
		||||
            {
 | 
			
		||||
              "format": "short",
 | 
			
		||||
              "label": null,
 | 
			
		||||
              "logBase": 1,
 | 
			
		||||
              "max": null,
 | 
			
		||||
              "min": null,
 | 
			
		||||
              "show": true
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
              "format": "short",
 | 
			
		||||
              "label": null,
 | 
			
		||||
              "logBase": 1,
 | 
			
		||||
              "max": null,
 | 
			
		||||
              "min": null,
 | 
			
		||||
              "show": true
 | 
			
		||||
            }
 | 
			
		||||
          ]
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          "aliasColors": {},
 | 
			
		||||
          "bars": false,
 | 
			
		||||
          "datasource": "${DS_PROMETHEUS}",
 | 
			
		||||
          "fill": 1,
 | 
			
		||||
          "id": 2,
 | 
			
		||||
          "legend": {
 | 
			
		||||
            "avg": false,
 | 
			
		||||
            "current": false,
 | 
			
		||||
            "max": false,
 | 
			
		||||
            "min": false,
 | 
			
		||||
            "show": true,
 | 
			
		||||
            "total": false,
 | 
			
		||||
            "values": false
 | 
			
		||||
          },
 | 
			
		||||
          "lines": true,
 | 
			
		||||
          "linewidth": 1,
 | 
			
		||||
          "links": [],
 | 
			
		||||
          "nullPointMode": "null",
 | 
			
		||||
          "percentage": false,
 | 
			
		||||
          "pointradius": 5,
 | 
			
		||||
          "points": false,
 | 
			
		||||
          "renderer": "flot",
 | 
			
		||||
          "seriesOverrides": [],
 | 
			
		||||
          "span": 6,
 | 
			
		||||
          "stack": false,
 | 
			
		||||
          "steppedLine": false,
 | 
			
		||||
          "targets": [
 | 
			
		||||
            {
 | 
			
		||||
              "expr": "sum(github_repo_stars)",
 | 
			
		||||
              "intervalFactor": 2,
 | 
			
		||||
              "legendFormat": "Total Github Stars",
 | 
			
		||||
              "metric": "github_repo_stars",
 | 
			
		||||
              "refId": "A",
 | 
			
		||||
              "step": 60
 | 
			
		||||
            }
 | 
			
		||||
          ],
 | 
			
		||||
          "thresholds": [],
 | 
			
		||||
          "timeFrom": null,
 | 
			
		||||
          "timeShift": null,
 | 
			
		||||
          "title": "Total GitHub Stars",
 | 
			
		||||
          "tooltip": {
 | 
			
		||||
            "shared": true,
 | 
			
		||||
            "sort": 0,
 | 
			
		||||
            "value_type": "individual"
 | 
			
		||||
          },
 | 
			
		||||
          "type": "graph",
 | 
			
		||||
          "xaxis": {
 | 
			
		||||
            "mode": "time",
 | 
			
		||||
            "name": null,
 | 
			
		||||
            "show": true,
 | 
			
		||||
            "values": []
 | 
			
		||||
          },
 | 
			
		||||
          "yaxes": [
 | 
			
		||||
            {
 | 
			
		||||
              "format": "short",
 | 
			
		||||
              "label": null,
 | 
			
		||||
              "logBase": 1,
 | 
			
		||||
              "max": null,
 | 
			
		||||
              "min": null,
 | 
			
		||||
              "show": true
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
              "format": "short",
 | 
			
		||||
              "label": null,
 | 
			
		||||
              "logBase": 1,
 | 
			
		||||
              "max": null,
 | 
			
		||||
              "min": null,
 | 
			
		||||
              "show": true
 | 
			
		||||
            }
 | 
			
		||||
          ]
 | 
			
		||||
        }
 | 
			
		||||
      ],
 | 
			
		||||
      "repeat": null,
 | 
			
		||||
      "repeatIteration": null,
 | 
			
		||||
      "repeatRowId": null,
 | 
			
		||||
      "showTitle": false,
 | 
			
		||||
      "title": "Dashboard Row",
 | 
			
		||||
      "titleSize": "h6"
 | 
			
		||||
    }
 | 
			
		||||
  ],
 | 
			
		||||
  "schemaVersion": 14,
 | 
			
		||||
  "style": "dark",
 | 
			
		||||
  "tags": [],
 | 
			
		||||
  "templating": {
 | 
			
		||||
    "list": []
 | 
			
		||||
  },
 | 
			
		||||
  "time": {
 | 
			
		||||
    "from": "now-6h",
 | 
			
		||||
    "to": "now"
 | 
			
		||||
  },
 | 
			
		||||
  "timepicker": {
 | 
			
		||||
    "refresh_intervals": [
 | 
			
		||||
      "5s",
 | 
			
		||||
      "10s",
 | 
			
		||||
      "30s",
 | 
			
		||||
      "1m",
 | 
			
		||||
      "5m",
 | 
			
		||||
      "15m",
 | 
			
		||||
      "30m",
 | 
			
		||||
      "1h",
 | 
			
		||||
      "2h",
 | 
			
		||||
      "1d"
 | 
			
		||||
    ],
 | 
			
		||||
    "time_options": [
 | 
			
		||||
      "5m",
 | 
			
		||||
      "15m",
 | 
			
		||||
      "1h",
 | 
			
		||||
      "6h",
 | 
			
		||||
      "12h",
 | 
			
		||||
      "24h",
 | 
			
		||||
      "2d",
 | 
			
		||||
      "7d",
 | 
			
		||||
      "30d"
 | 
			
		||||
    ]
 | 
			
		||||
  },
 | 
			
		||||
  "timezone": "browser",
 | 
			
		||||
  "title": "Org Stats",
 | 
			
		||||
  "version": 0
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue