change tags filter api, add load_avg, use camelCase in API

This commit is contained in:
Lou Knauer
2021-04-30 10:26:13 +02:00
parent 365b1a2066
commit 836c1aea3a
5 changed files with 160 additions and 98 deletions

View File

@@ -78,7 +78,7 @@ type Query {
jobById(jobId: String!): Job
jobs(filter: JobFilterList, page: PageRequest, order: OrderByInput): JobResultList!
jobsStatistics(filter: JobFilterList): JobsStatistics!
jobMetrics(jobId: String!, metrics: [String]): [JobMetricWithName]!
jobMetrics(jobId: String!, clusterId: String, startTime: Time, metrics: [String]): [JobMetricWithName]!
# Return all known tags or, if jobId is specified, only tags from this job
tags(jobId: String): [JobTag!]!
@@ -113,8 +113,7 @@ input JobFilterList {
}
input JobFilter {
tagName: String
tagType: String
tags: [ID!]
jobId: StringInput
userId: StringInput
projectId: StringInput