moxious / triage

testing triage actions for issues
0 stars 1 forks source link

Timeseries: Annotations not displayed if not present in initial timerange #330

Open tonypowa opened 3 months ago

tonypowa commented 3 months ago

What happened?

Annotations outside of initial timerange are not displayed on timerange change.

What did you expect to happen?

Display annotations outside of initial timerange when the range is changed and should include the annotation.

Did this work before?

Yes but not sure until when.

How do we reproduce it?

  1. Initiate timeseries panel, let's have a range e.g. now-1d...now

  2. Have an annotation query that returns some annotation in range now-2d...now-1d.

  3. Therefore, annotation query returns empty result for initial timerange.

  4. Change the range to now-2d...now, annotation query should return an annotation record

  5. The annotation is not visible

https://github.com/grafana/grafana/assets/327717/62e163a9-aaad-4ec7-b559-2552f5f99458

  1. in the video, there's initially last 4d range, you can see the annotation.

  2. Then the panel is reloaded with initial last 2d range. The range is then changed to last 4d but the annotation is not visible.

  3. Then again, the panel is reloaded with initial 4d range just to show the annotation is still there.

Is the bug inside a dashboard panel?

| Key | Value |

|--|--|

| Panel | timeseries @ Grafana v11.0.0-pre (6b5047fb1a) |

| Grafana | Grafana v11.0.0-pre (6b5047fb1a) // Open Source |

