提交 246f8871 编写于 作者: K Kdump 提交者: wu-sheng

Query server time info (#15)

* add query server time info

* add query server time info

* add query server time info

* add query server time info

* add query server time info
上级 6fc96650
{
"name": "Skywalking GraphQL Schema",
"schemaPath": "schema.graphql",
"extensions": {
"endpoints": {
"Dev GraphQL Endpoint": {
"url": "http://localhost:12800/graphql",
"headers": {
"user-agent": "JS GraphQL"
},
"introspect": false
}
}
}
}
\ No newline at end of file
......@@ -58,6 +58,13 @@ type Database {
type: String!
}
type TimeInfo {
# server current timezone
timezone: String
# server current timestamp
currentTimestamp: Long
}
extend type Query {
getGlobalBrief(duration: Duration!): ClusterBrief
......@@ -77,4 +84,5 @@ extend type Query {
# Database related meta info.
getAllDatabases(duration: Duration!): [Database!]!
getTimeInfo: TimeInfo
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册