Query
query GithubCacheMetrics {
githubCacheMetrics {
windows {
window
total
live
cache
errors
averageMs
}
apiTypes {
apiType
windows {
window
total
live
cache
errors
averageMs
}
}
operations {
operation
windows {
window
total
live
cache
errors
averageMs
}
}
requestSources {
requestSource
windows {
window
total
live
cache
errors
averageMs
}
}
}
}Response
{
"data": {
"githubCacheMetrics": {
"windows": [
{
"window": "string",
"total": 1,
"live": 1,
"cache": 1,
"errors": 1,
"averageMs": 1
}
],
"apiTypes": [
{
"apiType": "GRAPHQL",
"windows": [
{
"window": "string",
"total": 1,
"live": 1,
"cache": 1,
"errors": 1,
"averageMs": 1
}
]
}
],
"operations": [
{
"operation": "string",
"windows": [
{
"window": "string",
"total": 1,
"live": 1,
"cache": 1,
"errors": 1,
"averageMs": 1
}
]
}
],
"requestSources": [
{
"requestSource": "GITHUB_API",
"windows": [
{
"window": "string",
"total": 1,
"live": 1,
"cache": 1,
"errors": 1,
"averageMs": 1
}
]
}
]
}
}
}Queries
githubCacheMetrics
Returns GitHub cache metrics.
QUERY
githubCacheMetrics: GitHubCacheMetrics!Returns
windows
Windows associated with this GitHub cache metrics.
apiTypes
API types associated with this GitHub cache metrics.
operations
Operations associated with this GitHub cache metrics.
requestSources
Request sources associated with this GitHub cache metrics.
Query
query GithubCacheMetrics {
githubCacheMetrics {
windows {
window
total
live
cache
errors
averageMs
}
apiTypes {
apiType
windows {
window
total
live
cache
errors
averageMs
}
}
operations {
operation
windows {
window
total
live
cache
errors
averageMs
}
}
requestSources {
requestSource
windows {
window
total
live
cache
errors
averageMs
}
}
}
}Response
{
"data": {
"githubCacheMetrics": {
"windows": [
{
"window": "string",
"total": 1,
"live": 1,
"cache": 1,
"errors": 1,
"averageMs": 1
}
],
"apiTypes": [
{
"apiType": "GRAPHQL",
"windows": [
{
"window": "string",
"total": 1,
"live": 1,
"cache": 1,
"errors": 1,
"averageMs": 1
}
]
}
],
"operations": [
{
"operation": "string",
"windows": [
{
"window": "string",
"total": 1,
"live": 1,
"cache": 1,
"errors": 1,
"averageMs": 1
}
]
}
],
"requestSources": [
{
"requestSource": "GITHUB_API",
"windows": [
{
"window": "string",
"total": 1,
"live": 1,
"cache": 1,
"errors": 1,
"averageMs": 1
}
]
}
]
}
}
}⌘I