Feature: Prometheus Metric service widget (#4269)

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
Felix Cornelius 2024-11-12 01:42:14 +01:00 committed by GitHub
parent 794ec127cd
commit e938c3ac1e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 211 additions and 1 deletions

View file

@ -0,0 +1,16 @@
import genericProxyHandler from "utils/proxy/handlers/generic";
const widget = {
api: "{url}/api/v1/{endpoint}",
proxyHandler: genericProxyHandler,
mappings: {
query: {
method: "GET",
endpoint: "query",
params: ["query"],
},
},
};
export default widget;