Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Stack Monitoring] Skip Prometheus monitoring collection test when running on cloud #138003

Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
});
}
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down