Panel debug snapshot dashboard ```json { "panels": [ { "datasource": { "type": "grafana", "uid": "grafana" }, "fieldConfig": { "defaults": { "custom": { "drawStyle": "line", "lineInterpolation": null, "barAlignment": 0, "lineWidth": 1, "fillOpacity": 80, "gradientMode": "none", "spanNulls": false, "insertNulls": false, "showPoints": "never", "pointSize": 1, "stacking": { "mode": "normal", "group": "A" }, "axisPlacement": "auto", "axisLabel": "", "axisColorMode": "text", "axisBorderShow": false, "scaleDistribution": { "type": "linear" }, "axisCenteredZero": false, "hideFrom": { "tooltip": false, "viz": false, "legend": false }, "thresholdsStyle": { "mode": "line" }, "axisWidth": 90 }, "color": { "mode": "palette-classic" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "transparent", "value": null }, { "color": "#ffffff", "value": 0 } ] }, "decimals": 2 }, "overrides": [ { "matcher": { "id": "byRegexp", "options": "/ out$/" }, "properties": [ { "id": "custom.stacking", "value": { "group": "A", "mode": "normal" } } ] }, { "matcher": { "id": "byRegexp", "options": "/ in$/" }, "properties": [ { "id": "custom.stacking", "value": { "group": "B", "mode": "normal" } }, { "id": "custom.transform", "value": "negative-Y" } ] }, { "matcher": { "id": "byRegexp", "options": "/speed .+$/" }, "properties": [ { "id": "color", "value": { "fixedColor": "#ef843c", "mode": "fixed" } }, { "id": "custom.fillOpacity", "value": 0 }, { "id": "custom.lineInterpolation", "value": "stepAfter" }, { "id": "custom.lineWidth", "value": 1 }, { "id": "custom.stacking", "value": { "group": false, "mode": "none" } }, { "id": "unit", "value": "bps" } ] }, { "matcher": { "id": "byRegexp", "options": "/usage .+$/" }, "properties": [ { "id": "color", "value": { "fixedColor": "#cca300", "mode": "fixed" } }, { "id": "custom.fillOpacity", "value": 0 }, { "id": "custom.lineWidth", "value": 1 }, { "id": "custom.axisWidth", "value": 70 }, { "id": "custom.axisPlacement", "value": "right" }, { "id": "custom.stacking", "value": { "group": false, "mode": "none" } }, { "id": "unit", "value": "percentunit" } ] }, { "matcher": { "id": "byName", "options": "Force Y-axis" }, "properties": [ { "id": "color", "value": { "fixedColor": "transparent", "mode": "fixed" } }, { "id": "custom.hideFrom", "value": { "legend": true, "tooltip": true, "viz": false } }, { "id": "custom.axisPlacement", "value": "right" }, { "id": "custom.thresholdsStyle", "value": { "mode": "off" } }, { "id": "custom.axisWidth", "value": 70 }, { "id": "unit", "value": "bool_hack_axis" } ] } ] }, "gridPos": { "h": 13, "w": 15, "x": 0, "y": 0 }, "id": 2, "minSpan": null, "options": { "tooltip": { "mode": "multi", "sort": "desc", "maxHeight": 600 }, "legend": { "showLegend": true, "displayMode": "table", "placement": "right", "calcs": [ "max", "last", "pctl95" ], "width": 420 } }, "repeat": null, "repeatDirection": null, "targets": [ { "refId": "A", "datasource": { "type": "grafana", "uid": "grafana" }, "queryType": "snapshot", "snapshot": [ { "schema": { "name": "bps in", "fields": [ { "name": "Time", "type": "time", "config": {} }, { "name": "Value", "type": "number", "config": {} } ] }, "data": { "values": [ [ 1710570240000, 1710570300000, 1710570360000, 1710570420000, 1710570480000, 1710570540000, 1710570600000, 1710570660000, 1710570720000, 1710570780000, 1710570840000, 1710570900000, 1710570960000, 1710571020000, 1710571080000, 1710571140000, 1710571200000, 1710571260000, 1710571320000, 1710571380000, 1710571440000, 1710571500000, 1710571560000, 1710571620000, 1710571680000, 1710571740000, 1710571800000, 1710571860000, 1710571920000, 1710571980000, 1710572040000, 1710572100000, 1710572160000, 1710572220000, 1710572280000, 1710572340000, 1710572400000, 1710572460000, 1710572520000, 1710572580000, 1710572640000, 1710572700000, 1710572760000, 1710572820000, 1710572880000 ], [ null, 12384621000, 12657638060, 12872629244, 12819723019, 12336178034, 12910159578, 13975437745, 13379396898, 13712824802, 13209149770, 13245684990, 13057720781, 13137844599, 13402182813, 13281213055, 13803247997, 13277081728, 12864931495, 13724415359, 13537409839, 13785756510, 13602340545, 13996299543, 13717398102, 13632899076, 13545784156, 14008554701, 14220573804, 14980229121, 14649959802, 14855479041, 14470721005, 14026096642, 14225385608, 15049379110, 14934245421, 15687843804, 15024645387, 14292782967, 14112092438, 14442386639, 13879515431, 14534062508, 14534062508 ] ] } }, { "schema": { "name": "bps out", "fields": [ { "name": "Time", "type": "time", "config": {} }, { "name": "Value", "type": "number", "config": {} } ] }, "data": { "values": [ [ 1710570240000, 1710570300000, 1710570360000, 1710570420000, 1710570480000, 1710570540000, 1710570600000, 1710570660000, 1710570720000, 1710570780000, 1710570840000, 1710570900000, 1710570960000, 1710571020000, 1710571080000, 1710571140000, 1710571200000, 1710571260000, 1710571320000, 1710571380000, 1710571440000, 1710571500000, 1710571560000, 1710571620000, 1710571680000, 1710571740000, 1710571800000, 1710571860000, 1710571920000, 1710571980000, 1710572040000, 1710572100000, 1710572160000, 1710572220000, 1710572280000, 1710572340000, 1710572400000, 1710572460000, 1710572520000, 1710572580000, 1710572640000, 1710572700000, 1710572760000, 1710572820000, 1710572880000 ], [ null, 2672165103, 2913842436, 2785374983, 3150798774, 3021137507, 2852829877, 2926877937, 2811329423, 3115885084, 3234363350, 2959631855, 3354606010, 5383859353, 3091951033, 4780216803, 4263754182, 3250258615, 3353449632, 3360452321, 3427781631, 3428344818, 6709440304, 3587377497, 3832570429, 3317330108, 3033903451, 3558923460, 3087791131, 3446059010, 3879286627, 4107813252, 3972585206, 3501793057, 3670068015, 4201256792, 4371374646, 4603923696, 3925582047, 3693706055, 3998737456, 3651795743, 3342252346, 3341791338, 3341791338 ] ] } }, { "schema": { "name": "Force Y-axis", "fields": [ { "name": "Time", "type": "time", "config": {} }, { "name": "Value", "type": "number", "config": {} } ] }, "data": { "values": [ [ 1710570240000, 1710570300000, 1710570360000, 1710570420000, 1710570480000, 1710570540000, 1710570600000, 1710570660000, 1710570720000, 1710570780000, 1710570840000, 1710570900000, 1710570960000, 1710571020000, 1710571080000, 1710571140000, 1710571200000, 1710571260000, 1710571320000, 1710571380000, 1710571440000, 1710571500000, 1710571560000, 1710571620000, 1710571680000, 1710571740000, 1710571800000, 1710571860000, 1710571920000, 1710571980000, 1710572040000, 1710572100000, 1710572160000, 1710572220000, 1710572280000, 1710572340000, 1710572400000, 1710572460000, 1710572520000, 1710572580000, 1710572640000, 1710572700000, 1710572760000, 1710572820000, 1710570285000, 1710572847000 ], [ null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 0, 0 ] ] } }, { "schema": { "meta": { "dataTopic": "annotations" }, "fields": [ { "name": "cofu", "config": {}, "type": "string" }, { "name": "eywff", "config": {}, "type": "string" }, { "name": "time", "config": {}, "type": "time" }, { "name": "nyrpEot", "config": {}, "type": "number" }, { "name": "zanp", "config": {}, "type": "string" }, { "name": "xmza", "config": {}, "type": "other" }, { "name": "tuwtjp", "config": {}, "type": "other" }, { "name": "chRzkria", "config": {}, "type": "boolean" } ] }, "data": { "values": [ [ "DDfS", "DDfS", "DDfS", "DDfS", "DDfS", "DDfS", "DDfS" ], [ "tliu(226, 77, 66, 0.2)", "tliu(226, 77, 66, 0.2)", "tliu(226, 77, 66, 0.2)", "tliu(226, 77, 66, 0.2)", "tliu(226, 77, 66, 0.2)", "tliu(226, 77, 66, 0.2)", "tliu(226, 77, 66, 0.2)" ], [ 1710571102000, 1710571514000, 1710570997000, 1710570996000, 1710570995000, 1710571514000, 1710571514000 ], [ 1710571156000, 1710571713000, 1710571295000, 1710571298000, 1710571298000, 1710571714000, 1710571712000 ], [ "DDfS\ndoyust:53 ↣ 185.76.9.26:hoszil\nTuay: yuq\n3.2 Gvbw, 0.3 Mnhx\nHlrwotaip ID: 97q87uj5-9x7x-48y9-i5pf-73aczz0ke657", "DDzS\nbaixbd ↣ 185.76.9.26\nTxzb: xolz\n11.1 Gjtm, 0.9 Mjso\nHpbjjovuz ID: 37y6p64t-00c5-4y40-88c1-81ub5i5oig32", "DDuS\nshmxxn ↣ 185.76.9.26\nTwhc: cqv\n5.7 Gxbn, 0.7 Mlgc\nHylgianbw ID: k363888m-b66v-4ot7-953q-pl7fk69201y0", "DDsS\nzxbqom ↣ 185.76.9.26\nTiuo: mvxm\n9.9 Gnir, 0.8 Mygx\nHqnwrzakv ID: 223so26t-t0x7-42u6-kp61-91397962673c", "DDrS\ncvgwkd:53 ↣ 185.76.9.26:4988\nTulv: ncc\n8.3 Ggci, 0.7 Mskj\nHtpbljqke ID: 98245194-200o-4835-m777-5s32fexb1356", "DDsS\npihpxa ↣ 185.76.9.26\nTamr: wtl\n6.7 Ghea, 0.8 Mdvx\nHskalfedz ID: a1198351-243d-4k2v-h8e9-78983v123639", "DDaS\njylltj:53 ↣ 185.76.9.26:16991\nTdnf: ndi\n10.3 Gllh, 0.9 Myrc\nHjseoejtt ID: 8pt61i2j-5p2c-41mm-8x01-01an228q4on5" ], [ [ "ResolvedSimple" ], [ "ResolvedSimple" ], [ "ResolvedSimple" ], [ "ResolvedSimple" ], [ "ResolvedSimple" ], [ "ResolvedSimple" ], [ "ResolvedSimple" ] ], [ { "datasource": "JSON", "enable": true, "hide": false, "iconColor": "rgba(226, 77, 66, 0.2)", "mappings": { "tags": { "source": "field", "value": "Tags" }, "text": { "source": "field", "value": "Text" }, "time": { "source": "field", "value": "Start" }, "timeEnd": { "source": "field", "value": "End" } }, "name": "Hi", "tags": [], "target": { "alias": "", "datasource": "JSON", "payload": "[]", "refId": "", "target": "Hi" } }, { "datasource": "JSON", "enable": true, "hide": false, "iconColor": "rgba(226, 77, 66, 0.2)", "mappings": { "tags": { "source": "field", "value": "Tags" }, "text": { "source": "field", "value": "Text" }, "time": { "source": "field", "value": "Start" }, "timeEnd": { "source": "field", "value": "End" } }, "name": "Hi", "tags": [], "target": { "alias": "", "datasource": "JSON", "payload": "[]", "refId": "", "target": "Hi" } }, { "datasource": "JSON", "enable": true, "hide": false, "iconColor": "rgba(226, 77, 66, 0.2)", "mappings": { "tags": { "source": "field", "value": "Tags" }, "text": { "source": "field", "value": "Text" }, "time": { "source": "field", "value": "Start" }, "timeEnd": { "source": "field", "value": "End" } }, "name": "Hi", "tags": [], "target": { "alias": "", "datasource": "JSON", "payload": "[]", "refId": "", "target": "Hi" } }, { "datasource": "JSON", "enable": true, "hide": false, "iconColor": "rgba(226, 77, 66, 0.2)", "mappings": { "tags": { "source": "field", "value": "Tags" }, "text": { "source": "field", "value": "Text" }, "time": { "source": "field", "value": "Start" }, "timeEnd": { "source": "field", "value": "End" } }, "name": "Hi", "tags": [], "target": { "alias": "", "datasource": "JSON", "payload": "[]", "refId": "", "target": "Hi" } }, { "datasource": "JSON", "enable": true, "hide": false, "iconColor": "rgba(226, 77, 66, 0.2)", "mappings": { "tags": { "source": "field", "value": "Tags" }, "text": { "source": "field", "value": "Text" }, "time": { "source": "field", "value": "Start" }, "timeEnd": { "source": "field", "value": "End" } }, "name": "Hi", "tags": [], "target": { "alias": "", "datasource": "JSON", "payload": "[]", "refId": "", "target": "Hi" } }, { "datasource": "JSON", "enable": true, "hide": false, "iconColor": "rgba(226, 77, 66, 0.2)", "mappings": { "tags": { "source": "field", "value": "Tags" }, "text": { "source": "field", "value": "Text" }, "time": { "source": "field", "value": "Start" }, "timeEnd": { "source": "field", "value": "End" } }, "name": "Hi", "tags": [], "target": { "alias": "", "datasource": "JSON", "payload": "[]", "refId": "", "target": "Hi" } }, { "datasource": "JSON", "enable": true, "hide": false, "iconColor": "rgba(226, 77, 66, 0.2)", "mappings": { "tags": { "source": "field", "value": "Tags" }, "text": { "source": "field", "value": "Text" }, "time": { "source": "field", "value": "Start" }, "timeEnd": { "source": "field", "value": "End" } }, "name": "Hi", "tags": [], "target": { "alias": "", "datasource": "JSON", "payload": "[]", "refId": "", "target": "Hi" } } ], [ true, true, true, true, true, true, true ] ] } } ] } ], "title": "Reproduced with embedded data", "transparent": true, "type": "timeseries" }, { "gridPos": { "h": 7, "w": 9, "x": 15, "y": 0 }, "id": 5, "options": { "content": "\n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n
Paneltimeseries @ Grafana v11.0.0-pre (6b5047fb1a)
QueriesA[undefined]
Data 3 frames, 6 fields, 136 rows
Annotations7
GrafanaGrafana v11.0.0-pre (6b5047fb1a) // Open Source
", "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 \"datasource\": {\n \"type\": \"mixed\",\n \"uid\": \"-- Mixed --\"\n },\n \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \"drawStyle\": \"line\",\n \"lineInterpolation\": null,\n \"barAlignment\": 0,\n \"lineWidth\": 1,\n \"fillOpacity\": 80,\n \"gradientMode\": \"none\",\n \"spanNulls\": false,\n \"insertNulls\": false,\n \"showPoints\": \"never\",\n \"pointSize\": 1,\n \"stacking\": {\n \"mode\": \"normal\",\n \"group\": \"A\"\n },\n \"axisPlacement\": \"auto\",\n \"axisLabel\": \"\",\n \"axisColorMode\": \"text\",\n \"axisBorderShow\": false,\n \"scaleDistribution\": {\n \"type\": \"linear\"\n },\n \"axisCenteredZero\": false,\n \"hideFrom\": {\n \"tooltip\": false,\n \"viz\": false,\n \"legend\": false\n },\n \"thresholdsStyle\": {\n \"mode\": \"line\"\n },\n \"axisWidth\": 90\n },\n \"color\": {\n \"mode\": \"palette-classic\"\n },\n \"mappings\": [],\n \"thresholds\": {\n \"mode\": \"absolute\",\n \"steps\": [\n {\n \"color\": \"transparent\",\n \"value\": null\n },\n {\n \"color\": \"#ffffff\",\n \"value\": 0\n }\n ]\n },\n \"decimals\": 2\n },\n \"overrides\": [\n {\n \"matcher\": {\n \"id\": \"byRegexp\",\n \"options\": \"/ out$/\"\n },\n \"properties\": [\n {\n \"id\": \"custom.stacking\",\n \"value\": {\n \"group\": \"A\",\n \"mode\": \"normal\"\n }\n }\n ]\n },\n {\n \"matcher\": {\n \"id\": \"byRegexp\",\n \"options\": \"/ in$/\"\n },\n \"properties\": [\n {\n \"id\": \"custom.stacking\",\n \"value\": {\n \"group\": \"B\",\n \"mode\": \"normal\"\n }\n },\n {\n \"id\": \"custom.transform\",\n \"value\": \"negative-Y\"\n }\n ]\n },\n {\n \"matcher\": {\n \"id\": \"byRegexp\",\n \"options\": \"/speed .+$/\"\n },\n \"properties\": [\n {\n \"id\": \"color\",\n \"value\": {\n \"fixedColor\": \"#ef843c\",\n \"mode\": \"fixed\"\n }\n },\n {\n \"id\": \"custom.fillOpacity\",\n \"value\": 0\n },\n {\n \"id\": \"custom.lineInterpolation\",\n \"value\": \"stepAfter\"\n },\n {\n \"id\": \"custom.lineWidth\",\n \"value\": 1\n },\n {\n \"id\": \"custom.stacking\",\n \"value\": {\n \"group\": false,\n \"mode\": \"none\"\n }\n },\n {\n \"id\": \"unit\",\n \"value\": \"bps\"\n }\n ]\n },\n {\n \"matcher\": {\n \"id\": \"byRegexp\",\n \"options\": \"/usage .+$/\"\n },\n \"properties\": [\n {\n \"id\": \"color\",\n \"value\": {\n \"fixedColor\": \"#cca300\",\n \"mode\": \"fixed\"\n }\n },\n {\n \"id\": \"custom.fillOpacity\",\n \"value\": 0\n },\n {\n \"id\": \"custom.lineWidth\",\n \"value\": 1\n },\n {\n \"id\": \"custom.axisWidth\",\n \"value\": 70\n },\n {\n \"id\": \"custom.axisPlacement\",\n \"value\": \"right\"\n },\n {\n \"id\": \"custom.stacking\",\n \"value\": {\n \"group\": false,\n \"mode\": \"none\"\n }\n },\n {\n \"id\": \"unit\",\n \"value\": \"percentunit\"\n }\n ]\n },\n {\n \"matcher\": {\n \"id\": \"byName\",\n \"options\": \"Force Y-axis\"\n },\n \"properties\": [\n {\n \"id\": \"color\",\n \"value\": {\n \"fixedColor\": \"transparent\",\n \"mode\": \"fixed\"\n }\n },\n {\n \"id\": \"custom.hideFrom\",\n \"value\": {\n \"legend\": true,\n \"tooltip\": true,\n \"viz\": false\n }\n },\n {\n \"id\": \"custom.axisPlacement\",\n \"value\": \"right\"\n },\n {\n \"id\": \"custom.thresholdsStyle\",\n \"value\": {\n \"mode\": \"off\"\n }\n },\n {\n \"id\": \"custom.axisWidth\",\n \"value\": 70\n },\n {\n \"id\": \"unit\",\n \"value\": \"bool_hack_axis\"\n }\n ]\n }\n ]\n },\n \"gridPos\": {\n \"h\": 8,\n \"w\": 24,\n \"x\": 0,\n \"y\": 0\n },\n \"id\": 1,\n \"minSpan\": null,\n \"options\": {\n \"tooltip\": {\n \"mode\": \"multi\",\n \"sort\": \"desc\",\n \"maxHeight\": 600\n },\n \"legend\": {\n \"showLegend\": true,\n \"displayMode\": \"table\",\n \"placement\": \"right\",\n \"calcs\": [\n \"max\",\n \"last\",\n \"pctl95\"\n ],\n \"width\": 420\n }\n },\n \"repeat\": null,\n \"repeatDirection\": null,\n \"targets\": [\n {\n \"alias\": \"\",\n \"datasource\": \"JSON\",\n \"payload\": \"{\\\"timeseries_group_by\\\":\\\"none\\\",\\\"force_second_y_axis\\\":true,\\\"panel_type\\\":\\\"timeseries\\\"}\",\n \"refId\": \"A\",\n \"target\": \"TrafficForPort\"\n }\n ],\n \"title\": \"Le graf\",\n \"transparent\": true,\n \"type\": \"timeseries\"\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" } ] }, { "id": 7, "gridPos": { "h": 6, "w": 24, "x": 0, "y": 20 }, "type": "table", "title": "Annotations", "datasource": { "type": "datasource", "uid": "-- Dashboard --" }, "options": { "showTypeIcons": true }, "targets": [ { "datasource": { "type": "datasource", "uid": "-- Dashboard --" }, "panelId": 2, "withTransforms": true, "topic": "annotations", "refId": "A" } ] } ], "schemaVersion": 37, "title": "Debug: Le graf // 2024-03-19 13:57:50", "tags": [ "debug", "debug-timeseries" ], "time": { "from": "2024-03-16T06:24:45.165Z", "to": "2024-03-16T07:07:27.834Z" } } ```

