mirror of
				https://github.com/grafana/grafana.git
				synced 2025-02-25 18:55:37 -06:00 
			
		
		
		
	Use latest github.com/grafana/grafana-plugin-sdk-go which includes changes to the TypeVersion property (always present in JSON). Also included is squtil changes: SQL util - allow using the database scan type for converters
		
			
				
	
	
		
			84 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			84 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| //  🌟 This was machine generated.  Do not edit. 🌟
 | |
| //  
 | |
| //  Frame[0] {
 | |
| //      "type": "timeseries-multi",
 | |
| //      "typeVersion": [
 | |
| //          0,
 | |
| //          0
 | |
| //      ],
 | |
| //      "executedQueryString": "Expr: up(ALERTS)\nStep: 42s"
 | |
| //  }
 | |
| //  Name: {level="error"}
 | |
| //  Dimensions: 2 Fields by 4 Rows
 | |
| //  +-----------------------------------+---------------------+
 | |
| //  | Name: Time                        | Name: Value         |
 | |
| //  | Labels:                           | Labels: level=error |
 | |
| //  | Type: []time.Time                 | Type: []float64     |
 | |
| //  +-----------------------------------+---------------------+
 | |
| //  | 2021-12-10 08:36:06.511 +0000 UTC | 0.4                 |
 | |
| //  | 2021-12-10 08:36:46.512 +0000 UTC | 0.2                 |
 | |
| //  | 2021-12-10 08:36:56.513 +0000 UTC | 0.2                 |
 | |
| //  | 2021-12-10 08:37:46.514 +0000 UTC | 0.6                 |
 | |
| //  +-----------------------------------+---------------------+
 | |
| //  
 | |
| //  
 | |
| //  🌟 This was machine generated.  Do not edit. 🌟
 | |
| {
 | |
|   "status": 200,
 | |
|   "frames": [
 | |
|     {
 | |
|       "schema": {
 | |
|         "name": "{level=\"error\"}",
 | |
|         "meta": {
 | |
|           "type": "timeseries-multi",
 | |
|           "typeVersion": [
 | |
|             0,
 | |
|             0
 | |
|           ],
 | |
|           "executedQueryString": "Expr: up(ALERTS)\nStep: 42s"
 | |
|         },
 | |
|         "fields": [
 | |
|           {
 | |
|             "name": "Time",
 | |
|             "type": "time",
 | |
|             "typeInfo": {
 | |
|               "frame": "time.Time"
 | |
|             },
 | |
|             "config": {
 | |
|               "interval": 42000
 | |
|             }
 | |
|           },
 | |
|           {
 | |
|             "name": "Value",
 | |
|             "type": "number",
 | |
|             "typeInfo": {
 | |
|               "frame": "float64"
 | |
|             },
 | |
|             "labels": {
 | |
|               "level": "error"
 | |
|             },
 | |
|             "config": {
 | |
|               "displayNameFromDS": "{level=\"error\"}"
 | |
|             }
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       "data": {
 | |
|         "values": [
 | |
|           [
 | |
|             1639125366511,
 | |
|             1639125406512,
 | |
|             1639125416513,
 | |
|             1639125466514
 | |
|           ],
 | |
|           [
 | |
|             0.4,
 | |
|             0.2,
 | |
|             0.2,
 | |
|             0.6
 | |
|           ]
 | |
|         ]
 | |
|       }
 | |
|     }
 | |
|   ]
 | |
| } |