diff --git a/x-pack/test/api_integration/apis/monitoring_collection/index.ts b/x-pack/test/api_integration/apis/monitoring_collection/index.ts index e89bd44963c03..092cd93a480a7 100644 --- a/x-pack/test/api_integration/apis/monitoring_collection/index.ts +++ b/x-pack/test/api_integration/apis/monitoring_collection/index.ts @@ -8,7 +8,7 @@ import { FtrProviderContext } from '../../ftr_provider_context'; export default function ({ loadTestFile }: FtrProviderContext) { - describe('Monitoring Collection', function taskManagerSuite() { + describe('Monitoring Collection', () => { loadTestFile(require.resolve('./prometheus')); }); } diff --git a/x-pack/test/api_integration/apis/monitoring_collection/prometheus.ts b/x-pack/test/api_integration/apis/monitoring_collection/prometheus.ts index 0ac13dda92cb5..7820ab80b5847 100644 --- a/x-pack/test/api_integration/apis/monitoring_collection/prometheus.ts +++ b/x-pack/test/api_integration/apis/monitoring_collection/prometheus.ts @@ -11,7 +11,9 @@ import { FtrProviderContext } from '../../ftr_provider_context'; export default function ({ getService }: FtrProviderContext) { const supertest = getService('supertest'); - describe('Prometheus endpoint', () => { + describe('Prometheus endpoint', function () { + this.tags(['skipCloud']); + it('returns prometheus scraped metrics', async () => { await supertest.post('/api/generate_otel_metrics').set('kbn-xsrf', 'foo').expect(200); const response = await supertest.get('/api/monitoring_collection/v1/prometheus').expect(200);