Skip to content
Discussion options

You must be logged in to vote

You could fetch the user team directly in the panel (https://gapit-htmlgraphics-panel.gapit.io/docs/guides/send-post-requests-through-grafana/#get-requests-through-localhost)

fetch("/api/user/teams")

I've made a small program that adds the team the user is in at the end of the URL. This could be modified to redirect to a different dashboard or something.

panel-options

{
    "calcsMutation": "standard",
    "reduceOptions": {
        "calcs": [
            "lastNotNull",
            "last",
            "firstNotNull",
            "first",
            "min",
            "max",
            "mean",
            "sum",
            "count",
            "range",
            "delta",
            "s…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@psheehymn
Comment options

Answer selected by psheehymn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants