mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
* add no-unused-vars and no-unused-imports * added quotes: double, and remove ignore pattern * move itif and describeif into utils Signed-off-by: Sebastian Malton <sebastian@malton.name>
22 lines
791 B
TypeScript
22 lines
791 B
TypeScript
import { LensRendererExtension } from "@k8slens/extensions";
|
|
import { MetricsFeature } from "./src/metrics-feature";
|
|
import React from "react";
|
|
|
|
export default class ClusterMetricsFeatureExtension extends LensRendererExtension {
|
|
clusterFeatures = [
|
|
{
|
|
title: "Metrics Stack",
|
|
components: {
|
|
Description: () => (
|
|
<span>
|
|
Enable timeseries data visualization (Prometheus stack) for your cluster.
|
|
Install this only if you don't have existing Prometheus stack installed.
|
|
You can see preview of manifests <a href="https://github.com/lensapp/lens/tree/master/extensions/lens-metrics/resources" rel="noreferrer" target="_blank">here</a>.
|
|
</span>
|
|
)
|
|
},
|
|
feature: new MetricsFeature()
|
|
}
|
|
];
|
|
}
|