1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix Promethes operator metrics provider detection (#6150)

This commit is contained in:
Lauri Nevala 2022-08-31 18:22:17 +03:00 committed by GitHub
parent 0a14151e03
commit cacc92d37a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@ export class PrometheusOperator extends PrometheusProvider {
readonly isConfigurable: boolean = true; readonly isConfigurable: boolean = true;
public async getPrometheusService(client: CoreV1Api): Promise<PrometheusService> { public async getPrometheusService(client: CoreV1Api): Promise<PrometheusService> {
return this.getFirstNamespacedService(client, "operated-prometheus=true", "self-monitor=true"); return this.getFirstNamespacedService(client, "operated-prometheus=true");
} }
public getQuery(opts: Record<string, string>, queryName: string): string { public getQuery(opts: Record<string, string>, queryName: string): string {