Environment (with versions)?

Grafana: b38436eeb09bf92cb499ef3b1a31088816395a10

OS: macos

Browser: chrome

Grafana platform?

None

Datasource(s)?

No response

tonypowa commented 3 months ago

This issue is a test copy of an issue in another repo. Original issue: https://github.com/grafana/grafana/issues/#84733

moxious commented 3 months ago

Summary: The issue describes a problem where annotations that are not present in the initial timerange do not appear when the timerange is changed to include them. This behavior, which does not match user expectations or previous functionality, can be replicated using a timeseries panel in Grafana v11.0.0-pre.

moxious commented 3 months ago

Hi @tonypowa, thank you for reporting the issue with annotations not being displayed correctly after a timerange change. Considering that it involves the Timeseries panel, it's likely related to the Frontend Platform project. I would suggest tagging your issue with the area/frontend label and mentioning it may need attention from the frontend platform team so they can take a closer look.

/label ~"area/frontend"
/cc @frontend-platform-team
moxious commented 3 months ago

Elaboration:

Hello @tonypowa, and thank you for taking the time to report this issue! Your detailed explanation and even providing a video link are really helpful. However, I have a couple of clarifying questions that will help us fully understand and troubleshoot the problem:

  1. Can you confirm if you're experiencing this issue consistently across different browsers or is it isolated to Chrome on macOS?
  2. Have you tested this behavior on any other OS or with a different version of Grafana (other than v11.0.0-pre)?
  3. Could you provide the details of the annotation query configuration? Are there any specific settings that may affect the fetching/displaying of annotations once the time range is changed?
  4. Is there any error message in the browser console when the annotations fail to display after changing the time range?
  5. Since the issue involves a time range change, it would be helpful to see if there are any network requests made for fetching new annotations when the time range is adjusted. Can you inspect the network tab in your browser's dev tools and provide information about any such requests?

Any additional information regarding your environment or steps that might help us reproduce the issue would be greatly appreciated. Thank you!