Add tags field to Job

This commit is contained in:
Lou Knauer
2021-04-21 10:12:19 +02:00
parent 499d2cdc22
commit 3004e2909a
6 changed files with 232 additions and 185 deletions

View File

@@ -15,6 +15,8 @@ type Job {
memBw_avg: Float
netBw_avg: Float
fileBw_avg: Float
tags: [JobTag!]
}
type JobMetric {
@@ -55,10 +57,7 @@ type Query {
jobMetrics(jobId: String!, metrics: [String]): [JobMetricWithName]!
# Return all known tags or, if jobId is specified, only tags from this job
jobTags(jobId: String): [JobTag!]!
# For a tag ID, return the ID's of all jobs with that tag
jobsByTag(tag: ID!): [ID!]!
tags(jobId: String): [JobTag!]!
}
input StartJobInput {
@@ -90,6 +89,8 @@ input JobFilterList {
}
input JobFilter {
tagName: String
tagType: String
jobId: StringInput
userId: StringInput
projectId: StringInput