Skip to content

Grafana Variables #63

@magaton

Description

@magaton

Hello, I have a graphql api that looks like this

promoPeriod(logins: [String]!, stores: [String]!): [Month] 

Month is a graphql defined type with fields: id, name, type, etc.
logins and stores are the multi-option variables defined on the same dashboard

I would like to define a variable promotionMonths (hidden) as Query above, that is using selected $logins and $stores which I can later use in other graphql queries on the dashboard.

Any idea how to do this?
I was not able to find any docs wrt this topic (chaining variables with this datasource).
Apologies if I am missing something obvious.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions