Compare commits
No commits in common. "5f1708424f1a016f216f78a65c35a6638e7e3fdf" and "c3a154bfe1cc10d2881935b7e6dd345222b25113" have entirely different histories.
5f1708424f
...
c3a154bfe1
|
|
@ -124,10 +124,7 @@ export class PrometheusService {
|
|||
}
|
||||
|
||||
async fetchMetricsRange(metric: string, start: number, end: number, step: number, filters: Record<string, string> = {}): Promise<PrometheusMetric[]> {
|
||||
const query = this.buildFilteredQuery(metric, {
|
||||
...filters,
|
||||
instance: '192.168.2.34:9050' // Явно фильтруем по нужному instance
|
||||
});
|
||||
const query = this.buildFilteredQuery(metric, filters);
|
||||
try {
|
||||
const response = await lastValueFrom(
|
||||
this.httpService.get(`${this.prometheusUrl}/query_range`, {
|
||||
|
|
|
|||
Loading…
Reference in New Issue