Created
February 19, 2024 12:45
-
-
Save shairyar/821678220b65426c881baf219dbeaa8e to your computer and use it in GitHub Desktop.
GraphQL query to important dashboard
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```gql | |
mutation importDashboardMutation($appId: String!, $json: String!) { | |
importDashboard(appId: $appId, json: $json) { | |
...Dashboard | |
__typename | |
} | |
} | |
fragment Dashboard on Dashboard { | |
id | |
title | |
description | |
visuals { | |
...Visual | |
__typename | |
} | |
__typename | |
} | |
fragment Visual on Visual { | |
... on VisualTimeseries { | |
__typename | |
id | |
title | |
description | |
lineLabel | |
display | |
format | |
formatInput | |
drawNullAsZero | |
metrics { | |
name | |
fields { | |
field | |
__typename | |
} | |
tags { | |
key | |
value | |
__typename | |
} | |
__typename | |
} | |
} | |
__typename | |
} | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Query Variables