Scopes: Select scope even without data retrieval (#87988)
* Scopes: Select scope even without data retrieval * Pass entire scope and not only the spec to Prometheus * Enrich ScopeSpec that is sent to Prometheus * add name to BE --------- Co-authored-by: Kyle Brandt <kyle@grafana.com>
This commit is contained in:
co-authored by
Kyle Brandt
parent
8b5c9e3e2a
commit
55ea077c3e
@@ -187,9 +187,10 @@
|
||||
"description": "A set of filters applied to apply to the query",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"description": "ScopeSpec is a hand copy of the ScopeSpec struct from pkg/apis/scope/v0alpha1/types.go to avoid import (temp fix)",
|
||||
"description": "ScopeSpec is a hand copy of the ScopeSpec struct from pkg/apis/scope/v0alpha1/types.go to avoid import (temp fix).",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"name",
|
||||
"title",
|
||||
"type",
|
||||
"description",
|
||||
@@ -227,6 +228,10 @@
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"name": {
|
||||
"description": "This is the identifier from metadata.name of the scope model.",
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user