add prometheus service widget

This commit is contained in:
Tristin Terry 2023-02-24 19:55:13 -06:00
parent 7740f7e2dd
commit 8dcb3a27bd
5 changed files with 60 additions and 0 deletions

View file

@ -0,0 +1,14 @@
import genericProxyHandler from "utils/proxy/handlers/generic";
const widget = {
api: "{url}/api/v1/{endpoint}",
proxyHandler: genericProxyHandler,
mappings: {
targets: {
endpoint: "targets"
},
},
};
export default widget;