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
		
			
				
	
	
		
			166 lines
		
	
	
		
			4.7 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			166 lines
		
	
	
		
			4.7 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", location="moon"}
 | |
| //  Dimensions: 2 Fields by 4 Rows
 | |
| //  +-----------------------------------+------------------------------------+
 | |
| //  | Name: Time                        | Name: Value                        |
 | |
| //  | Labels:                           | Labels: level=error, location=moon |
 | |
| //  | Type: []time.Time                 | Type: []float64                    |
 | |
| //  +-----------------------------------+------------------------------------+
 | |
| //  | 2021-12-10 08:36:06.989 +0000 UTC | 0.4                                |
 | |
| //  | 2021-12-10 08:36:46.989 +0000 UTC | 0.2                                |
 | |
| //  | 2021-12-10 08:36:56.989 +0000 UTC | 0.2                                |
 | |
| //  | 2021-12-10 08:37:46.989 +0000 UTC | 0.6                                |
 | |
| //  +-----------------------------------+------------------------------------+
 | |
| //  
 | |
| //  
 | |
| //  
 | |
| //  Frame[1] {
 | |
| //      "type": "timeseries-multi",
 | |
| //      "typeVersion": [
 | |
| //          0,
 | |
| //          0
 | |
| //      ],
 | |
| //      "executedQueryString": "Expr: up(ALERTS)\nStep: 42s"
 | |
| //  }
 | |
| //  Name: {level="info", location="mars"}
 | |
| //  Dimensions: 2 Fields by 5 Rows
 | |
| //  +-----------------------------------+-----------------------------------+
 | |
| //  | Name: Time                        | Name: Value                       |
 | |
| //  | Labels:                           | Labels: level=info, location=mars |
 | |
| //  | Type: []time.Time                 | Type: []float64                   |
 | |
| //  +-----------------------------------+-----------------------------------+
 | |
| //  | 2021-12-10 08:36:26.989 +0000 UTC | 0.6                               |
 | |
| //  | 2021-12-10 08:36:36.989 +0000 UTC | 0.8                               |
 | |
| //  | 2021-12-10 08:36:46.989 +0000 UTC | 0.8                               |
 | |
| //  | 2021-12-10 08:36:56.989 +0000 UTC | 0.8                               |
 | |
| //  | 2021-12-10 08:37:56.989 +0000 UTC | 2.6                               |
 | |
| //  +-----------------------------------+-----------------------------------+
 | |
| //  
 | |
| //  
 | |
| //  🌟 This was machine generated.  Do not edit. 🌟
 | |
| {
 | |
|   "status": 200,
 | |
|   "frames": [
 | |
|     {
 | |
|       "schema": {
 | |
|         "name": "{level=\"error\", location=\"moon\"}",
 | |
|         "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",
 | |
|               "location": "moon"
 | |
|             },
 | |
|             "config": {
 | |
|               "displayNameFromDS": "{level=\"error\", location=\"moon\"}"
 | |
|             }
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       "data": {
 | |
|         "values": [
 | |
|           [
 | |
|             1639125366989,
 | |
|             1639125406989,
 | |
|             1639125416989,
 | |
|             1639125466989
 | |
|           ],
 | |
|           [
 | |
|             0.4,
 | |
|             0.2,
 | |
|             0.2,
 | |
|             0.6
 | |
|           ]
 | |
|         ]
 | |
|       }
 | |
|     },
 | |
|     {
 | |
|       "schema": {
 | |
|         "name": "{level=\"info\", location=\"mars\"}",
 | |
|         "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": "info",
 | |
|               "location": "mars"
 | |
|             },
 | |
|             "config": {
 | |
|               "displayNameFromDS": "{level=\"info\", location=\"mars\"}"
 | |
|             }
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       "data": {
 | |
|         "values": [
 | |
|           [
 | |
|             1639125386989,
 | |
|             1639125396989,
 | |
|             1639125406989,
 | |
|             1639125416989,
 | |
|             1639125476989
 | |
|           ],
 | |
|           [
 | |
|             0.6,
 | |
|             0.8,
 | |
|             0.8,
 | |
|             0.8,
 | |
|             2.6
 | |
|           ]
 | |
|         ]
 | |
|       }
 | |
|     }
 | |
|   ]
 | |
| } |