mirror of
https://github.com/karl0ss/homepage.git
synced 2025-05-02 21:43:39 +01:00
add prometheus widget data validation
This commit is contained in:
parent
8dcb3a27bd
commit
fe494a4ab3
@ -6,7 +6,10 @@ const widget = {
|
|||||||
|
|
||||||
mappings: {
|
mappings: {
|
||||||
targets: {
|
targets: {
|
||||||
endpoint: "targets"
|
endpoint: "targets",
|
||||||
|
validate: [
|
||||||
|
"data"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user