chore: extract prometheus from core

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen authored and Sebastian Malton committed 2023-06-01 13:53:39 -04:00
1 parent 7274cdde50
commit f602ce8f46
23 files changed
+275 -82

No files matched your search

+1
View File
@@ -206,6 +206,7 @@
"@k8slens/messaging-for-renderer": "^1.0.0",
"@k8slens/metrics": "^6.5.0",
"@k8slens/node-fetch": "^6.5.0",
"@k8slens/prometheus": "^1.0.0",
"@k8slens/random": "^1.0.0",
"@k8slens/react-application": "^1.0.0",
"@k8slens/resizing-anchor": "^1.0.0",
+3 -4
View File
@@ -14,6 +14,7 @@ import { messagingFeatureForMain } from "@k8slens/messaging-for-main";
import { loggerFeature } from "@k8slens/logger";
import { randomFeature } from "@k8slens/random";
import { kubeApiSpecificsFeature } from "@k8slens/kube-api-specifics";
import { prometheusFeature } from "@k8slens/prometheus";
const environment = "main";
@@ -26,12 +27,10 @@ registerMobX(di);
runInAction(() => {
registerLensCore(di, environment);
registerFeature(di,
loggerFeature,
);
registerFeature(
di,
loggerFeature,
prometheusFeature,
applicationFeature,
applicationFeatureForElectronMain,
messagingFeatureForMain,