kibana/x-pack/test/api_integration/apis/monitoring/index.js
Kevin Lacabane 7e7ff8239c
Stack monitoring health API (#132705)
* monitored clusters query

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* add comment

* remove standalone query agg in favor of dynamic term

* test and types

* query validation and make typescript happy

* move files around

* fetchMonitoredClusters tests

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* merge related aggregations

* expose relevant settings

* error reporting

* use constants

* handle no monitoring data

* use term.missing property to collect standalone documents

* rename

* enterprisesearch query

* fetch enterprise search

* fix tests

* report query timeouts and errors

* decrease query default timerange

* clean empty metricsets

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* monitored clusters query

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* add comment

* remove standalone query agg in favor of dynamic term

* test and types

* query validation and make typescript happy

* move files around

* fetchMonitoredClusters tests

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* merge related aggregations

* expose relevant settings

* error reporting

* use constants

* handle no monitoring data

* use term.missing property to collect standalone documents

* rename

* enterprisesearch query

* fetch enterprise search

* fix tests

* report query timeouts and errors

* decrease query default timerange

* clean empty metricsets

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* register health route

* optional timed_out property

* add basic integration test

* comment

* fix integration test

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* retrieve apm-server as a beats entity

* lint

* add settings test

* update fixture

* add timeout query string

* update test title

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* lint

* naming

* lint

* fix api tests

* add some types

* limit buckets size

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* missing product

* typo

* readme

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-06-07 12:59:46 +02:00

23 lines
936 B
JavaScript

/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
export default function ({ loadTestFile }) {
describe('Monitoring', () => {
loadTestFile(require.resolve('./apm'));
loadTestFile(require.resolve('./beats'));
loadTestFile(require.resolve('./cluster'));
loadTestFile(require.resolve('./elasticsearch'));
loadTestFile(require.resolve('./elasticsearch_settings'));
loadTestFile(require.resolve('./kibana'));
loadTestFile(require.resolve('./logstash'));
loadTestFile(require.resolve('./common'));
loadTestFile(require.resolve('./standalone_cluster'));
loadTestFile(require.resolve('./logs'));
loadTestFile(require.resolve('./setup'));
loadTestFile(require.resolve('./_health'));
});
}