-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Open
Labels
area/panel/geomaptriage/needs-confirmationused for OSS triage rotation - reported issue needs to be reproducedused for OSS triage rotation - reported issue needs to be reproduced
Description
What went wrong?
What happened:
- I tried to configure a geomap to use the routing layer. I configured the data and panel, with the last click I set the longitude field but the warning about setting the fields remained and an error popped up in the console:
What did you expect to happen:
- route layer is added and visualizes the data
How do we reproduce it?
You can try to reproduce the settings from the screenshot, not sure if it's reproducible
What Grafana version are you using?
v10.0.1 (5a30620)
Optional Questions:
Is the bug inside a Dashboard Panel?
Key | Value |
---|---|
Panel | geomap @ 10.0.1 |
Grafana | 10.0.1 (5a30620) // Open Source |
Panel debug snapshot dashboard
{
"panels": [
{
"type": "geomap",
"title": "Reproduced with embedded data",
"gridPos": {
"h": 13,
"w": 15,
"x": 0,
"y": 0
},
"datasource": {
"type": "grafana",
"uid": "grafana"
},
"id": 2,
"targets": [
{
"refId": "A",
"datasource": {
"type": "grafana",
"uid": "grafana"
},
"queryType": "snapshot",
"snapshot": [
{
"schema": {
"refId": "A",
"meta": {
"executedQueryString": "SELECT mean(\"lat_nmea\") AS \"lat\", mean(\"lon_nmea\") AS \"lon\" FROM \"autogen\".\"gps\" WHERE time >= now() - 5m and time <= now() GROUP BY time(2s) fill(null)"
},
"fields": [
{
"name": "Time",
"config": {},
"type": "time"
},
{
"name": "lat",
"config": {},
"type": "number"
},
{
"name": "lon",
"config": {},
"type": "number"
}
]
},
"data": {
"values": [
[
1687536502000,
1687536504000,
1687536506000,
1687536508000,
1687536510000,
1687536512000,
1687536514000,
1687536516000,
1687536518000,
1687536520000,
1687536522000,
1687536524000,
1687536526000,
1687536528000,
1687536530000,
1687536532000,
1687536534000,
1687536536000,
1687536538000,
1687536540000,
1687536542000,
1687536544000,
1687536546000,
1687536548000,
1687536550000,
1687536552000,
1687536554000,
1687536556000,
1687536558000,
1687536560000,
1687536562000,
1687536564000,
1687536566000,
1687536568000,
1687536570000,
1687536572000,
1687536574000,
1687536576000,
1687536578000,
1687536580000,
1687536582000,
1687536584000,
1687536586000,
1687536588000,
1687536590000,
1687536592000,
1687536594000,
1687536596000,
1687536598000,
1687536600000,
1687536602000,
1687536604000,
1687536606000,
1687536608000,
1687536610000,
1687536612000,
1687536614000,
1687536616000,
1687536618000,
1687536620000,
1687536622000,
1687536624000,
1687536626000,
1687536628000,
1687536630000,
1687536632000,
1687536634000,
1687536636000,
1687536638000,
1687536640000,
1687536642000,
1687536644000,
1687536646000,
1687536648000,
1687536650000,
1687536652000,
1687536654000,
1687536656000,
1687536658000,
1687536660000,
1687536662000,
1687536664000,
1687536666000,
1687536668000,
1687536670000,
1687536672000,
1687536674000,
1687536676000,
1687536678000,
1687536680000,
1687536682000,
1687536684000,
1687536686000,
1687536688000,
1687536690000,
1687536692000,
1687536694000,
1687536696000,
1687536698000,
1687536700000,
1687536702000,
1687536704000,
1687536706000,
1687536708000,
1687536710000,
1687536712000,
1687536714000,
1687536716000,
1687536718000,
1687536720000,
1687536722000,
1687536724000,
1687536726000,
1687536728000,
1687536730000,
1687536732000,
1687536734000,
1687536736000,
1687536738000,
1687536740000,
1687536742000,
1687536744000,
1687536746000,
1687536748000,
1687536750000,
1687536752000,
1687536754000,
1687536756000,
1687536758000,
1687536760000,
1687536762000,
1687536764000,
1687536766000,
1687536768000,
1687536770000,
1687536772000,
1687536774000,
1687536776000,
1687536778000,
1687536780000,
1687536782000,
1687536784000,
1687536786000,
1687536788000,
1687536790000,
1687536792000,
1687536794000,
1687536796000,
1687536798000,
1687536800000,
1687536802000
],
[
null,
50.35543166666667,
50.35543166666667,
50.35543166666667,
null,
null,
50.35543166666667,
50.35543166666667,
null,
null,
null,
null,
null,
null,
50.355673333333336,
50.355885,
null,
null,
50.356025,
null,
null,
50.356155,
50.356155,
50.356155,
null,
null,
50.356155,
null,
null,
null,
null,
null,
null,
50.35615333333333,
null,
null,
50.35615333333333,
50.35615333333333,
50.35615333333333,
null,
50.35615166666667,
null,
50.35615166666667,
null,
50.35615166666667,
50.35615166666667,
50.35615166666667,
null,
null,
50.35615166666667,
null,
null,
null,
50.35613166666667,
50.35601,
null,
50.35574166666667,
50.35559333333333,
null,
null,
null,
50.355075,
null,
null,
null,
50.354758333333336,
null,
null,
50.35476166666667,
null,
50.35476166666667,
null,
50.35476166666667,
null,
null,
50.35476166666667,
null,
50.35476166666667,
50.35476166666667,
null,
null,
null,
null,
null,
50.35473,
null,
50.354686666666666,
null,
null,
50.354495,
50.354365,
null,
50.35399833333334,
50.353941666666664,
null,
null,
null,
null,
50.35333,
null,
null,
null,
null,
50.35304166666667,
50.35304166666667,
50.35304333333333,
null,
null,
50.352893333333334,
null,
50.35272166666667,
null,
50.352275,
50.352275,
null,
50.351945,
null,
null,
null,
null,
null,
null,
null,
50.35141,
50.35138833333333,
null,
50.35133166666667,
null,
50.35143,
null,
null,
50.35152,
null,
50.35146,
null,
50.35133833333333,
null,
null,
50.35118833333333,
null,
null,
50.351084166666666,
null,
50.351025,
null,
null,
null,
null,
50.350773333333336,
null,
null
],
[
null,
7.591846666666667,
7.591846666666667,
7.591846666666667,
null,
null,
7.591846666666667,
7.591846666666667,
null,
null,
null,
null,
null,
null,
7.591945,
7.592045,
null,
null,
7.591896666666667,
null,
null,
7.591503333333334,
7.591503333333334,
7.591503333333334,
null,
null,
7.591503333333334,
null,
null,
null,
null,
null,
null,
7.591503333333334,
null,
null,
7.591503333333334,
7.591503333333334,
7.591505,
null,
7.591505,
null,
7.591505,
null,
7.591505,
7.591505,
7.591505,
null,
null,
7.591503333333334,
null,
null,
null,
7.591096666666667,
7.590998333333333,
null,
7.59087,
7.5908066666666665,
null,
null,
null,
7.590541666666667,
null,
null,
null,
7.590401666666667,
null,
null,
7.590395,
null,
7.590395,
null,
7.590395,
null,
null,
7.590395,
null,
7.590395,
7.590395,
null,
null,
null,
null,
null,
7.590421666666667,
null,
7.590355,
null,
null,
7.590185,
7.59009,
null,
7.589695,
7.589648333333333,
null,
null,
null,
null,
7.589485,
null,
null,
null,
null,
7.589476666666666,
7.589475,
7.589473333333333,
null,
null,
7.589458333333333,
null,
7.58945,
null,
7.589433333333333,
7.589433333333333,
null,
7.589413333333333,
null,
null,
null,
null,
null,
null,
null,
7.589528333333333,
7.589573333333333,
null,
7.58976,
null,
7.590038333333333,
null,
null,
7.59042,
null,
7.5907116666666665,
null,
7.59119,
null,
null,
7.591736666666667,
null,
null,
7.592069166666667,
null,
7.592121666666666,
null,
null,
null,
null,
7.591991666666667,
null,
null
]
]
}
}
]
}
],
"options": {
"view": {
"allLayers": true,
"id": "zero",
"lat": 0,
"lon": 0,
"zoom": 1
},
"controls": {
"showZoom": true,
"mouseWheelZoom": true,
"showAttribution": true,
"showScale": false,
"showMeasure": false,
"showDebug": false
},
"tooltip": {
"mode": "details"
},
"layers": [
{
"type": "route",
"name": "Layer 1",
"config": {
"style": {
"size": {
"fixed": 5,
"min": 2,
"max": 15
},
"color": {
"fixed": "dark-green"
},
"opacity": 1,
"symbol": {
"mode": "fixed",
"fixed": "img/icons/marker/circle.svg"
},
"textConfig": {
"fontSize": 12,
"textAlign": "center",
"textBaseline": "middle",
"offsetX": 0,
"offsetY": 0
},
"rotation": {
"fixed": 0,
"mode": "mod",
"min": -360,
"max": 360
},
"lineWidth": 2
},
"arrow": 0
},
"tooltip": true,
"filterData": {
"id": "byRefId",
"options": "A"
},
"location": {
"mode": "coords",
"latitude": "lat"
}
}
],
"basemap": {
"type": "default",
"name": "Layer 0",
"config": {}
}
},
"fieldConfig": {
"defaults": {
"custom": {
"hideFrom": {
"tooltip": false,
"viz": false,
"legend": false
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"value": null,
"color": "green"
},
{
"value": 80,
"color": "red"
}
]
},
"color": {
"mode": "thresholds"
}
},
"overrides": []
},
"pluginVersion": "10.0.1",
"maxDataPoints": 100
},
{
"gridPos": {
"h": 7,
"w": 9,
"x": 15,
"y": 0
},
"id": 5,
"options": {
"content": "<table width=\"100%\">\n <tr>\n <th width=\"2%\">Panel</th>\n <td >geomap @ 10.0.1</td>\n </tr>\n <tr>\n <th>Queries</th>\n <td>A[influxdb]</td>\n </tr>\n \n <tr><th>Data</th><td> 1 frames, 3 fields, 151 rows </td></tr>\n \n <tr>\n <th>Grafana</th>\n <td>10.0.1 (5a30620b85) // Open Source</td>\n </tr>\n </table>",
"mode": "html"
},
"title": "Debug info",
"type": "text"
},
{
"id": 6,
"title": "Original Panel JSON",
"type": "text",
"gridPos": {
"h": 13,
"w": 9,
"x": 15,
"y": 7
},
"options": {
"content": "{\n \"type\": \"geomap\",\n \"title\": \"Panel Title\",\n \"gridPos\": {\n \"x\": 0,\n \"y\": 0,\n \"w\": 12,\n \"h\": 8\n },\n \"datasource\": {\n \"uid\": \"a73cbc43-c9f8-4fa8-a11a-d86b82584ae6\",\n \"type\": \"influxdb\"\n },\n \"id\": 2,\n \"targets\": [\n {\n \"datasource\": {\n \"type\": \"influxdb\",\n \"uid\": \"a73cbc43-c9f8-4fa8-a11a-d86b82584ae6\"\n },\n \"refId\": \"A\",\n \"resultFormat\": \"table\",\n \"orderByTime\": \"ASC\",\n \"tags\": [],\n \"groupBy\": [\n {\n \"type\": \"time\",\n \"params\": [\n \"$__interval\"\n ]\n },\n {\n \"type\": \"fill\",\n \"params\": [\n \"null\"\n ]\n }\n ],\n \"select\": [\n [\n {\n \"type\": \"field\",\n \"params\": [\n \"lat_nmea\"\n ]\n },\n {\n \"type\": \"mean\",\n \"params\": []\n },\n {\n \"type\": \"alias\",\n \"params\": [\n \"lat\"\n ]\n }\n ],\n [\n {\n \"type\": \"field\",\n \"params\": [\n \"lon_nmea\"\n ]\n },\n {\n \"type\": \"mean\",\n \"params\": []\n },\n {\n \"type\": \"alias\",\n \"params\": [\n \"lon\"\n ]\n }\n ]\n ],\n \"policy\": \"autogen\",\n \"measurement\": \"gps\"\n }\n ],\n \"options\": {\n \"view\": {\n \"allLayers\": true,\n \"id\": \"zero\",\n \"lat\": 0,\n \"lon\": 0,\n \"zoom\": 1\n },\n \"controls\": {\n \"showZoom\": true,\n \"mouseWheelZoom\": true,\n \"showAttribution\": true,\n \"showScale\": false,\n \"showMeasure\": false,\n \"showDebug\": false\n },\n \"tooltip\": {\n \"mode\": \"details\"\n },\n \"layers\": [\n {\n \"type\": \"route\",\n \"name\": \"Layer 1\",\n \"config\": {\n \"style\": {\n \"size\": {\n \"fixed\": 5,\n \"min\": 2,\n \"max\": 15\n },\n \"color\": {\n \"fixed\": \"dark-green\"\n },\n \"opacity\": 1,\n \"symbol\": {\n \"mode\": \"fixed\",\n \"fixed\": \"img/icons/marker/circle.svg\"\n },\n \"textConfig\": {\n \"fontSize\": 12,\n \"textAlign\": \"center\",\n \"textBaseline\": \"middle\",\n \"offsetX\": 0,\n \"offsetY\": 0\n },\n \"rotation\": {\n \"fixed\": 0,\n \"mode\": \"mod\",\n \"min\": -360,\n \"max\": 360\n },\n \"lineWidth\": 2\n },\n \"arrow\": 0\n },\n \"tooltip\": true,\n \"filterData\": {\n \"id\": \"byRefId\",\n \"options\": \"A\"\n },\n \"location\": {\n \"mode\": \"coords\",\n \"latitude\": \"lat\"\n }\n }\n ],\n \"basemap\": {\n \"type\": \"default\",\n \"name\": \"Layer 0\",\n \"config\": {}\n }\n },\n \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \"hideFrom\": {\n \"tooltip\": false,\n \"viz\": false,\n \"legend\": false\n }\n },\n \"mappings\": [],\n \"thresholds\": {\n \"mode\": \"absolute\",\n \"steps\": [\n {\n \"value\": null,\n \"color\": \"green\"\n },\n {\n \"value\": 80,\n \"color\": \"red\"\n }\n ]\n },\n \"color\": {\n \"mode\": \"thresholds\"\n }\n },\n \"overrides\": []\n },\n \"pluginVersion\": \"10.0.1\",\n \"maxDataPoints\": 100\n}",
"mode": "code",
"code": {
"language": "json",
"showLineNumbers": true,
"showMiniMap": true
}
}
},
{
"id": 3,
"title": "Data from panel above",
"type": "table",
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"gridPos": {
"h": 7,
"w": 15,
"x": 0,
"y": 13
},
"options": {
"showTypeIcons": true
},
"targets": [
{
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"panelId": 2,
"withTransforms": true,
"refId": "A"
}
]
}
],
"schemaVersion": 37,
"title": "Debug: Panel Title // 2023-06-23 18:14:14",
"tags": [
"debug",
"debug-geomap"
],
"time": {
"from": "2023-06-23T16:09:14.655Z",
"to": "2023-06-23T16:14:14.655Z"
}
}
Grafana Platform?
A downloaded binary
User's OS?
Windows 10
User's Browser?
Firefox 114.0.2
Is this a Regression?
None
Are Datasources involved?
No response
Anything else to add?
No response
stertingen
Metadata
Metadata
Assignees
Labels
area/panel/geomaptriage/needs-confirmationused for OSS triage rotation - reported issue needs to be reproducedused for OSS triage rotation - reported issue needs to be reproduced