Skip to content

Instantly share code, notes, and snippets.

@yimeng
Created May 29, 2019 02:46
Show Gist options
  • Save yimeng/50a5223d32d12234dc6aa7ef87417fc9 to your computer and use it in GitHub Desktop.
Save yimeng/50a5223d32d12234dc6aa7ef87417fc9 to your computer and use it in GitHub Desktop.
skywalking-dashboard
curl -s 'http://domain.com/api/graphql' -H 'Content-Type: application/json; charset=utf-8' --data-binary \
$'{"variables":
{"duration": {"start":"2019-05-28","end":"2019-05-28","step":"DAY"}},
"query":"
query Dashboard($duration: Duration\u21) {
getGlobalBrief(duration: $duration) {numOfService numOfEndpoint numOfDatabase numOfCache numOfMQ }
}
"}' --compressed | jq .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment