Skip to content

scopedVars object does not contain all variables #750

@abezkorovayny

Description

@abezkorovayny

I upgraded from Grafana v.11.2 to v.11.6.
I am using the latest avaialble version of plugin - v.0.6.7.

Several dashboards not workig anymore due to parameters not sent.
The scopedVars object, a part of a /query endpoint payload is not properly populated anymore:

Expected

Variables available in the request as it was for Grafana v.11.2

  "scopedVars": {
    "timeZone": {
      "text": [
        "Chennai, India (CHE)"
      ],
      "value": [
        "CHE"
      ]
    },
    "name": {
      "text": "chat",
      "value": "chat"
    },
    "skillBoardUrl": {
      "text": "/d/ca414e45-f16d-4386-bc38-3fa6bb6c576f/skill-board",
      "value": "/d/ca414e45-f16d-4386-bc38-3fa6bb6c576f/skill-board"
    },
    "__interval": {
      "text": "1s",
      "value": "1s"
    },
    "__interval_ms": {
      "text": "1000",
      "value": 1000
    }
  }

Actual

No vars in the request in Grafana v.11.6

  "scopedVars": {
    "undefined": {
      "selected": false,
      "text": "chat",
      "value": "chat"
    },
    "__sceneObject": {
      "text": "__sceneObject"
    },
    "__interval": {
      "text": "1s",
      "value": "1s"
    },
    "__interval_ms": {
      "text": "1000",
      "value": 1000
    }
  }

Thank you in advance for suggestions on how to fix the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions