Update Promethes operator metrics provider

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
Lauri Nevala committed 2022-08-31 14:11:54 +03:00
1 parent 7ad7c89061
commit bd25b5289f
1 file changed
+1 -1
+1 -1
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 {