Skip to content

Commit

Permalink
[dev/build] skip reporting unreliable metrics (#87531) (#87583)
Browse files Browse the repository at this point in the history
* [dev/build] skip reporting unreliable metrics

* remove unused import

Co-authored-by: spalger <[email protected]>
Co-authored-by: Kibana Machine <[email protected]>

Co-authored-by: spalger <[email protected]>
Co-authored-by: Kibana Machine <[email protected]>
  • Loading branch information
3 people authored Jan 7, 2021
1 parent 8c1eada commit 802d6fb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/dev/build/tasks/create_archives_task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import Path from 'path';
import Fs from 'fs';
import { promisify } from 'util';

import { CiStatsReporter, CiStatsMetrics } from '@kbn/dev-utils';
import { CiStatsMetrics } from '@kbn/dev-utils';

import { mkdirp, compressTar, compressZip, Task } from '../lib';

Expand Down Expand Up @@ -99,6 +99,7 @@ export const CreateArchives: Task = {
}
log.debug('archive metrics:', metrics);

await CiStatsReporter.fromEnv(log).metrics(metrics);
// FLAKY: https://github.com/elastic/kibana/issues/87529
// await CiStatsReporter.fromEnv(log).metrics(metrics);
},
};

0 comments on commit 802d6fb

Please sign in to comment.