Allow specifying no metrics on /graph/data
This commit is contained in:
parent
6050415fce
commit
2ba14d25be
1 changed files with 1 additions and 0 deletions
|
|
@ -136,6 +136,7 @@ pub async fn get_graph(
|
||||||
|
|
||||||
#[derive(Deserialize)]
|
#[derive(Deserialize)]
|
||||||
pub struct QueryGraphData {
|
pub struct QueryGraphData {
|
||||||
|
#[serde(default)]
|
||||||
metric: Vec<String>,
|
metric: Vec<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue