(checks, checksSortBy);
@@ -289,7 +286,7 @@ export const enrichMonitorGroups: MonitorEnricher = async (
const getHistogramForMonitors = async (
queryContext: QueryContext,
monitorIds: string[]
-): Promise<{ [key: string]: SummaryHistogram }> => {
+): Promise<{ [key: string]: Histogram }> => {
const params = {
index: queryContext.heartbeatIndices,
body: {
diff --git a/x-pack/plugins/uptime/server/lib/requests/search/fetch_page.ts b/x-pack/plugins/uptime/server/lib/requests/search/fetch_page.ts
index 62144dacbd3777..84167840d5d9ba 100644
--- a/x-pack/plugins/uptime/server/lib/requests/search/fetch_page.ts
+++ b/x-pack/plugins/uptime/server/lib/requests/search/fetch_page.ts
@@ -12,7 +12,7 @@ import {
CursorDirection,
MonitorSummary,
SortOrder,
-} from '../../../../../../legacy/plugins/uptime/common/graphql/types';
+} from '../../../../../../legacy/plugins/uptime/common/runtime_types';
import { enrichMonitorGroups } from './enrich_monitor_groups';
import { MonitorGroupIterator } from './monitor_group_iterator';
diff --git a/x-pack/plugins/uptime/server/lib/requests/search/find_potential_matches.ts b/x-pack/plugins/uptime/server/lib/requests/search/find_potential_matches.ts
index 424c097853ad3c..3449febfa5b053 100644
--- a/x-pack/plugins/uptime/server/lib/requests/search/find_potential_matches.ts
+++ b/x-pack/plugins/uptime/server/lib/requests/search/find_potential_matches.ts
@@ -5,7 +5,7 @@
*/
import { get, set } from 'lodash';
-import { CursorDirection } from '../../../../../../legacy/plugins/uptime/common/graphql/types';
+import { CursorDirection } from '../../../../../../legacy/plugins/uptime/common/runtime_types';
import { QueryContext } from './query_context';
// This is the first phase of the query. In it, we find the most recent check groups that matched the given query.
diff --git a/x-pack/plugins/uptime/server/lib/requests/search/monitor_group_iterator.ts b/x-pack/plugins/uptime/server/lib/requests/search/monitor_group_iterator.ts
index 267551907c5e8f..31d9166eb1e73b 100644
--- a/x-pack/plugins/uptime/server/lib/requests/search/monitor_group_iterator.ts
+++ b/x-pack/plugins/uptime/server/lib/requests/search/monitor_group_iterator.ts
@@ -6,7 +6,7 @@
import { QueryContext } from './query_context';
import { fetchChunk } from './fetch_chunk';
-import { CursorDirection } from '../../../../../../legacy/plugins/uptime/common/graphql/types';
+import { CursorDirection } from '../../../../../../legacy/plugins/uptime/common/runtime_types';
import { MonitorGroups } from './fetch_page';
import { CursorPagination } from './types';
diff --git a/x-pack/plugins/uptime/server/lib/requests/search/refine_potential_matches.ts b/x-pack/plugins/uptime/server/lib/requests/search/refine_potential_matches.ts
index 218eb2f121a81d..43fc54fb258089 100644
--- a/x-pack/plugins/uptime/server/lib/requests/search/refine_potential_matches.ts
+++ b/x-pack/plugins/uptime/server/lib/requests/search/refine_potential_matches.ts
@@ -5,7 +5,7 @@
*/
import { QueryContext } from './query_context';
-import { CursorDirection } from '../../../../../../legacy/plugins/uptime/common/graphql/types';
+import { CursorDirection } from '../../../../../../legacy/plugins/uptime/common/runtime_types';
import { MonitorGroups, MonitorLocCheckGroup } from './fetch_page';
/**
diff --git a/x-pack/plugins/uptime/server/lib/requests/search/types.ts b/x-pack/plugins/uptime/server/lib/requests/search/types.ts
index 42c98ace6e8f5e..2ec52d400b5972 100644
--- a/x-pack/plugins/uptime/server/lib/requests/search/types.ts
+++ b/x-pack/plugins/uptime/server/lib/requests/search/types.ts
@@ -7,7 +7,7 @@
import {
CursorDirection,
SortOrder,
-} from '../../../../../../legacy/plugins/uptime/common/graphql/types';
+} from '../../../../../../legacy/plugins/uptime/common/runtime_types';
export interface CursorPagination {
cursorKey?: any;
diff --git a/x-pack/plugins/uptime/server/lib/requests/uptime_requests.ts b/x-pack/plugins/uptime/server/lib/requests/uptime_requests.ts
index e9a7aa94dd3aa8..84154429b91888 100644
--- a/x-pack/plugins/uptime/server/lib/requests/uptime_requests.ts
+++ b/x-pack/plugins/uptime/server/lib/requests/uptime_requests.ts
@@ -9,6 +9,7 @@ import {
HistogramResult,
Ping,
PingsResponse as PingResults,
+ GetCertsParams,
GetPingsParams,
} from '../../../../../legacy/plugins/uptime/common/runtime_types';
import {
@@ -28,6 +29,7 @@ import {
MonitorLocations,
Snapshot,
StatesIndexStatus,
+ Cert,
} from '../../../../../legacy/plugins/uptime/common/runtime_types';
import { GetMonitorStatesResult } from './get_monitor_states';
import { GetSnapshotCountParams } from './get_snapshot_counts';
@@ -36,6 +38,7 @@ import { MonitorDurationResult } from '../../../../../legacy/plugins/uptime/comm
type ESQ = UMElasticsearchQueryFn
;
export interface UptimeRequests {
+ getCerts: ESQ;
getFilterBar: ESQ;
getIndexPattern: ESQ<{}, {}>;
getLatestMonitor: ESQ;
diff --git a/x-pack/plugins/uptime/server/rest_api/certs.ts b/x-pack/plugins/uptime/server/rest_api/certs.ts
new file mode 100644
index 00000000000000..31fb3f4ab96a78
--- /dev/null
+++ b/x-pack/plugins/uptime/server/rest_api/certs.ts
@@ -0,0 +1,54 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the Elastic License;
+ * you may not use this file except in compliance with the Elastic License.
+ */
+
+import { schema } from '@kbn/config-schema';
+import { UMServerLibs } from '../lib/lib';
+import { UMRestApiRouteFactory } from '.';
+import { API_URLS } from '../../../../legacy/plugins/uptime/common/constants/rest_api';
+
+const DEFAULT_INDEX = 0;
+const DEFAULT_SIZE = 25;
+const DEFAULT_FROM = 'now-1d';
+const DEFAULT_TO = 'now';
+
+export const createGetCertsRoute: UMRestApiRouteFactory = (libs: UMServerLibs) => ({
+ method: 'GET',
+ path: API_URLS.CERTS,
+ validate: {
+ query: schema.object({
+ from: schema.maybe(schema.string()),
+ to: schema.maybe(schema.string()),
+ search: schema.maybe(schema.string()),
+ index: schema.maybe(schema.number()),
+ size: schema.maybe(schema.number()),
+ }),
+ },
+ writeAccess: false,
+ options: {
+ tags: ['access:uptime-read'],
+ },
+ handler: async ({ callES, dynamicSettings }, _context, request, response): Promise => {
+ const index = request.query?.index ?? DEFAULT_INDEX;
+ const size = request.query?.size ?? DEFAULT_SIZE;
+ const from = request.query?.from ?? DEFAULT_FROM;
+ const to = request.query?.to ?? DEFAULT_TO;
+ const { search } = request.query;
+
+ return response.ok({
+ body: {
+ certs: await libs.requests.getCerts({
+ callES,
+ dynamicSettings,
+ index,
+ search,
+ size,
+ from,
+ to,
+ }),
+ },
+ });
+ },
+});
diff --git a/x-pack/plugins/uptime/server/rest_api/index.ts b/x-pack/plugins/uptime/server/rest_api/index.ts
index c0412e588fa93a..a7a63342d11d46 100644
--- a/x-pack/plugins/uptime/server/rest_api/index.ts
+++ b/x-pack/plugins/uptime/server/rest_api/index.ts
@@ -4,6 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/
+import { createGetCertsRoute } from './certs';
import { createGetOverviewFilters } from './overview_filters';
import { createGetPingHistogramRoute, createGetPingsRoute } from './pings';
import { createGetDynamicSettingsRoute, createPostDynamicSettingsRoute } from './dynamic_settings';
@@ -12,6 +13,7 @@ import { createGetSnapshotCount } from './snapshot';
import { UMRestApiRouteFactory } from './types';
import {
createGetMonitorDetailsRoute,
+ createMonitorListRoute,
createGetMonitorLocationsRoute,
createGetStatusBarRoute,
} from './monitors';
@@ -22,6 +24,7 @@ export { createRouteWithAuth } from './create_route_with_auth';
export { uptimeRouteWrapper } from './uptime_route_wrapper';
export const restApiRoutes: UMRestApiRouteFactory[] = [
+ createGetCertsRoute,
createGetOverviewFilters,
createGetPingsRoute,
createGetIndexPatternRoute,
@@ -30,6 +33,7 @@ export const restApiRoutes: UMRestApiRouteFactory[] = [
createPostDynamicSettingsRoute,
createGetMonitorDetailsRoute,
createGetMonitorLocationsRoute,
+ createMonitorListRoute,
createGetStatusBarRoute,
createGetSnapshotCount,
createLogPageViewRoute,
diff --git a/x-pack/plugins/uptime/server/rest_api/monitors/index.ts b/x-pack/plugins/uptime/server/rest_api/monitors/index.ts
index 51b39037049b58..256f885d550edc 100644
--- a/x-pack/plugins/uptime/server/rest_api/monitors/index.ts
+++ b/x-pack/plugins/uptime/server/rest_api/monitors/index.ts
@@ -5,5 +5,6 @@
*/
export { createGetMonitorDetailsRoute } from './monitors_details';
+export { createMonitorListRoute } from './monitor_list';
export { createGetMonitorLocationsRoute } from './monitor_locations';
export { createGetStatusBarRoute } from './monitor_status';
diff --git a/x-pack/plugins/uptime/server/rest_api/monitors/monitor_list.ts b/x-pack/plugins/uptime/server/rest_api/monitors/monitor_list.ts
new file mode 100644
index 00000000000000..5cb4e8a6241b74
--- /dev/null
+++ b/x-pack/plugins/uptime/server/rest_api/monitors/monitor_list.ts
@@ -0,0 +1,69 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the Elastic License;
+ * you may not use this file except in compliance with the Elastic License.
+ */
+
+import { schema } from '@kbn/config-schema';
+import { UMRestApiRouteFactory } from '../types';
+import { CONTEXT_DEFAULTS } from '../../../../../legacy/plugins/uptime/common/constants';
+import { API_URLS } from '../../../../../legacy/plugins/uptime/common/constants/rest_api';
+
+export const createMonitorListRoute: UMRestApiRouteFactory = libs => ({
+ method: 'GET',
+ path: API_URLS.MONITOR_LIST,
+ validate: {
+ query: schema.object({
+ dateRangeStart: schema.string(),
+ dateRangeEnd: schema.string(),
+ filters: schema.maybe(schema.string()),
+ pagination: schema.maybe(schema.string()),
+ statusFilter: schema.maybe(schema.string()),
+ pageSize: schema.number(),
+ }),
+ },
+ options: {
+ tags: ['access:uptime-read'],
+ },
+ handler: async ({ callES, dynamicSettings }, _context, request, response): Promise => {
+ const {
+ dateRangeStart,
+ dateRangeEnd,
+ filters,
+ pagination,
+ statusFilter,
+ pageSize,
+ } = request.query;
+
+ const decodedPagination = pagination
+ ? JSON.parse(decodeURIComponent(pagination))
+ : CONTEXT_DEFAULTS.CURSOR_PAGINATION;
+ const [indexStatus, { summaries, nextPagePagination, prevPagePagination }] = await Promise.all([
+ libs.requests.getIndexStatus({ callES, dynamicSettings }),
+ libs.requests.getMonitorStates({
+ callES,
+ dynamicSettings,
+ dateRangeStart,
+ dateRangeEnd,
+ pagination: decodedPagination,
+ pageSize,
+ filters,
+ // this is added to make typescript happy,
+ // this sort of reassignment used to be further downstream but I've moved it here
+ // because this code is going to be decomissioned soon
+ statusFilter: statusFilter || undefined,
+ }),
+ ]);
+
+ const totalSummaryCount = indexStatus?.docCount ?? 0;
+
+ return response.ok({
+ body: {
+ summaries,
+ nextPagePagination,
+ prevPagePagination,
+ totalSummaryCount,
+ },
+ });
+ },
+});
diff --git a/x-pack/plugins/uptime/server/uptime_server.ts b/x-pack/plugins/uptime/server/uptime_server.ts
index d4b38b8ad27a0f..cc6fe85b80cb24 100644
--- a/x-pack/plugins/uptime/server/uptime_server.ts
+++ b/x-pack/plugins/uptime/server/uptime_server.ts
@@ -4,8 +4,6 @@
* you may not use this file except in compliance with the Elastic License.
*/
-import { makeExecutableSchema } from 'graphql-tools';
-import { DEFAULT_GRAPHQL_PATH, resolvers, typeDefs } from './graphql';
import { UMServerLibs } from './lib/lib';
import { createRouteWithAuth, restApiRoutes, uptimeRouteWrapper } from './rest_api';
import { UptimeCoreSetup, UptimeCorePlugins } from './lib/adapters';
@@ -23,10 +21,4 @@ export const initUptimeServer = (
uptimeAlertTypeFactories.forEach(alertTypeFactory =>
plugins.alerting.registerType(alertTypeFactory(server, libs))
);
-
- const graphQLSchema = makeExecutableSchema({
- resolvers: resolvers.map(createResolversFn => createResolversFn(libs)),
- typeDefs,
- });
- libs.framework.registerGraphQLEndpoint(DEFAULT_GRAPHQL_PATH, graphQLSchema);
};
diff --git a/x-pack/test/api_integration/apis/management/cross_cluster_replication/follower_indices.helpers.js b/x-pack/test/api_integration/apis/management/cross_cluster_replication/follower_indices.helpers.js
index dbcb6bf819749e..294db29f6dce44 100644
--- a/x-pack/test/api_integration/apis/management/cross_cluster_replication/follower_indices.helpers.js
+++ b/x-pack/test/api_integration/apis/management/cross_cluster_replication/follower_indices.helpers.js
@@ -13,7 +13,45 @@ export const registerHelpers = supertest => {
const loadFollowerIndices = () => supertest.get(`${API_BASE_PATH}/follower_indices`);
- const getFollowerIndex = name => supertest.get(`${API_BASE_PATH}/follower_indices/${name}`);
+ const getFollowerIndex = (name, waitUntilIsActive = false) => {
+ const maxRetries = 10;
+ const delayBetweenRetries = 500;
+ let retryCount = 0;
+
+ const proceed = async () => {
+ const response = await supertest.get(`${API_BASE_PATH}/follower_indices/${name}`);
+
+ if (waitUntilIsActive && response.body.status !== 'active') {
+ retryCount += 1;
+
+ if (retryCount > maxRetries) {
+ throw new Error('Error waiting for follower index to be active.');
+ }
+
+ return new Promise(resolve => setTimeout(resolve, delayBetweenRetries)).then(proceed);
+ }
+
+ return response;
+ };
+
+ return {
+ expect: status =>
+ new Promise((resolve, reject) =>
+ proceed()
+ .then(response => {
+ if (status !== response.status) {
+ reject(new Error(`Expected status ${status} but got ${response.status}`));
+ }
+ return resolve(response);
+ })
+ .catch(reject)
+ ),
+ then: (resolve, reject) =>
+ proceed()
+ .then(resolve)
+ .catch(reject),
+ };
+ };
const createFollowerIndex = (name = getRandomString(), payload = getFollowerIndexPayload()) => {
followerIndicesCreated.push(name);
@@ -24,6 +62,13 @@ export const registerHelpers = supertest => {
.send({ ...payload, name });
};
+ const updateFollowerIndex = (name, payload) => {
+ return supertest
+ .put(`${API_BASE_PATH}/follower_indices/${name}`)
+ .set('kbn-xsrf', 'xxx')
+ .send(payload);
+ };
+
const unfollowLeaderIndex = followerIndex => {
const followerIndices = Array.isArray(followerIndex) ? followerIndex : [followerIndex];
const followerIndicesToEncodedString = followerIndices
@@ -51,6 +96,7 @@ export const registerHelpers = supertest => {
loadFollowerIndices,
getFollowerIndex,
createFollowerIndex,
+ updateFollowerIndex,
unfollowAll,
};
};
diff --git a/x-pack/test/api_integration/apis/management/cross_cluster_replication/follower_indices.js b/x-pack/test/api_integration/apis/management/cross_cluster_replication/follower_indices.js
index 5f9ebbd2a0a3fe..eabf474120f2b4 100644
--- a/x-pack/test/api_integration/apis/management/cross_cluster_replication/follower_indices.js
+++ b/x-pack/test/api_integration/apis/management/cross_cluster_replication/follower_indices.js
@@ -21,6 +21,7 @@ export default function({ getService }) {
loadFollowerIndices,
getFollowerIndex,
createFollowerIndex,
+ updateFollowerIndex,
unfollowAll,
} = registerFollowerIndicesnHelpers(supertest);
@@ -92,6 +93,31 @@ export default function({ getService }) {
});
});
+ describe('update()', () => {
+ it('should update a follower index advanced settings', async () => {
+ // Create a follower index
+ const leaderIndex = await createIndex();
+ const followerIndex = getRandomString();
+ const initialValue = 1234;
+ const payload = getFollowerIndexPayload(leaderIndex, undefined, {
+ maxReadRequestOperationCount: initialValue,
+ });
+ await createFollowerIndex(followerIndex, payload);
+
+ // Verify that its advanced settings are correctly set
+ const { body } = await getFollowerIndex(followerIndex, true);
+ expect(body.maxReadRequestOperationCount).to.be(initialValue);
+
+ // Update the follower index
+ const updatedValue = 7777;
+ await updateFollowerIndex(followerIndex, { maxReadRequestOperationCount: updatedValue });
+
+ // Verify that the advanced settings are updated
+ const { body: updatedBody } = await getFollowerIndex(followerIndex, true);
+ expect(updatedBody.maxReadRequestOperationCount).to.be(updatedValue);
+ });
+ });
+
describe('Advanced settings', () => {
it('hard-coded values should match Elasticsearch default values', async () => {
/**
diff --git a/x-pack/test/api_integration/apis/ml/bucket_span_estimator.ts b/x-pack/test/api_integration/apis/ml/bucket_span_estimator.ts
index 3f56fb927d1318..bc0dc3019d7c99 100644
--- a/x-pack/test/api_integration/apis/ml/bucket_span_estimator.ts
+++ b/x-pack/test/api_integration/apis/ml/bucket_span_estimator.ts
@@ -28,7 +28,7 @@ export default ({ getService }: FtrProviderContext) => {
aggTypes: ['avg'],
duration: { start: 1560297859000, end: 1562975136000 },
fields: ['taxless_total_price'],
- index: 'ecommerce',
+ index: 'ft_ecommerce',
query: { bool: { must: [{ match_all: {} }] } },
timeField: 'order_date',
},
@@ -44,7 +44,7 @@ export default ({ getService }: FtrProviderContext) => {
aggTypes: ['avg', 'sum'],
duration: { start: 1560297859000, end: 1562975136000 },
fields: ['products.base_price', 'products.base_unit_price'],
- index: 'ecommerce',
+ index: 'ft_ecommerce',
query: { bool: { must: [{ match_all: {} }] } },
timeField: 'order_date',
},
@@ -60,7 +60,7 @@ export default ({ getService }: FtrProviderContext) => {
aggTypes: ['avg'],
duration: { start: 1560297859000, end: 1562975136000 },
fields: ['taxless_total_price'],
- index: 'ecommerce',
+ index: 'ft_ecommerce',
query: { bool: { must: [{ match_all: {} }] } },
splitField: 'customer_first_name.keyword',
timeField: 'order_date',
@@ -78,7 +78,7 @@ export default ({ getService }: FtrProviderContext) => {
duration: { start: 1560297859000, end: 1562975136000 },
fields: ['taxless_total_price'],
filters: [],
- index: 'ecommerce',
+ index: 'ft_ecommerce',
query: { bool: { must: [{ match_all: {} }] } },
timeField: 'order_date',
},
@@ -91,11 +91,8 @@ export default ({ getService }: FtrProviderContext) => {
describe('bucket span estimator', function() {
before(async () => {
- await esArchiver.load('ml/ecommerce');
- });
-
- after(async () => {
- await esArchiver.unload('ml/ecommerce');
+ await esArchiver.loadIfNeeded('ml/ecommerce');
+ await ml.testResources.setKibanaTimeZoneToUTC();
});
describe('with default settings', function() {
diff --git a/x-pack/test/api_integration/apis/ml/calculate_model_memory_limit.ts b/x-pack/test/api_integration/apis/ml/calculate_model_memory_limit.ts
index 975a10c2aed2a1..59e3dfcca00f9c 100644
--- a/x-pack/test/api_integration/apis/ml/calculate_model_memory_limit.ts
+++ b/x-pack/test/api_integration/apis/ml/calculate_model_memory_limit.ts
@@ -22,7 +22,7 @@ export default ({ getService }: FtrProviderContext) => {
testTitleSuffix: 'when no partition field is provided with regular function',
user: USER.ML_POWERUSER,
requestBody: {
- indexPattern: 'ecommerce',
+ indexPattern: 'ft_ecommerce',
analysisConfig: {
bucket_span: '15m',
detectors: [
@@ -51,7 +51,7 @@ export default ({ getService }: FtrProviderContext) => {
testTitleSuffix: 'with 1 metric and 1 influencer same as split field',
user: USER.ML_POWERUSER,
requestBody: {
- indexPattern: 'ecommerce',
+ indexPattern: 'ft_ecommerce',
analysisConfig: {
bucket_span: '15m',
detectors: [
@@ -77,7 +77,7 @@ export default ({ getService }: FtrProviderContext) => {
testTitleSuffix: 'with 3 influencers, split by city',
user: USER.ML_POWERUSER,
requestBody: {
- indexPattern: 'ecommerce',
+ indexPattern: 'ft_ecommerce',
analysisConfig: {
bucket_span: '15m',
detectors: [
@@ -104,7 +104,7 @@ export default ({ getService }: FtrProviderContext) => {
'2 detectors split by city and manufacturer, 4 influencers, filtering by country code',
user: USER.ML_POWERUSER,
requestBody: {
- indexPattern: 'ecommerce',
+ indexPattern: 'ft_ecommerce',
analysisConfig: {
bucket_span: '2d',
detectors: [
@@ -148,11 +148,8 @@ export default ({ getService }: FtrProviderContext) => {
describe('calculate model memory limit', function() {
before(async () => {
- await esArchiver.load('ml/ecommerce');
- });
-
- after(async () => {
- await esArchiver.unload('ml/ecommerce');
+ await esArchiver.loadIfNeeded('ml/ecommerce');
+ await ml.testResources.setKibanaTimeZoneToUTC();
});
for (const testData of testDataList) {
diff --git a/x-pack/test/api_integration/apis/ml/categorization_field_examples.ts b/x-pack/test/api_integration/apis/ml/categorization_field_examples.ts
index b8ee2e7f6562cb..df0153f9659421 100644
--- a/x-pack/test/api_integration/apis/ml/categorization_field_examples.ts
+++ b/x-pack/test/api_integration/apis/ml/categorization_field_examples.ts
@@ -66,7 +66,7 @@ const analyzer = {
],
};
const defaultRequestBody = {
- indexPatternTitle: 'categorization_functional_test',
+ indexPatternTitle: 'ft_categorization',
query: { bool: { must: [{ match_all: {} }] } },
size: 5,
timeField: '@timestamp',
@@ -289,11 +289,8 @@ export default ({ getService }: FtrProviderContext) => {
describe('Categorization example endpoint - ', function() {
before(async () => {
- await esArchiver.load('ml/categorization');
- });
-
- after(async () => {
- await esArchiver.unload('ml/categorization');
+ await esArchiver.loadIfNeeded('ml/categorization');
+ await ml.testResources.setKibanaTimeZoneToUTC();
});
for (const testData of testDataList) {
diff --git a/x-pack/test/api_integration/apis/ml/get_module.ts b/x-pack/test/api_integration/apis/ml/get_module.ts
index 6dcd9594fc9aac..a50d3c0abe4300 100644
--- a/x-pack/test/api_integration/apis/ml/get_module.ts
+++ b/x-pack/test/api_integration/apis/ml/get_module.ts
@@ -50,6 +50,10 @@ export default ({ getService }: FtrProviderContext) => {
}
describe('get_module', function() {
+ before(async () => {
+ await ml.testResources.setKibanaTimeZoneToUTC();
+ });
+
it('lists all modules', async () => {
const rspBody = await executeGetModuleRequest('', USER.ML_POWERUSER, 200);
expect(rspBody).to.be.an(Array);
diff --git a/x-pack/test/api_integration/apis/ml/index.ts b/x-pack/test/api_integration/apis/ml/index.ts
index 4e21faa610bfe2..f012883c46ca3a 100644
--- a/x-pack/test/api_integration/apis/ml/index.ts
+++ b/x-pack/test/api_integration/apis/ml/index.ts
@@ -7,6 +7,7 @@
import { FtrProviderContext } from '../../ftr_provider_context';
export default function({ getService, loadTestFile }: FtrProviderContext) {
+ const esArchiver = getService('esArchiver');
const ml = getService('ml');
describe('Machine Learning', function() {
@@ -20,6 +21,14 @@ export default function({ getService, loadTestFile }: FtrProviderContext) {
after(async () => {
await ml.securityCommon.cleanMlUsers();
await ml.securityCommon.cleanMlRoles();
+
+ await ml.testResources.deleteIndexPattern('kibana_sample_data_logs');
+
+ await esArchiver.unload('ml/ecommerce');
+ await esArchiver.unload('ml/categorization');
+ await esArchiver.unload('ml/sample_logs');
+
+ await ml.testResources.resetKibanaTimeZone();
});
loadTestFile(require.resolve('./bucket_span_estimator'));
diff --git a/x-pack/test/api_integration/apis/ml/recognize_module.ts b/x-pack/test/api_integration/apis/ml/recognize_module.ts
index 2110bded7394cc..8e360579c1459f 100644
--- a/x-pack/test/api_integration/apis/ml/recognize_module.ts
+++ b/x-pack/test/api_integration/apis/ml/recognize_module.ts
@@ -32,7 +32,6 @@ export default ({ getService }: FtrProviderContext) => {
},
{
testTitleSuffix: 'for non existent index pattern',
- sourceDataArchive: 'empty_kibana',
indexPattern: 'non-existent-index-pattern',
user: USER.ML_POWERUSER,
expected: {
@@ -53,14 +52,16 @@ export default ({ getService }: FtrProviderContext) => {
}
describe('module recognizer', function() {
+ before(async () => {
+ await ml.testResources.setKibanaTimeZoneToUTC();
+ });
+
for (const testData of testDataList) {
describe('lists matching modules', function() {
before(async () => {
- await esArchiver.load(testData.sourceDataArchive);
- });
-
- after(async () => {
- await esArchiver.unload(testData.sourceDataArchive);
+ if (testData.hasOwnProperty('sourceDataArchive')) {
+ await esArchiver.loadIfNeeded(testData.sourceDataArchive!);
+ }
});
it(testData.testTitleSuffix, async () => {
diff --git a/x-pack/test/api_integration/apis/ml/setup_module.ts b/x-pack/test/api_integration/apis/ml/setup_module.ts
index 71f3910cd4e937..e603782b25717a 100644
--- a/x-pack/test/api_integration/apis/ml/setup_module.ts
+++ b/x-pack/test/api_integration/apis/ml/setup_module.ts
@@ -25,6 +25,7 @@ export default ({ getService }: FtrProviderContext) => {
{
testTitleSuffix: 'for sample logs dataset with prefix and startDatafeed false',
sourceDataArchive: 'ml/sample_logs',
+ indexPattern: { name: 'kibana_sample_data_logs', timeField: '@timestamp' },
module: 'sample_data_weblogs',
user: USER.ML_POWERUSER,
requestBody: {
@@ -58,7 +59,6 @@ export default ({ getService }: FtrProviderContext) => {
const testDataListNegative = [
{
testTitleSuffix: 'for non existent index pattern',
- sourceDataArchive: 'empty_kibana',
module: 'sample_data_weblogs',
user: USER.ML_POWERUSER,
requestBody: {
@@ -75,6 +75,7 @@ export default ({ getService }: FtrProviderContext) => {
{
testTitleSuffix: 'for unauthorized user',
sourceDataArchive: 'ml/sample_logs',
+ indexPattern: { name: 'kibana_sample_data_logs', timeField: '@timestamp' },
module: 'sample_data_weblogs',
user: USER.ML_UNAUTHORIZED,
requestBody: {
@@ -118,14 +119,21 @@ export default ({ getService }: FtrProviderContext) => {
}
describe('module setup', function() {
+ before(async () => {
+ await ml.testResources.setKibanaTimeZoneToUTC();
+ });
+
for (const testData of testDataListPositive) {
describe('sets up module data', function() {
before(async () => {
- await esArchiver.load(testData.sourceDataArchive);
+ await esArchiver.loadIfNeeded(testData.sourceDataArchive);
+ await ml.testResources.createIndexPatternIfNeeded(
+ testData.indexPattern.name,
+ testData.indexPattern.timeField
+ );
});
after(async () => {
- await esArchiver.unload(testData.sourceDataArchive);
await ml.api.cleanMlIndices();
});
@@ -199,11 +207,18 @@ export default ({ getService }: FtrProviderContext) => {
for (const testData of testDataListNegative) {
describe('rejects request', function() {
before(async () => {
- await esArchiver.load(testData.sourceDataArchive);
+ if (testData.hasOwnProperty('sourceDataArchive')) {
+ await esArchiver.loadIfNeeded(testData.sourceDataArchive!);
+ }
+ if (testData.hasOwnProperty('indexPattern')) {
+ await ml.testResources.createIndexPatternIfNeeded(
+ testData.indexPattern!.name as string,
+ testData.indexPattern!.timeField as string
+ );
+ }
});
after(async () => {
- await esArchiver.unload(testData.sourceDataArchive);
await ml.api.cleanMlIndices();
});
diff --git a/x-pack/test/api_integration/apis/siem/overview_host.ts b/x-pack/test/api_integration/apis/siem/overview_host.ts
index d32eeaec884fa9..7e5cbd7673af7f 100644
--- a/x-pack/test/api_integration/apis/siem/overview_host.ts
+++ b/x-pack/test/api_integration/apis/siem/overview_host.ts
@@ -5,10 +5,11 @@
*/
import expect from '@kbn/expect';
+
+import { DEFAULT_INDEX_PATTERN } from '../../../../plugins/siem/common/constants';
import { overviewHostQuery } from '../../../../legacy/plugins/siem/public/containers/overview/overview_host/index.gql_query';
import { GetOverviewHostQuery } from '../../../../legacy/plugins/siem/public/graphql/types';
import { FtrProviderContext } from '../../ftr_provider_context';
-import { defaultIndexPattern } from '../../../../legacy/plugins/siem/default_index_pattern';
export default function({ getService }: FtrProviderContext) {
const esArchiver = getService('esArchiver');
@@ -51,7 +52,7 @@ export default function({ getService }: FtrProviderContext) {
to: TO,
from: FROM,
},
- defaultIndex: defaultIndexPattern,
+ defaultIndex: DEFAULT_INDEX_PATTERN,
inspect: false,
},
})
diff --git a/x-pack/test/api_integration/apis/uptime/feature_controls.ts b/x-pack/test/api_integration/apis/uptime/feature_controls.ts
index 8b82735fc38b05..6d125807e169d1 100644
--- a/x-pack/test/api_integration/apis/uptime/feature_controls.ts
+++ b/x-pack/test/api_integration/apis/uptime/feature_controls.ts
@@ -26,17 +26,6 @@ export default function featureControlsTests({ getService }: FtrProviderContext)
expect(result.response).to.have.property('statusCode', 200);
};
- const executeRESTAPIQuery = async (username: string, password: string, spaceId?: string) => {
- const basePath = spaceId ? `/s/${spaceId}` : '';
-
- return await supertest
- .get(basePath + API_URLS.INDEX_STATUS)
- .auth(username, password)
- .set('kbn-xsrf', 'foo')
- .then((response: any) => ({ error: undefined, response }))
- .catch((error: any) => ({ error, response: undefined }));
- };
-
const executePingsRequest = async (username: string, password: string, spaceId?: string) => {
const basePath = spaceId ? `/s/${spaceId}` : '';
@@ -72,9 +61,6 @@ export default function featureControlsTests({ getService }: FtrProviderContext)
full_name: 'a kibana user',
});
- const graphQLResult = await executeRESTAPIQuery(username, password);
- expect404(graphQLResult);
-
const pingsResult = await executePingsRequest(username, password);
expect404(pingsResult);
} finally {
@@ -111,9 +97,6 @@ export default function featureControlsTests({ getService }: FtrProviderContext)
full_name: 'a kibana user',
});
- const graphQLResult = await executeRESTAPIQuery(username, password);
- expectResponse(graphQLResult);
-
const pingsResult = await executePingsRequest(username, password);
expectResponse(pingsResult);
} finally {
@@ -153,9 +136,6 @@ export default function featureControlsTests({ getService }: FtrProviderContext)
full_name: 'a kibana user',
});
- const graphQLResult = await executeRESTAPIQuery(username, password);
- expect404(graphQLResult);
-
const pingsResult = await executePingsRequest(username, password);
expect404(pingsResult);
} finally {
@@ -222,17 +202,11 @@ export default function featureControlsTests({ getService }: FtrProviderContext)
});
it('user_1 can access APIs in space_1', async () => {
- const graphQLResult = await executeRESTAPIQuery(username, password, space1Id);
- expectResponse(graphQLResult);
-
const pingsResult = await executePingsRequest(username, password, space1Id);
expectResponse(pingsResult);
});
it(`user_1 can't access APIs in space_2`, async () => {
- const graphQLResult = await executeRESTAPIQuery(username, password);
- expect404(graphQLResult);
-
const pingsResult = await executePingsRequest(username, password);
expect404(pingsResult);
});
diff --git a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states.json b/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states.json
deleted file mode 100644
index a748225dda7cff..00000000000000
--- a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states.json
+++ /dev/null
@@ -1,1609 +0,0 @@
-{
- "monitorStates": {
- "prevPagePagination": null,
- "nextPagePagination": "{\"cursorDirection\":\"AFTER\",\"sortOrder\":\"ASC\",\"cursorKey\":{\"monitor_id\":\"0009-up\"}}",
- "totalSummaryCount": 2000,
- "summaries": [
- {
- "monitor_id": "0000-intermittent",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x5,500x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0001-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0002-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0003-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0004-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0005-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0006-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0007-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0008-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0009-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_id_filtered.json b/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_id_filtered.json
deleted file mode 100644
index 44644be5a0724a..00000000000000
--- a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_id_filtered.json
+++ /dev/null
@@ -1,169 +0,0 @@
-{
- "monitorStates": {
- "prevPagePagination": null,
- "nextPagePagination": null,
- "totalSummaryCount": 2000,
- "summaries": [
- {
- "monitor_id": "0002-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_1.json b/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_1.json
deleted file mode 100644
index a748225dda7cff..00000000000000
--- a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_1.json
+++ /dev/null
@@ -1,1609 +0,0 @@
-{
- "monitorStates": {
- "prevPagePagination": null,
- "nextPagePagination": "{\"cursorDirection\":\"AFTER\",\"sortOrder\":\"ASC\",\"cursorKey\":{\"monitor_id\":\"0009-up\"}}",
- "totalSummaryCount": 2000,
- "summaries": [
- {
- "monitor_id": "0000-intermittent",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x5,500x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0001-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0002-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0003-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0004-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0005-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0006-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0007-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0008-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0009-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_10.json b/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_10.json
deleted file mode 100644
index fbd0776fade62e..00000000000000
--- a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_10.json
+++ /dev/null
@@ -1,1609 +0,0 @@
-{
- "monitorStates": {
- "prevPagePagination": "{\"cursorKey\":{\"monitor_id\":\"0090-intermittent\"},\"sortOrder\":\"ASC\",\"cursorDirection\":\"BEFORE\"}",
- "nextPagePagination": null,
- "totalSummaryCount": 2000,
- "summaries": [
- {
- "monitor_id": "0090-intermittent",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234374"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x5,500x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234374
- }
- },
- {
- "monitor_id": "0091-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234374"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234374
- }
- },
- {
- "monitor_id": "0092-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234375"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234375
- }
- },
- {
- "monitor_id": "0093-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234375"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234375
- }
- },
- {
- "monitor_id": "0094-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234375"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234375
- }
- },
- {
- "monitor_id": "0095-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234375"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234375
- }
- },
- {
- "monitor_id": "0096-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234376"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234376
- }
- },
- {
- "monitor_id": "0097-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234405"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234405
- }
- },
- {
- "monitor_id": "0098-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234406"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234406
- }
- },
- {
- "monitor_id": "0099-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234406"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234406
- }
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_10_previous.json b/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_10_previous.json
deleted file mode 100644
index e630e227f473b9..00000000000000
--- a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_10_previous.json
+++ /dev/null
@@ -1,1609 +0,0 @@
-{
- "monitorStates": {
- "prevPagePagination": "{\"cursorKey\":{\"monitor_id\":\"0080-down\"},\"sortOrder\":\"ASC\",\"cursorDirection\":\"BEFORE\"}",
- "nextPagePagination": "{\"cursorKey\":{\"monitor_id\":\"0089-up\"},\"sortOrder\":\"ASC\",\"cursorDirection\":\"AFTER\"}",
- "totalSummaryCount": 2000,
- "summaries": [
- {
- "monitor_id": "0080-down",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172694000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172724000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172754000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172784000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172814000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172844000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172874000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172904000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172934000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172964000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172994000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173024000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173054000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173084000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173114000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173144000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173174000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173204000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173234000,
- "up": 0,
- "down": 1
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "down"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "down",
- "type": null
- },
- "summary": {
- "up": 0,
- "down": 1,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=400x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0081-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- },
- {
- "monitor_id": "0082-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- },
- {
- "monitor_id": "0083-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0084-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0085-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0086-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0087-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0088-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0089-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_2.json b/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_2.json
deleted file mode 100644
index 26b4b1a195567b..00000000000000
--- a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_2.json
+++ /dev/null
@@ -1,1609 +0,0 @@
-{
- "monitorStates": {
- "prevPagePagination": "{\"cursorKey\":{\"monitor_id\":\"0010-down\"},\"sortOrder\":\"ASC\",\"cursorDirection\":\"BEFORE\"}",
- "nextPagePagination": "{\"cursorDirection\":\"AFTER\",\"sortOrder\":\"ASC\",\"cursorKey\":{\"monitor_id\":\"0019-up\"}}",
- "totalSummaryCount": 2000,
- "summaries": [
- {
- "monitor_id": "0010-down",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172694000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172724000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172754000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172784000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172814000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172844000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172874000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172904000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172934000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172964000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172994000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173024000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173054000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173084000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173114000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173144000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173174000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173204000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173234000,
- "up": 0,
- "down": 1
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "down"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "down",
- "type": null
- },
- "summary": {
- "up": 0,
- "down": 1,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=400x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0011-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0012-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0013-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- },
- {
- "monitor_id": "0014-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- },
- {
- "monitor_id": "0015-intermittent",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x5,500x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0016-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0017-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0018-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0019-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_2_previous.json b/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_2_previous.json
deleted file mode 100644
index 0b93e66f50246b..00000000000000
--- a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_2_previous.json
+++ /dev/null
@@ -1,1609 +0,0 @@
-{
- "monitorStates": {
- "prevPagePagination": null,
- "nextPagePagination": "{\"cursorKey\":{\"monitor_id\":\"0009-up\"},\"sortOrder\":\"ASC\",\"cursorDirection\":\"AFTER\"}",
- "totalSummaryCount": 2000,
- "summaries": [
- {
- "monitor_id": "0000-intermittent",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x5,500x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0001-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0002-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0003-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0004-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0005-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0006-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0007-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0008-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0009-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_3.json b/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_3.json
deleted file mode 100644
index 7b47742f8859a6..00000000000000
--- a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_3.json
+++ /dev/null
@@ -1,1609 +0,0 @@
-{
- "monitorStates": {
- "prevPagePagination": "{\"cursorKey\":{\"monitor_id\":\"0020-down\"},\"sortOrder\":\"ASC\",\"cursorDirection\":\"BEFORE\"}",
- "nextPagePagination": "{\"cursorDirection\":\"AFTER\",\"sortOrder\":\"ASC\",\"cursorKey\":{\"monitor_id\":\"0029-up\"}}",
- "totalSummaryCount": 2000,
- "summaries": [
- {
- "monitor_id": "0020-down",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172694000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172724000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172754000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172784000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172814000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172844000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172874000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172904000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172934000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172964000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172994000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173024000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173054000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173084000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173114000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173144000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173174000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173204000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173234000,
- "up": 0,
- "down": 1
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "down"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "down",
- "type": null
- },
- "summary": {
- "up": 0,
- "down": 1,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=400x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- },
- {
- "monitor_id": "0021-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- },
- {
- "monitor_id": "0022-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- },
- {
- "monitor_id": "0023-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- },
- {
- "monitor_id": "0024-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- },
- {
- "monitor_id": "0025-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0026-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0027-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0028-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0029-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_3_previous.json b/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_3_previous.json
deleted file mode 100644
index 0d5a76059d004a..00000000000000
--- a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_3_previous.json
+++ /dev/null
@@ -1,1609 +0,0 @@
-{
- "monitorStates": {
- "prevPagePagination": "{\"cursorKey\":{\"monitor_id\":\"0010-down\"},\"sortOrder\":\"ASC\",\"cursorDirection\":\"BEFORE\"}",
- "nextPagePagination": "{\"cursorKey\":{\"monitor_id\":\"0019-up\"},\"sortOrder\":\"ASC\",\"cursorDirection\":\"AFTER\"}",
- "totalSummaryCount": 2000,
- "summaries": [
- {
- "monitor_id": "0010-down",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172694000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172724000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172754000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172784000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172814000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172844000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172874000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172904000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172934000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172964000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172994000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173024000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173054000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173084000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173114000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173144000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173174000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173204000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173234000,
- "up": 0,
- "down": 1
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "down"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "down",
- "type": null
- },
- "summary": {
- "up": 0,
- "down": 1,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=400x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0011-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0012-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0013-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- },
- {
- "monitor_id": "0014-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- },
- {
- "monitor_id": "0015-intermittent",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x5,500x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0016-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0017-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0018-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0019-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_4.json b/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_4.json
deleted file mode 100644
index 4caff800ac96e2..00000000000000
--- a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_4.json
+++ /dev/null
@@ -1,1609 +0,0 @@
-{
- "monitorStates": {
- "prevPagePagination": "{\"cursorKey\":{\"monitor_id\":\"0030-intermittent\"},\"sortOrder\":\"ASC\",\"cursorDirection\":\"BEFORE\"}",
- "nextPagePagination": "{\"cursorDirection\":\"AFTER\",\"sortOrder\":\"ASC\",\"cursorKey\":{\"monitor_id\":\"0039-up\"}}",
- "totalSummaryCount": 2000,
- "summaries": [
- {
- "monitor_id": "0030-intermittent",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173084000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 0,
- "down": 1
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "down"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "down",
- "type": null
- },
- "summary": {
- "up": 0,
- "down": 1,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x5,500x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0031-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234374"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234374
- }
- },
- {
- "monitor_id": "0032-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234375"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234375
- }
- },
- {
- "monitor_id": "0033-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0034-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0035-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- },
- {
- "monitor_id": "0036-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- },
- {
- "monitor_id": "0037-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- },
- {
- "monitor_id": "0038-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- },
- {
- "monitor_id": "0039-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_4_previous.json b/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_4_previous.json
deleted file mode 100644
index 02bd149b502470..00000000000000
--- a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_4_previous.json
+++ /dev/null
@@ -1,1609 +0,0 @@
-{
- "monitorStates": {
- "prevPagePagination": "{\"cursorKey\":{\"monitor_id\":\"0020-down\"},\"sortOrder\":\"ASC\",\"cursorDirection\":\"BEFORE\"}",
- "nextPagePagination": "{\"cursorKey\":{\"monitor_id\":\"0029-up\"},\"sortOrder\":\"ASC\",\"cursorDirection\":\"AFTER\"}",
- "totalSummaryCount": 2000,
- "summaries": [
- {
- "monitor_id": "0020-down",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172694000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172724000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172754000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172784000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172814000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172844000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172874000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172904000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172934000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172964000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172994000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173024000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173054000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173084000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173114000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173144000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173174000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173204000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173234000,
- "up": 0,
- "down": 1
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "down"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "down",
- "type": null
- },
- "summary": {
- "up": 0,
- "down": 1,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=400x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- },
- {
- "monitor_id": "0021-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- },
- {
- "monitor_id": "0022-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- },
- {
- "monitor_id": "0023-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- },
- {
- "monitor_id": "0024-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- },
- {
- "monitor_id": "0025-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0026-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0027-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0028-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0029-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_5.json b/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_5.json
deleted file mode 100644
index 11e880f1ec3291..00000000000000
--- a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_5.json
+++ /dev/null
@@ -1,1609 +0,0 @@
-{
- "monitorStates": {
- "prevPagePagination": "{\"cursorKey\":{\"monitor_id\":\"0040-down\"},\"sortOrder\":\"ASC\",\"cursorDirection\":\"BEFORE\"}",
- "nextPagePagination": "{\"cursorDirection\":\"AFTER\",\"sortOrder\":\"ASC\",\"cursorKey\":{\"monitor_id\":\"0049-up\"}}",
- "totalSummaryCount": 2000,
- "summaries": [
- {
- "monitor_id": "0040-down",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172694000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172724000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172754000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172784000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172814000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172844000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172874000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172904000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172934000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172964000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172994000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173024000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173054000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173084000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173114000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173144000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173174000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173204000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173234000,
- "up": 0,
- "down": 1
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "down"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "down",
- "type": null
- },
- "summary": {
- "up": 0,
- "down": 1,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=400x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- },
- {
- "monitor_id": "0041-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0042-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0043-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0044-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0045-intermittent",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172814000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x5,500x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0046-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234374"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234374
- }
- },
- {
- "monitor_id": "0047-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234390"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234390
- }
- },
- {
- "monitor_id": "0048-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234386"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234386
- }
- },
- {
- "monitor_id": "0049-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234405"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234405
- }
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_5_previous.json b/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_5_previous.json
deleted file mode 100644
index 26cfa7c7162e83..00000000000000
--- a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_5_previous.json
+++ /dev/null
@@ -1,1609 +0,0 @@
-{
- "monitorStates": {
- "prevPagePagination": "{\"cursorKey\":{\"monitor_id\":\"0030-intermittent\"},\"sortOrder\":\"ASC\",\"cursorDirection\":\"BEFORE\"}",
- "nextPagePagination": "{\"cursorKey\":{\"monitor_id\":\"0039-up\"},\"sortOrder\":\"ASC\",\"cursorDirection\":\"AFTER\"}",
- "totalSummaryCount": 2000,
- "summaries": [
- {
- "monitor_id": "0030-intermittent",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173084000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 0,
- "down": 1
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "down"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "down",
- "type": null
- },
- "summary": {
- "up": 0,
- "down": 1,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x5,500x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0031-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234374"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234374
- }
- },
- {
- "monitor_id": "0032-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234375"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234375
- }
- },
- {
- "monitor_id": "0033-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0034-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0035-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- },
- {
- "monitor_id": "0036-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- },
- {
- "monitor_id": "0037-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- },
- {
- "monitor_id": "0038-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- },
- {
- "monitor_id": "0039-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_6.json b/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_6.json
deleted file mode 100644
index 8f4b5d4c52e719..00000000000000
--- a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_6.json
+++ /dev/null
@@ -1,1609 +0,0 @@
-{
- "monitorStates": {
- "prevPagePagination": "{\"cursorKey\":{\"monitor_id\":\"0050-down\"},\"sortOrder\":\"ASC\",\"cursorDirection\":\"BEFORE\"}",
- "nextPagePagination": "{\"cursorDirection\":\"AFTER\",\"sortOrder\":\"ASC\",\"cursorKey\":{\"monitor_id\":\"0059-up\"}}",
- "totalSummaryCount": 2000,
- "summaries": [
- {
- "monitor_id": "0050-down",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172694000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172724000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172754000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172784000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172814000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172844000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172874000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172904000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172934000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172964000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172994000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173024000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173054000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173084000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173114000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173144000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173174000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173204000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173234000,
- "up": 0,
- "down": 1
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "down"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234386"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "down",
- "type": null
- },
- "summary": {
- "up": 0,
- "down": 1,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=400x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234386
- }
- },
- {
- "monitor_id": "0051-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0052-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0053-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0054-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0055-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0056-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0057-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- },
- {
- "monitor_id": "0058-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- },
- {
- "monitor_id": "0059-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_6_previous.json b/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_6_previous.json
deleted file mode 100644
index 50f8f61b13d68c..00000000000000
--- a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_6_previous.json
+++ /dev/null
@@ -1,1609 +0,0 @@
-{
- "monitorStates": {
- "prevPagePagination": "{\"cursorKey\":{\"monitor_id\":\"0040-down\"},\"sortOrder\":\"ASC\",\"cursorDirection\":\"BEFORE\"}",
- "nextPagePagination": "{\"cursorKey\":{\"monitor_id\":\"0049-up\"},\"sortOrder\":\"ASC\",\"cursorDirection\":\"AFTER\"}",
- "totalSummaryCount": 2000,
- "summaries": [
- {
- "monitor_id": "0040-down",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172694000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172724000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172754000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172784000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172814000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172844000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172874000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172904000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172934000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172964000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172994000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173024000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173054000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173084000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173114000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173144000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173174000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173204000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173234000,
- "up": 0,
- "down": 1
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "down"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "down",
- "type": null
- },
- "summary": {
- "up": 0,
- "down": 1,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=400x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- },
- {
- "monitor_id": "0041-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0042-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0043-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0044-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0045-intermittent",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172814000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x5,500x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0046-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234374"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234374
- }
- },
- {
- "monitor_id": "0047-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234390"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234390
- }
- },
- {
- "monitor_id": "0048-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234386"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234386
- }
- },
- {
- "monitor_id": "0049-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234405"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234405
- }
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_7.json b/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_7.json
deleted file mode 100644
index 18ab2c6fdf3368..00000000000000
--- a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_7.json
+++ /dev/null
@@ -1,1609 +0,0 @@
-{
- "monitorStates": {
- "prevPagePagination": "{\"cursorKey\":{\"monitor_id\":\"0060-intermittent\"},\"sortOrder\":\"ASC\",\"cursorDirection\":\"BEFORE\"}",
- "nextPagePagination": "{\"cursorDirection\":\"AFTER\",\"sortOrder\":\"ASC\",\"cursorKey\":{\"monitor_id\":\"0069-up\"}}",
- "totalSummaryCount": 2000,
- "summaries": [
- {
- "monitor_id": "0060-intermittent",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172874000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x5,500x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- },
- {
- "monitor_id": "0061-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0062-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0063-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0064-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0065-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0066-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234374"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234374
- }
- },
- {
- "monitor_id": "0067-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234374"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234374
- }
- },
- {
- "monitor_id": "0068-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234374"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234374
- }
- },
- {
- "monitor_id": "0069-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234375"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234375
- }
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_7_previous.json b/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_7_previous.json
deleted file mode 100644
index 825d6365e3a9d7..00000000000000
--- a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_7_previous.json
+++ /dev/null
@@ -1,1609 +0,0 @@
-{
- "monitorStates": {
- "prevPagePagination": "{\"cursorKey\":{\"monitor_id\":\"0050-down\"},\"sortOrder\":\"ASC\",\"cursorDirection\":\"BEFORE\"}",
- "nextPagePagination": "{\"cursorKey\":{\"monitor_id\":\"0059-up\"},\"sortOrder\":\"ASC\",\"cursorDirection\":\"AFTER\"}",
- "totalSummaryCount": 2000,
- "summaries": [
- {
- "monitor_id": "0050-down",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172694000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172724000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172754000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172784000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172814000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172844000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172874000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172904000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172934000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172964000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172994000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173024000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173054000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173084000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173114000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173144000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173174000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173204000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173234000,
- "up": 0,
- "down": 1
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "down"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234386"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "down",
- "type": null
- },
- "summary": {
- "up": 0,
- "down": 1,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=400x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234386
- }
- },
- {
- "monitor_id": "0051-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0052-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0053-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0054-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0055-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0056-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0057-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- },
- {
- "monitor_id": "0058-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- },
- {
- "monitor_id": "0059-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_8.json b/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_8.json
deleted file mode 100644
index abb9bcdd804ed0..00000000000000
--- a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_8.json
+++ /dev/null
@@ -1,1609 +0,0 @@
-{
- "monitorStates": {
- "prevPagePagination": "{\"cursorKey\":{\"monitor_id\":\"0070-down\"},\"sortOrder\":\"ASC\",\"cursorDirection\":\"BEFORE\"}",
- "nextPagePagination": "{\"cursorDirection\":\"AFTER\",\"sortOrder\":\"ASC\",\"cursorKey\":{\"monitor_id\":\"0079-up\"}}",
- "totalSummaryCount": 2000,
- "summaries": [
- {
- "monitor_id": "0070-down",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172694000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172724000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172754000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172784000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172814000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172844000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172874000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172904000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172934000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172964000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172994000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173024000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173054000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173084000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173114000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173144000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173174000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173204000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173234000,
- "up": 0,
- "down": 1
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "down"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234375"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "down",
- "type": null
- },
- "summary": {
- "up": 0,
- "down": 1,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=400x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234375
- }
- },
- {
- "monitor_id": "0071-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234375"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234375
- }
- },
- {
- "monitor_id": "0072-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234376"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234376
- }
- },
- {
- "monitor_id": "0073-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234406"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234406
- }
- },
- {
- "monitor_id": "0074-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234410"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234410
- }
- },
- {
- "monitor_id": "0075-intermittent",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234406"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x5,500x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234406
- }
- },
- {
- "monitor_id": "0076-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234387"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234387
- }
- },
- {
- "monitor_id": "0077-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234389"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234389
- }
- },
- {
- "monitor_id": "0078-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0079-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_8_previous.json b/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_8_previous.json
deleted file mode 100644
index 46a5f195e6a828..00000000000000
--- a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_8_previous.json
+++ /dev/null
@@ -1,1609 +0,0 @@
-{
- "monitorStates": {
- "prevPagePagination": "{\"cursorKey\":{\"monitor_id\":\"0060-intermittent\"},\"sortOrder\":\"ASC\",\"cursorDirection\":\"BEFORE\"}",
- "nextPagePagination": "{\"cursorKey\":{\"monitor_id\":\"0069-up\"},\"sortOrder\":\"ASC\",\"cursorDirection\":\"AFTER\"}",
- "totalSummaryCount": 2000,
- "summaries": [
- {
- "monitor_id": "0060-intermittent",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172874000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x5,500x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- },
- {
- "monitor_id": "0061-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0062-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0063-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0064-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0065-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0066-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234374"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234374
- }
- },
- {
- "monitor_id": "0067-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234374"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234374
- }
- },
- {
- "monitor_id": "0068-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234374"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234374
- }
- },
- {
- "monitor_id": "0069-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234375"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234375
- }
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_9.json b/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_9.json
deleted file mode 100644
index 035baf0ab5b5e0..00000000000000
--- a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_9.json
+++ /dev/null
@@ -1,1609 +0,0 @@
-{
- "monitorStates": {
- "prevPagePagination": "{\"cursorKey\":{\"monitor_id\":\"0080-down\"},\"sortOrder\":\"ASC\",\"cursorDirection\":\"BEFORE\"}",
- "nextPagePagination": "{\"cursorDirection\":\"AFTER\",\"sortOrder\":\"ASC\",\"cursorKey\":{\"monitor_id\":\"0089-up\"}}",
- "totalSummaryCount": 2000,
- "summaries": [
- {
- "monitor_id": "0080-down",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172694000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172724000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172754000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172784000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172814000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172844000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172874000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172904000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172934000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172964000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172994000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173024000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173054000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173084000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173114000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173144000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173174000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173204000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173234000,
- "up": 0,
- "down": 1
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "down"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "down",
- "type": null
- },
- "summary": {
- "up": 0,
- "down": 1,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=400x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0081-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- },
- {
- "monitor_id": "0082-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234372"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234372
- }
- },
- {
- "monitor_id": "0083-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0084-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0085-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0086-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0087-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0088-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- },
- {
- "monitor_id": "0089-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234373"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234373
- }
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_9_previous.json b/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_9_previous.json
deleted file mode 100644
index a6d274056eec65..00000000000000
--- a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_states_page_9_previous.json
+++ /dev/null
@@ -1,1609 +0,0 @@
-{
- "monitorStates": {
- "prevPagePagination": "{\"cursorKey\":{\"monitor_id\":\"0070-down\"},\"sortOrder\":\"ASC\",\"cursorDirection\":\"BEFORE\"}",
- "nextPagePagination": "{\"cursorKey\":{\"monitor_id\":\"0079-up\"},\"sortOrder\":\"ASC\",\"cursorDirection\":\"AFTER\"}",
- "totalSummaryCount": 2000,
- "summaries": [
- {
- "monitor_id": "0070-down",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172694000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172724000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172754000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172784000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172814000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172844000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172874000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172904000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172934000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172964000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172994000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173024000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173054000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173084000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173114000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173144000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173174000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173204000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173234000,
- "up": 0,
- "down": 1
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "down"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234375"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "down",
- "type": null
- },
- "summary": {
- "up": 0,
- "down": 1,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=400x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234375
- }
- },
- {
- "monitor_id": "0071-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234375"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234375
- }
- },
- {
- "monitor_id": "0072-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234376"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234376
- }
- },
- {
- "monitor_id": "0073-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234406"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234406
- }
- },
- {
- "monitor_id": "0074-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234410"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234410
- }
- },
- {
- "monitor_id": "0075-intermittent",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 0,
- "down": 1
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234406"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x5,500x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234406
- }
- },
- {
- "monitor_id": "0076-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234387"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234387
- }
- },
- {
- "monitor_id": "0077-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234389"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234389
- }
- },
- {
- "monitor_id": "0078-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- },
- {
- "monitor_id": "0079-up",
- "histogram": {
- "count": 20,
- "points": [
- {
- "timestamp": 1568172664000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172694000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172724000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172754000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172784000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172814000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172844000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172874000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172904000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172934000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172964000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568172994000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173024000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173054000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173084000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173114000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173144000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173174000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173204000,
- "up": 1,
- "down": 0
- },
- {
- "timestamp": 1568173234000,
- "up": 1,
- "down": 0
- }
- ]
- },
- "state": {
- "agent": null,
- "checks": [
- {
- "agent": {
- "id": "04e1d082-65bc-4929-8d65-d0768a2621c4"
- },
- "container": null,
- "kubernetes": null,
- "monitor": {
- "ip": "127.0.0.1",
- "name": "",
- "status": "up"
- },
- "observer": {
- "geo": {
- "name": "mpls",
- "location": {
- "lat": 37.926867976784706,
- "lon": -78.02490200847387
- }
- }
- },
- "timestamp": "1568173234371"
- }
- ],
- "geo": null,
- "observer": {
- "geo": {
- "name": [
- "mpls"
- ],
- "location": null
- }
- },
- "monitor": {
- "id": null,
- "name": null,
- "status": "up",
- "type": null
- },
- "summary": {
- "up": 1,
- "down": 0,
- "geo": null
- },
- "url": {
- "full": "http://localhost:5678/pattern?r=200x1",
- "domain": "localhost"
- },
- "timestamp": 1568173234371
- }
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/x-pack/test/api_integration/apis/uptime/graphql/index.ts b/x-pack/test/api_integration/apis/uptime/graphql/index.ts
deleted file mode 100644
index 862cce47f257a5..00000000000000
--- a/x-pack/test/api_integration/apis/uptime/graphql/index.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the Elastic License;
- * you may not use this file except in compliance with the Elastic License.
- */
-
-import { FtrProviderContext } from '../../../ftr_provider_context';
-
-export default function({ loadTestFile }: FtrProviderContext) {
- describe('graphql', () => {
- // each of these test files imports a GQL query from
- // the uptime app and runs it against the live HTTP server,
- // verifying the pre-loaded documents are returned in a way that
- // matches the snapshots contained in './fixtures'
- loadTestFile(require.resolve('./monitor_states'));
- });
-}
diff --git a/x-pack/test/api_integration/apis/uptime/graphql/monitor_states.ts b/x-pack/test/api_integration/apis/uptime/graphql/monitor_states.ts
deleted file mode 100644
index 216560583249c5..00000000000000
--- a/x-pack/test/api_integration/apis/uptime/graphql/monitor_states.ts
+++ /dev/null
@@ -1,245 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the Elastic License;
- * you may not use this file except in compliance with the Elastic License.
- */
-
-import expect from '@kbn/expect';
-import { expectFixtureEql } from './helpers/expect_fixture_eql';
-import { FtrProviderContext } from '../../../ftr_provider_context';
-import { makeChecksWithStatus } from './helpers/make_checks';
-import { monitorStatesQueryString } from '../../../../../legacy/plugins/uptime/public/queries/monitor_states_query';
-import { MonitorSummary } from '../../../../../legacy/plugins/uptime/common/graphql/types';
-
-export default function({ getService }: FtrProviderContext) {
- const supertest = getService('supertest');
- let dateRangeStart: string;
- let dateRangeEnd: string;
-
- const getMonitorStates = async (variables: { [key: string]: any } = {}) => {
- const query = {
- operationName: 'MonitorStates',
- query: monitorStatesQueryString,
- variables: {
- dateRangeStart,
- dateRangeEnd,
- pageSize: 10,
- ...variables,
- },
- };
-
- const {
- body: { data },
- } = await supertest
- .post('/api/uptime/graphql')
- .set('kbn-xsrf', 'foo')
- .send({ ...query });
-
- return data;
- };
-
- describe('monitor states', async () => {
- describe('with real world data', () => {
- before('load heartbeat data', () => getService('esArchiver').load('uptime/full_heartbeat'));
- after('unload heartbeat index', () =>
- getService('esArchiver').unload('uptime/full_heartbeat')
- );
-
- before('set start/end', () => {
- dateRangeStart = '2019-09-11T03:31:04.380Z';
- dateRangeEnd = '2019-09-11T03:40:34.410Z';
- });
-
- it('will fetch monitor state data for the given filters and range', async () => {
- const data: any = await getMonitorStates({
- statusFilter: 'up',
- filters:
- '{"bool":{"must":[{"match":{"monitor.id":{"query":"0002-up","operator":"and"}}}]}}',
- });
- // await new Promise(r => setTimeout(r, 90000));
- expectFixtureEql(data, 'monitor_states_id_filtered');
- });
-
- it('will fetch monitor state data for the given date range', async () => {
- expectFixtureEql(await getMonitorStates(), 'monitor_states');
- });
-
- it('can navigate forward and backward using pagination', async () => {
- const expectedResultsCount = 100;
- const expectedPageCount = expectedResultsCount / 10;
-
- let pagination: string | null = null;
- for (let page = 1; page <= expectedPageCount; page++) {
- const data: any = await getMonitorStates({ pagination });
- pagination = data.monitorStates.nextPagePagination;
- expectFixtureEql(data, `monitor_states_page_${page}`);
-
- // Test to see if the previous page pagination works on every page (other than the first)
- if (page > 1) {
- const prevData = await getMonitorStates({
- pagination: data.monitorStates.prevPagePagination,
- });
- expectFixtureEql(prevData, `monitor_states_page_${page}_previous`);
- }
- }
- });
- });
-
- describe('monitor state scoping', async () => {
- const numIps = 4; // Must be > 2 for IP uniqueness checks
-
- before('load heartbeat data', () => getService('esArchiver').load('uptime/blank'));
- after('unload heartbeat index', () => getService('esArchiver').unload('uptime/blank'));
-
- describe('query document scoping with mismatched check statuses', async () => {
- let checks: any[] = [];
- let nonSummaryIp: string | null = null;
- const testMonitorId = 'scope-test-id';
- const makeApiParams = (monitorId: string, filterClauses: any[] = []): any => {
- return {
- filters: JSON.stringify({
- bool: {
- filter: [{ match: { 'monitor.id': monitorId } }, ...filterClauses],
- },
- }),
- };
- };
-
- before(async () => {
- const es = getService('legacyEs');
- dateRangeStart = new Date().toISOString();
- checks = await makeChecksWithStatus(es, testMonitorId, 1, numIps, 1, {}, 'up', d => {
- // turn an all up status into having at least one down
- if (d.summary) {
- d.monitor.status = 'down';
- d.summary.up--;
- d.summary.down++;
- }
- return d;
- });
-
- dateRangeEnd = new Date().toISOString();
- nonSummaryIp = checks[0][0].monitor.ip;
- });
-
- it('should return all IPs', async () => {
- const res = await getMonitorStates(makeApiParams(testMonitorId));
-
- const uniqueIps = new Set();
- res.monitorStates.summaries[0].state.checks.forEach((c: any) =>
- uniqueIps.add(c.monitor.ip)
- );
-
- expect(uniqueIps.size).to.eql(4);
- });
-
- it('should match non summary documents without a status filter', async () => {
- const params = makeApiParams(testMonitorId, [{ match: { 'monitor.ip': nonSummaryIp } }]);
-
- const nonSummaryRes = await getMonitorStates(params);
- expect(nonSummaryRes.monitorStates.summaries.length).to.eql(1);
- });
-
- it('should not match non summary documents if the check status does not match the document status', async () => {
- const params = makeApiParams(testMonitorId, [{ match: { 'monitor.ip': nonSummaryIp } }]);
- params.statusFilter = 'down';
-
- const nonSummaryRes = await getMonitorStates(params);
- expect(nonSummaryRes.monitorStates.summaries.length).to.eql(0);
- });
-
- it('should not non match non summary documents if the check status does not match', async () => {
- const params = makeApiParams(testMonitorId, [{ match: { 'monitor.ip': nonSummaryIp } }]);
- params.statusFilter = 'up';
-
- const nonSummaryRes = await getMonitorStates(params);
- expect(nonSummaryRes.monitorStates.summaries.length).to.eql(0);
- });
-
- describe('matching outside of the date range', async () => {
- before('set date range to future', () => {
- const futureDate = new Date();
-
- // Set dateRangeStart to one day from now
- futureDate.setDate(futureDate.getDate() + 1);
- dateRangeStart = futureDate.toISOString();
-
- // Set dateRangeStart to two days from now
- futureDate.setDate(futureDate.getDate() + 1);
- dateRangeEnd = futureDate.toISOString();
- });
-
- it('should not match any documents', async () => {
- const params = makeApiParams(testMonitorId);
- params.statusFilter = 'up';
-
- const nonSummaryRes = await getMonitorStates(params);
- expect(nonSummaryRes.monitorStates.summaries.length).to.eql(0);
- });
- });
- });
- });
-
- describe(' test status filter', async () => {
- const upMonitorId = 'up-test-id';
- const downMonitorId = 'down-test-id';
- const mixMonitorId = 'mix-test-id';
- before('generate three monitors with up, down, mix state', async () => {
- await getService('esArchiver').load('uptime/blank');
-
- const es = getService('legacyEs');
-
- const observer = {
- geo: {
- name: 'US-East',
- location: '40.7128, -74.0060',
- },
- };
-
- // Generating three monitors each with two geo locations,
- // One in a down state ,
- // One in an up state,
- // One in a mix state
-
- dateRangeStart = new Date().toISOString();
-
- await makeChecksWithStatus(es, upMonitorId, 1, 4, 1, {}, 'up');
- await makeChecksWithStatus(es, upMonitorId, 1, 4, 1, { observer }, 'up');
-
- await makeChecksWithStatus(es, downMonitorId, 1, 4, 1, {}, 'down');
- await makeChecksWithStatus(es, downMonitorId, 1, 4, 1, { observer }, 'down');
-
- await makeChecksWithStatus(es, mixMonitorId, 1, 4, 1, {}, 'up');
- await makeChecksWithStatus(es, mixMonitorId, 1, 4, 1, { observer }, 'down');
-
- dateRangeEnd = new Date().toISOString();
- });
-
- after('unload heartbeat index', () => getService('esArchiver').unload('uptime/blank'));
-
- it('should return all monitor when no status filter', async () => {
- const { monitorStates } = await getMonitorStates({});
- expect(monitorStates.summaries.length).to.eql(3);
- // Summaries are by default sorted by monitor names
- expect(
- monitorStates.summaries.map((summary: MonitorSummary) => summary.monitor_id)
- ).to.eql([downMonitorId, mixMonitorId, upMonitorId]);
- });
-
- it('should return a monitor with mix state if check status filter is down', async () => {
- const { monitorStates } = await getMonitorStates({ statusFilter: 'down' });
- expect(monitorStates.summaries.length).to.eql(2);
- monitorStates.summaries.forEach((summary: MonitorSummary) => {
- expect(summary.monitor_id).to.not.eql(upMonitorId);
- });
- });
-
- it('should not return a monitor with mix state if check status filter is up', async () => {
- const { monitorStates } = await getMonitorStates({ statusFilter: 'up' });
-
- expect(monitorStates.summaries.length).to.eql(1);
- expect(monitorStates.summaries[0].monitor_id).to.eql(upMonitorId);
- });
- });
- });
-}
diff --git a/x-pack/test/api_integration/apis/uptime/index.ts b/x-pack/test/api_integration/apis/uptime/index.ts
index 8def64b71a110d..13af60196f00d3 100644
--- a/x-pack/test/api_integration/apis/uptime/index.ts
+++ b/x-pack/test/api_integration/apis/uptime/index.ts
@@ -20,7 +20,6 @@ export default function({ getService, loadTestFile }: FtrProviderContext) {
loadTestFile(require.resolve('./feature_controls'));
loadTestFile(require.resolve('./get_all_pings'));
- loadTestFile(require.resolve('./graphql'));
loadTestFile(require.resolve('./rest'));
});
}
diff --git a/x-pack/test/api_integration/apis/uptime/rest/certs.ts b/x-pack/test/api_integration/apis/uptime/rest/certs.ts
new file mode 100644
index 00000000000000..7510ea3f34d282
--- /dev/null
+++ b/x-pack/test/api_integration/apis/uptime/rest/certs.ts
@@ -0,0 +1,89 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the Elastic License;
+ * you may not use this file except in compliance with the Elastic License.
+ */
+
+import expect from '@kbn/expect';
+import moment from 'moment';
+import { isRight } from 'fp-ts/lib/Either';
+import { FtrProviderContext } from '../../../ftr_provider_context';
+import { API_URLS } from '../../../../../legacy/plugins/uptime/common/constants';
+import { CertType } from '../../../../../legacy/plugins/uptime/common/runtime_types';
+import { makeChecksWithStatus } from './helper/make_checks';
+
+export default function({ getService }: FtrProviderContext) {
+ const supertest = getService('supertest');
+ const legacyEsService = getService('legacyEs');
+ const esArchiver = getService('esArchiver');
+
+ describe('certs api', () => {
+ describe('empty index', async () => {
+ it('returns empty array for no data', async () => {
+ const apiResponse = await supertest.get(API_URLS.CERTS);
+ expect(JSON.stringify(apiResponse.body)).to.eql('{"certs":[]}');
+ });
+ });
+
+ describe('when data is present', async () => {
+ const now = moment();
+ const cnva = now.add(6, 'months').toISOString();
+ const cnvb = now.subtract(23, 'weeks').toISOString();
+ const monitorId = 'monitor1';
+ before(async () => {
+ makeChecksWithStatus(
+ legacyEsService,
+ monitorId,
+ 3,
+ 1,
+ 10000,
+ {
+ tls: {
+ certificate_not_valid_after: cnva,
+ certificate_not_valid_before: cnvb,
+ server: {
+ x509: {
+ issuer: {
+ common_name: 'issuer-common-name',
+ },
+ subject: {
+ common_name: 'subject-common-name',
+ },
+ },
+ hash: {
+ sha1: 'fewjio23r3',
+ sha256: 'few9023fijoefw',
+ },
+ },
+ },
+ },
+ 'up',
+ (d: any) => d
+ );
+ });
+ after('unload test docs', () => {
+ esArchiver.unload('uptime/blank');
+ });
+
+ it('retrieves expected cert data', async () => {
+ const apiResponse = await supertest.get(API_URLS.CERTS);
+ const { body } = apiResponse;
+
+ expect(body.certs).not.to.be(undefined);
+ expect(Array.isArray(body.certs)).to.be(true);
+ expect(body.certs).to.have.length(1);
+
+ const decoded = CertType.decode(body.certs[0]);
+ expect(isRight(decoded)).to.be(true);
+
+ const cert = body.certs[0];
+ expect(Array.isArray(cert.monitors)).to.be(true);
+ expect(cert.monitors[0]).to.eql({ id: monitorId });
+ expect(cert.certificate_not_valid_after).to.eql(cnva);
+ expect(cert.certificate_not_valid_before).to.eql(cnvb);
+ expect(cert.common_name).to.eql('subject-common-name');
+ expect(cert.issuer).to.eql('issuer-common-name');
+ });
+ });
+ });
+}
diff --git a/x-pack/test/api_integration/apis/uptime/rest/doc_count.ts b/x-pack/test/api_integration/apis/uptime/rest/doc_count.ts
index 3f42511dd165c8..5258426cf193c1 100644
--- a/x-pack/test/api_integration/apis/uptime/rest/doc_count.ts
+++ b/x-pack/test/api_integration/apis/uptime/rest/doc_count.ts
@@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/
import { FtrProviderContext } from '../../../ftr_provider_context';
-import { expectFixtureEql } from '../graphql/helpers/expect_fixture_eql';
+import { expectFixtureEql } from './helper/expect_fixture_eql';
import { API_URLS } from '../../../../../legacy/plugins/uptime/common/constants';
export default function({ getService }: FtrProviderContext) {
diff --git a/x-pack/test/api_integration/apis/uptime/rest/filters.ts b/x-pack/test/api_integration/apis/uptime/rest/filters.ts
index 6cec6143a6d7c6..35bf32a1d404d4 100644
--- a/x-pack/test/api_integration/apis/uptime/rest/filters.ts
+++ b/x-pack/test/api_integration/apis/uptime/rest/filters.ts
@@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/
-import { expectFixtureEql } from '../graphql/helpers/expect_fixture_eql';
+import { expectFixtureEql } from './helper/expect_fixture_eql';
import { FtrProviderContext } from '../../../ftr_provider_context';
const getApiPath = (dateRangeStart: string, dateRangeEnd: string, filters?: string) =>
diff --git a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/filters.json b/x-pack/test/api_integration/apis/uptime/rest/fixtures/filters.json
similarity index 100%
rename from x-pack/test/api_integration/apis/uptime/graphql/fixtures/filters.json
rename to x-pack/test/api_integration/apis/uptime/rest/fixtures/filters.json
diff --git a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_status.json b/x-pack/test/api_integration/apis/uptime/rest/fixtures/monitor_status.json
similarity index 100%
rename from x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_status.json
rename to x-pack/test/api_integration/apis/uptime/rest/fixtures/monitor_status.json
diff --git a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_status_all.json b/x-pack/test/api_integration/apis/uptime/rest/fixtures/monitor_status_all.json
similarity index 100%
rename from x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitor_status_all.json
rename to x-pack/test/api_integration/apis/uptime/rest/fixtures/monitor_status_all.json
diff --git a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitors_with_location.json b/x-pack/test/api_integration/apis/uptime/rest/fixtures/monitors_with_location.json
similarity index 100%
rename from x-pack/test/api_integration/apis/uptime/graphql/fixtures/monitors_with_location.json
rename to x-pack/test/api_integration/apis/uptime/rest/fixtures/monitors_with_location.json
diff --git a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/snapshot.json b/x-pack/test/api_integration/apis/uptime/rest/fixtures/snapshot.json
similarity index 100%
rename from x-pack/test/api_integration/apis/uptime/graphql/fixtures/snapshot.json
rename to x-pack/test/api_integration/apis/uptime/rest/fixtures/snapshot.json
diff --git a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/snapshot_empty.json b/x-pack/test/api_integration/apis/uptime/rest/fixtures/snapshot_empty.json
similarity index 100%
rename from x-pack/test/api_integration/apis/uptime/graphql/fixtures/snapshot_empty.json
rename to x-pack/test/api_integration/apis/uptime/rest/fixtures/snapshot_empty.json
diff --git a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/snapshot_filtered_by_down.json b/x-pack/test/api_integration/apis/uptime/rest/fixtures/snapshot_filtered_by_down.json
similarity index 100%
rename from x-pack/test/api_integration/apis/uptime/graphql/fixtures/snapshot_filtered_by_down.json
rename to x-pack/test/api_integration/apis/uptime/rest/fixtures/snapshot_filtered_by_down.json
diff --git a/x-pack/test/api_integration/apis/uptime/graphql/fixtures/snapshot_filtered_by_up.json b/x-pack/test/api_integration/apis/uptime/rest/fixtures/snapshot_filtered_by_up.json
similarity index 100%
rename from x-pack/test/api_integration/apis/uptime/graphql/fixtures/snapshot_filtered_by_up.json
rename to x-pack/test/api_integration/apis/uptime/rest/fixtures/snapshot_filtered_by_up.json
diff --git a/x-pack/test/api_integration/apis/uptime/graphql/helpers/expect_fixture_eql.ts b/x-pack/test/api_integration/apis/uptime/rest/helper/expect_fixture_eql.ts
similarity index 87%
rename from x-pack/test/api_integration/apis/uptime/graphql/helpers/expect_fixture_eql.ts
rename to x-pack/test/api_integration/apis/uptime/rest/helper/expect_fixture_eql.ts
index d5a4f3976e0798..abf5ec6f697b03 100644
--- a/x-pack/test/api_integration/apis/uptime/graphql/helpers/expect_fixture_eql.ts
+++ b/x-pack/test/api_integration/apis/uptime/rest/helper/expect_fixture_eql.ts
@@ -10,7 +10,6 @@ import { join } from 'path';
import { cloneDeep, isEqual } from 'lodash';
const fixturesDir = join(__dirname, '..', 'fixtures');
-const restFixturesDir = join(__dirname, '../../rest/', 'fixtures');
const excludeFieldsFrom = (from: any, excluder?: (d: any) => any): any => {
const clone = cloneDeep(from);
@@ -24,10 +23,7 @@ export const expectFixtureEql = (data: T, fixtureName: string, excluder?: (d:
expect(data).not.to.eql(null);
expect(data).not.to.eql(undefined);
- let fixturePath = join(fixturesDir, `${fixtureName}.json`);
- if (!fs.existsSync(fixturePath)) {
- fixturePath = join(restFixturesDir, `${fixtureName}.json`);
- }
+ const fixturePath = join(fixturesDir, `${fixtureName}.json`);
excluder = excluder || (d => d);
const dataExcluded = excludeFieldsFrom(data, excluder);
diff --git a/x-pack/test/api_integration/apis/uptime/graphql/helpers/make_checks.ts b/x-pack/test/api_integration/apis/uptime/rest/helper/make_checks.ts
similarity index 100%
rename from x-pack/test/api_integration/apis/uptime/graphql/helpers/make_checks.ts
rename to x-pack/test/api_integration/apis/uptime/rest/helper/make_checks.ts
diff --git a/x-pack/test/api_integration/apis/uptime/rest/index.ts b/x-pack/test/api_integration/apis/uptime/rest/index.ts
index 3f8df81856f5c9..f77c14e960ab23 100644
--- a/x-pack/test/api_integration/apis/uptime/rest/index.ts
+++ b/x-pack/test/api_integration/apis/uptime/rest/index.ts
@@ -37,11 +37,13 @@ export default function({ getService, loadTestFile }: FtrProviderContext) {
});
describe('with generated data', () => {
- before('load heartbeat data', async () => await esArchiver.load('uptime/blank'));
+ beforeEach('load heartbeat data', async () => await esArchiver.loadIfNeeded('uptime/blank'));
after('unload', async () => await esArchiver.unload('uptime/blank'));
- loadTestFile(require.resolve('./snapshot'));
+ loadTestFile(require.resolve('./certs'));
loadTestFile(require.resolve('./dynamic_settings'));
+ loadTestFile(require.resolve('./snapshot'));
+ loadTestFile(require.resolve('./monitor_states_generated'));
loadTestFile(require.resolve('./telemetry_collectors'));
});
describe('with real-world data', () => {
@@ -52,6 +54,7 @@ export default function({ getService, loadTestFile }: FtrProviderContext) {
loadTestFile(require.resolve('./ping_list'));
loadTestFile(require.resolve('./monitor_duration'));
loadTestFile(require.resolve('./doc_count'));
+ loadTestFile(require.resolve('./monitor_states_real_data'));
});
});
}
diff --git a/x-pack/test/api_integration/apis/uptime/rest/monitor_duration.ts b/x-pack/test/api_integration/apis/uptime/rest/monitor_duration.ts
index acc50e9b8f3d67..7e93f9cfff8a1d 100644
--- a/x-pack/test/api_integration/apis/uptime/rest/monitor_duration.ts
+++ b/x-pack/test/api_integration/apis/uptime/rest/monitor_duration.ts
@@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/
-import { expectFixtureEql } from '../graphql/helpers/expect_fixture_eql';
+import { expectFixtureEql } from './helper/expect_fixture_eql';
import { FtrProviderContext } from '../../../ftr_provider_context';
export default function({ getService }: FtrProviderContext) {
diff --git a/x-pack/test/api_integration/apis/uptime/rest/monitor_latest_status.ts b/x-pack/test/api_integration/apis/uptime/rest/monitor_latest_status.ts
index 749b304c87ee3a..6547816bb7c162 100644
--- a/x-pack/test/api_integration/apis/uptime/rest/monitor_latest_status.ts
+++ b/x-pack/test/api_integration/apis/uptime/rest/monitor_latest_status.ts
@@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/
-import { expectFixtureEql } from '../graphql/helpers/expect_fixture_eql';
+import { expectFixtureEql } from './helper/expect_fixture_eql';
import { FtrProviderContext } from '../../../ftr_provider_context';
export default function({ getService }: FtrProviderContext) {
diff --git a/x-pack/test/api_integration/apis/uptime/rest/monitor_states_generated.ts b/x-pack/test/api_integration/apis/uptime/rest/monitor_states_generated.ts
new file mode 100644
index 00000000000000..3c17370532f915
--- /dev/null
+++ b/x-pack/test/api_integration/apis/uptime/rest/monitor_states_generated.ts
@@ -0,0 +1,193 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the Elastic License;
+ * you may not use this file except in compliance with the Elastic License.
+ */
+
+import expect from '@kbn/expect';
+import { FtrProviderContext } from '../../../ftr_provider_context';
+import { makeChecksWithStatus } from './helper/make_checks';
+import { API_URLS } from '../../../../../legacy/plugins/uptime/common/constants';
+import { MonitorSummary } from '../../../../../legacy/plugins/uptime/common/runtime_types';
+
+export default function({ getService }: FtrProviderContext) {
+ const supertest = getService('supertest');
+ describe('monitor state scoping', async () => {
+ const numIps = 4; // Must be > 2 for IP uniqueness checks
+
+ let dateRangeStart: string;
+ let dateRangeEnd: string;
+
+ const getBaseUrl = (from: string, to: string) =>
+ `${API_URLS.MONITOR_LIST}?dateRangeStart=${from}&dateRangeEnd=${to}&pageSize=10`;
+
+ before('load heartbeat data', () => getService('esArchiver').load('uptime/blank'));
+ after('unload heartbeat index', () => getService('esArchiver').unload('uptime/blank'));
+
+ describe('query document scoping with mismatched check statuses', async () => {
+ let checks: any[] = [];
+ let nonSummaryIp: string | null = null;
+ const testMonitorId = 'scope-test-id';
+ const makeApiParams = (monitorId: string, filterClauses: any[] = []): any => {
+ return JSON.stringify({
+ bool: {
+ filter: [{ match: { 'monitor.id': monitorId } }, ...filterClauses],
+ },
+ });
+ };
+
+ before(async () => {
+ const es = getService('legacyEs');
+ dateRangeStart = new Date().toISOString();
+ checks = await makeChecksWithStatus(es, testMonitorId, 1, numIps, 1, {}, 'up', d => {
+ // turn an all up status into having at least one down
+ if (d.summary) {
+ d.monitor.status = 'down';
+ d.summary.up--;
+ d.summary.down++;
+ }
+ return d;
+ });
+
+ dateRangeEnd = new Date().toISOString();
+ nonSummaryIp = checks[0][0].monitor.ip;
+ });
+
+ it('should return all IPs', async () => {
+ const filters = makeApiParams(testMonitorId);
+ const url = getBaseUrl(dateRangeStart, dateRangeEnd) + `&filters=${filters}`;
+ const apiResponse = await supertest.get(url);
+ const res = apiResponse.body;
+
+ const uniqueIps = new Set();
+ res.summaries[0].state.checks.forEach((c: any) => uniqueIps.add(c.monitor.ip));
+
+ expect(uniqueIps.size).to.eql(4);
+ });
+
+ it('should match non summary documents without a status filter', async () => {
+ const filters = makeApiParams(testMonitorId, [{ match: { 'monitor.ip': nonSummaryIp } }]);
+
+ const url = getBaseUrl(dateRangeStart, dateRangeEnd) + `&filters=${filters}`;
+ const apiResponse = await supertest.get(url);
+ const nonSummaryRes = apiResponse.body;
+ expect(nonSummaryRes.summaries.length).to.eql(1);
+ });
+
+ it('should not match non summary documents if the check status does not match the document status', async () => {
+ const filters = makeApiParams(testMonitorId, [{ match: { 'monitor.ip': nonSummaryIp } }]);
+ const url =
+ getBaseUrl(dateRangeStart, dateRangeEnd) + `&filters=${filters}&statusFilter=down`;
+
+ const apiResponse = await supertest.get(url);
+ const nonSummaryRes = apiResponse.body;
+ expect(nonSummaryRes.summaries.length).to.eql(0);
+ });
+
+ it('should not non match non summary documents if the check status does not match', async () => {
+ const filters = makeApiParams(testMonitorId, [{ match: { 'monitor.ip': nonSummaryIp } }]);
+ const url =
+ getBaseUrl(dateRangeStart, dateRangeEnd) + `&filters=${filters}&statusFilter=up`;
+
+ const apiResponse = await supertest.get(url);
+ const nonSummaryRes = apiResponse.body;
+ expect(nonSummaryRes.summaries.length).to.eql(0);
+ });
+
+ describe('matching outside of the date range', async () => {
+ before('set date range to future', () => {
+ const futureDate = new Date();
+
+ // Set dateRangeStart to one day from now
+ futureDate.setDate(futureDate.getDate() + 1);
+ dateRangeStart = futureDate.toISOString();
+
+ // Set dateRangeStart to two days from now
+ futureDate.setDate(futureDate.getDate() + 1);
+ dateRangeEnd = futureDate.toISOString();
+ });
+
+ it('should not match any documents', async () => {
+ const filters = makeApiParams(testMonitorId);
+ const url =
+ getBaseUrl(dateRangeStart, dateRangeEnd) + `&filters=${filters}&statusFilter=up`;
+
+ const apiResponse = await supertest.get(url);
+ const nonSummaryRes = apiResponse.body;
+ expect(nonSummaryRes.summaries.length).to.eql(0);
+ });
+ });
+ });
+
+ describe('test status filter', async () => {
+ const upMonitorId = 'up-test-id';
+ const downMonitorId = 'down-test-id';
+ const mixMonitorId = 'mix-test-id';
+ before('generate three monitors with up, down, mix state', async () => {
+ await getService('esArchiver').load('uptime/blank');
+
+ const es = getService('legacyEs');
+
+ const observer = {
+ geo: {
+ name: 'US-East',
+ location: '40.7128, -74.0060',
+ },
+ };
+
+ // Generating three monitors each with two geo locations,
+ // One in a down state ,
+ // One in an up state,
+ // One in a mix state
+
+ dateRangeStart = new Date().toISOString();
+
+ await makeChecksWithStatus(es, upMonitorId, 1, 4, 1, {}, 'up');
+ await makeChecksWithStatus(es, upMonitorId, 1, 4, 1, { observer }, 'up');
+
+ await makeChecksWithStatus(es, downMonitorId, 1, 4, 1, {}, 'down');
+ await makeChecksWithStatus(es, downMonitorId, 1, 4, 1, { observer }, 'down');
+
+ await makeChecksWithStatus(es, mixMonitorId, 1, 4, 1, {}, 'up');
+ await makeChecksWithStatus(es, mixMonitorId, 1, 4, 1, { observer }, 'down');
+
+ dateRangeEnd = new Date().toISOString();
+ });
+
+ after('unload heartbeat index', () => getService('esArchiver').unload('uptime/blank'));
+
+ it('should return all monitor when no status filter', async () => {
+ const apiResponse = await supertest.get(getBaseUrl(dateRangeStart, dateRangeEnd));
+ const { summaries } = apiResponse.body;
+ expect(summaries.length).to.eql(3);
+ // Summaries are by default sorted by monitor names
+ expect(summaries.map((summary: MonitorSummary) => summary.monitor_id)).to.eql([
+ downMonitorId,
+ mixMonitorId,
+ upMonitorId,
+ ]);
+ });
+
+ it('should return a monitor with mix state if check status filter is down', async () => {
+ const apiResponse = await supertest.get(
+ getBaseUrl(dateRangeStart, dateRangeEnd) + '&statusFilter=down'
+ );
+ const { summaries } = apiResponse.body;
+ expect(summaries.length).to.eql(2);
+ summaries.forEach((summary: MonitorSummary) => {
+ expect(summary.monitor_id).to.not.eql(upMonitorId);
+ });
+ });
+
+ it('should not return a monitor with mix state if check status filter is up', async () => {
+ const apiResponse = await supertest.get(
+ getBaseUrl(dateRangeStart, dateRangeEnd) + '&statusFilter=up'
+ );
+ const { summaries } = apiResponse.body;
+
+ expect(summaries.length).to.eql(1);
+ expect(summaries[0].monitor_id).to.eql(upMonitorId);
+ });
+ });
+ });
+}
diff --git a/x-pack/test/api_integration/apis/uptime/rest/monitor_states_real_data.ts b/x-pack/test/api_integration/apis/uptime/rest/monitor_states_real_data.ts
new file mode 100644
index 00000000000000..f1e37bff405fd3
--- /dev/null
+++ b/x-pack/test/api_integration/apis/uptime/rest/monitor_states_real_data.ts
@@ -0,0 +1,525 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the Elastic License;
+ * you may not use this file except in compliance with the Elastic License.
+ */
+
+import expect from '@kbn/expect';
+import { isRight } from 'fp-ts/lib/Either';
+import { FtrProviderContext } from '../../../ftr_provider_context';
+import { API_URLS } from '../../../../../legacy/plugins/uptime/common/constants';
+import { MonitorSummaryResultType } from '../../../../../legacy/plugins/uptime/common/runtime_types';
+
+interface ExpectedMonitorStatesPage {
+ response: any;
+ statesIds: string[];
+ statuses: string[];
+ absFrom: number;
+ absTo: number;
+ size: number;
+ totalCount: number;
+ prevPagination: null | string;
+ nextPagination: null | string;
+}
+
+type PendingExpectedMonitorStatesPage = Pick<
+ ExpectedMonitorStatesPage,
+ 'statesIds' | 'statuses' | 'prevPagination' | 'nextPagination'
+>;
+
+const checkMonitorStatesResponse = ({
+ response,
+ statesIds,
+ statuses,
+ absFrom,
+ absTo,
+ size,
+ totalCount,
+ prevPagination,
+ nextPagination,
+}: ExpectedMonitorStatesPage) => {
+ const decoded = MonitorSummaryResultType.decode(response);
+ expect(isRight(decoded)).to.be.ok();
+ if (isRight(decoded)) {
+ const { summaries, prevPagePagination, nextPagePagination, totalSummaryCount } = decoded.right;
+ expect(summaries).to.have.length(size);
+ expect(summaries?.map(s => s.monitor_id)).to.eql(statesIds);
+ expect(
+ summaries?.map(s => (s.state.summary?.up && !s.state.summary?.down ? 'up' : 'down'))
+ ).to.eql(statuses);
+ (summaries ?? []).forEach(s => {
+ expect(s.state.url.full).to.be.ok();
+ expect(s.histogram?.count).to.be(20);
+ (s.histogram?.points ?? []).forEach(point => {
+ expect(point.timestamp).to.be.greaterThan(absFrom);
+ expect(point.timestamp).to.be.lessThan(absTo);
+ });
+ });
+ expect(totalSummaryCount).to.be(totalCount);
+ expect(prevPagePagination).to.be(prevPagination);
+ expect(nextPagePagination).to.eql(nextPagination);
+ }
+};
+
+export default function({ getService }: FtrProviderContext) {
+ const supertest = getService('supertest');
+ describe('monitor states endpoint', () => {
+ const from = '2019-09-11T03:30:04.380Z';
+ const to = '2019-09-11T03:40:34.410Z';
+ const absFrom = new Date(from).valueOf();
+ const absTo = new Date(to).valueOf();
+
+ it('will fetch monitor state data for the given filters and range', async () => {
+ const statusFilter = 'up';
+ const size = 10;
+ const filters =
+ '{"bool":{"must":[{"match":{"monitor.id":{"query":"0002-up","operator":"and"}}}]}}';
+ const apiResponse = await supertest.get(
+ `${API_URLS.MONITOR_LIST}?dateRangeStart=${from}&dateRangeEnd=${to}&statusFilter=${statusFilter}&filters=${filters}&pageSize=${size}`
+ );
+ checkMonitorStatesResponse({
+ response: apiResponse.body,
+ statesIds: ['0002-up'],
+ statuses: ['up'],
+ absFrom,
+ absTo,
+ size: 1,
+ totalCount: 2000,
+ prevPagination: null,
+ nextPagination: null,
+ });
+ });
+
+ it('can navigate forward and backward using pagination', async () => {
+ const expectedResultsCount = 100;
+ const size = 10;
+ const expectedPageCount = expectedResultsCount / size;
+ const expectedNextResults: PendingExpectedMonitorStatesPage[] = [
+ {
+ statesIds: [
+ '0000-intermittent',
+ '0001-up',
+ '0002-up',
+ '0003-up',
+ '0004-up',
+ '0005-up',
+ '0006-up',
+ '0007-up',
+ '0008-up',
+ '0009-up',
+ ],
+ statuses: ['up', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up'],
+ nextPagination:
+ '{"cursorDirection":"AFTER","sortOrder":"ASC","cursorKey":{"monitor_id":"0009-up"}}',
+ prevPagination: null,
+ },
+ {
+ statesIds: [
+ '0010-down',
+ '0011-up',
+ '0012-up',
+ '0013-up',
+ '0014-up',
+ '0015-intermittent',
+ '0016-up',
+ '0017-up',
+ '0018-up',
+ '0019-up',
+ ],
+ statuses: ['down', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up'],
+ nextPagination:
+ '{"cursorDirection":"AFTER","sortOrder":"ASC","cursorKey":{"monitor_id":"0019-up"}}',
+ prevPagination:
+ '{"cursorKey":{"monitor_id":"0010-down"},"sortOrder":"ASC","cursorDirection":"BEFORE"}',
+ },
+ {
+ statesIds: [
+ '0020-down',
+ '0021-up',
+ '0022-up',
+ '0023-up',
+ '0024-up',
+ '0025-up',
+ '0026-up',
+ '0027-up',
+ '0028-up',
+ '0029-up',
+ ],
+ statuses: ['down', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up'],
+ nextPagination:
+ '{"cursorDirection":"AFTER","sortOrder":"ASC","cursorKey":{"monitor_id":"0029-up"}}',
+ prevPagination:
+ '{"cursorKey":{"monitor_id":"0020-down"},"sortOrder":"ASC","cursorDirection":"BEFORE"}',
+ },
+ {
+ statesIds: [
+ '0030-intermittent',
+ '0031-up',
+ '0032-up',
+ '0033-up',
+ '0034-up',
+ '0035-up',
+ '0036-up',
+ '0037-up',
+ '0038-up',
+ '0039-up',
+ ],
+ statuses: ['down', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up'],
+ nextPagination:
+ '{"cursorDirection":"AFTER","sortOrder":"ASC","cursorKey":{"monitor_id":"0039-up"}}',
+ prevPagination:
+ '{"cursorKey":{"monitor_id":"0030-intermittent"},"sortOrder":"ASC","cursorDirection":"BEFORE"}',
+ },
+ {
+ statesIds: [
+ '0040-down',
+ '0041-up',
+ '0042-up',
+ '0043-up',
+ '0044-up',
+ '0045-intermittent',
+ '0046-up',
+ '0047-up',
+ '0048-up',
+ '0049-up',
+ ],
+ statuses: ['down', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up'],
+ nextPagination:
+ '{"cursorDirection":"AFTER","sortOrder":"ASC","cursorKey":{"monitor_id":"0049-up"}}',
+ prevPagination:
+ '{"cursorKey":{"monitor_id":"0040-down"},"sortOrder":"ASC","cursorDirection":"BEFORE"}',
+ },
+ {
+ statesIds: [
+ '0050-down',
+ '0051-up',
+ '0052-up',
+ '0053-up',
+ '0054-up',
+ '0055-up',
+ '0056-up',
+ '0057-up',
+ '0058-up',
+ '0059-up',
+ ],
+ statuses: ['down', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up'],
+ nextPagination:
+ '{"cursorDirection":"AFTER","sortOrder":"ASC","cursorKey":{"monitor_id":"0059-up"}}',
+ prevPagination:
+ '{"cursorKey":{"monitor_id":"0050-down"},"sortOrder":"ASC","cursorDirection":"BEFORE"}',
+ },
+ {
+ statesIds: [
+ '0060-intermittent',
+ '0061-up',
+ '0062-up',
+ '0063-up',
+ '0064-up',
+ '0065-up',
+ '0066-up',
+ '0067-up',
+ '0068-up',
+ '0069-up',
+ ],
+ statuses: ['up', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up'],
+ nextPagination:
+ '{"cursorDirection":"AFTER","sortOrder":"ASC","cursorKey":{"monitor_id":"0069-up"}}',
+ prevPagination:
+ '{"cursorKey":{"monitor_id":"0060-intermittent"},"sortOrder":"ASC","cursorDirection":"BEFORE"}',
+ },
+ {
+ statesIds: [
+ '0070-down',
+ '0071-up',
+ '0072-up',
+ '0073-up',
+ '0074-up',
+ '0075-intermittent',
+ '0076-up',
+ '0077-up',
+ '0078-up',
+ '0079-up',
+ ],
+ statuses: ['down', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up'],
+ nextPagination:
+ '{"cursorDirection":"AFTER","sortOrder":"ASC","cursorKey":{"monitor_id":"0079-up"}}',
+ prevPagination:
+ '{"cursorKey":{"monitor_id":"0070-down"},"sortOrder":"ASC","cursorDirection":"BEFORE"}',
+ },
+ {
+ statesIds: [
+ '0080-down',
+ '0081-up',
+ '0082-up',
+ '0083-up',
+ '0084-up',
+ '0085-up',
+ '0086-up',
+ '0087-up',
+ '0088-up',
+ '0089-up',
+ ],
+ statuses: ['down', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up'],
+ nextPagination:
+ '{"cursorDirection":"AFTER","sortOrder":"ASC","cursorKey":{"monitor_id":"0089-up"}}',
+ prevPagination:
+ '{"cursorKey":{"monitor_id":"0080-down"},"sortOrder":"ASC","cursorDirection":"BEFORE"}',
+ },
+ {
+ statesIds: [
+ '0090-intermittent',
+ '0091-up',
+ '0092-up',
+ '0093-up',
+ '0094-up',
+ '0095-up',
+ '0096-up',
+ '0097-up',
+ '0098-up',
+ '0099-up',
+ ],
+ statuses: ['up', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up'],
+ nextPagination: null,
+ prevPagination:
+ '{"cursorKey":{"monitor_id":"0090-intermittent"},"sortOrder":"ASC","cursorDirection":"BEFORE"}',
+ },
+ ];
+
+ const expectedPrevResults: PendingExpectedMonitorStatesPage[] = [
+ {
+ statesIds: [
+ '0000-intermittent',
+ '0001-up',
+ '0002-up',
+ '0003-up',
+ '0004-up',
+ '0005-up',
+ '0006-up',
+ '0007-up',
+ '0008-up',
+ '0009-up',
+ ],
+ statuses: ['up', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up'],
+ nextPagination:
+ '{"cursorKey":{"monitor_id":"0009-up"},"sortOrder":"ASC","cursorDirection":"AFTER"}',
+ prevPagination: null,
+ },
+ {
+ statesIds: [
+ '0010-down',
+ '0011-up',
+ '0012-up',
+ '0013-up',
+ '0014-up',
+ '0015-intermittent',
+ '0016-up',
+ '0017-up',
+ '0018-up',
+ '0019-up',
+ ],
+ statuses: ['down', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up'],
+ nextPagination:
+ '{"cursorKey":{"monitor_id":"0019-up"},"sortOrder":"ASC","cursorDirection":"AFTER"}',
+ prevPagination:
+ '{"cursorKey":{"monitor_id":"0010-down"},"sortOrder":"ASC","cursorDirection":"BEFORE"}',
+ },
+ {
+ statesIds: [
+ '0020-down',
+ '0021-up',
+ '0022-up',
+ '0023-up',
+ '0024-up',
+ '0025-up',
+ '0026-up',
+ '0027-up',
+ '0028-up',
+ '0029-up',
+ ],
+ statuses: ['down', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up'],
+ nextPagination:
+ '{"cursorKey":{"monitor_id":"0029-up"},"sortOrder":"ASC","cursorDirection":"AFTER"}',
+ prevPagination:
+ '{"cursorKey":{"monitor_id":"0020-down"},"sortOrder":"ASC","cursorDirection":"BEFORE"}',
+ },
+ {
+ statesIds: [
+ '0030-intermittent',
+ '0031-up',
+ '0032-up',
+ '0033-up',
+ '0034-up',
+ '0035-up',
+ '0036-up',
+ '0037-up',
+ '0038-up',
+ '0039-up',
+ ],
+ statuses: ['down', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up'],
+ nextPagination:
+ '{"cursorKey":{"monitor_id":"0039-up"},"sortOrder":"ASC","cursorDirection":"AFTER"}',
+ prevPagination:
+ '{"cursorKey":{"monitor_id":"0030-intermittent"},"sortOrder":"ASC","cursorDirection":"BEFORE"}',
+ },
+ {
+ statesIds: [
+ '0040-down',
+ '0041-up',
+ '0042-up',
+ '0043-up',
+ '0044-up',
+ '0045-intermittent',
+ '0046-up',
+ '0047-up',
+ '0048-up',
+ '0049-up',
+ ],
+ statuses: ['down', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up'],
+ nextPagination:
+ '{"cursorKey":{"monitor_id":"0049-up"},"sortOrder":"ASC","cursorDirection":"AFTER"}',
+ prevPagination:
+ '{"cursorKey":{"monitor_id":"0040-down"},"sortOrder":"ASC","cursorDirection":"BEFORE"}',
+ },
+ {
+ statesIds: [
+ '0050-down',
+ '0051-up',
+ '0052-up',
+ '0053-up',
+ '0054-up',
+ '0055-up',
+ '0056-up',
+ '0057-up',
+ '0058-up',
+ '0059-up',
+ ],
+ statuses: ['down', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up'],
+ nextPagination:
+ '{"cursorKey":{"monitor_id":"0059-up"},"sortOrder":"ASC","cursorDirection":"AFTER"}',
+ prevPagination:
+ '{"cursorKey":{"monitor_id":"0050-down"},"sortOrder":"ASC","cursorDirection":"BEFORE"}',
+ },
+ {
+ statesIds: [
+ '0060-intermittent',
+ '0061-up',
+ '0062-up',
+ '0063-up',
+ '0064-up',
+ '0065-up',
+ '0066-up',
+ '0067-up',
+ '0068-up',
+ '0069-up',
+ ],
+ statuses: ['up', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up'],
+ nextPagination:
+ '{"cursorKey":{"monitor_id":"0069-up"},"sortOrder":"ASC","cursorDirection":"AFTER"}',
+ prevPagination:
+ '{"cursorKey":{"monitor_id":"0060-intermittent"},"sortOrder":"ASC","cursorDirection":"BEFORE"}',
+ },
+ {
+ statesIds: [
+ '0070-down',
+ '0071-up',
+ '0072-up',
+ '0073-up',
+ '0074-up',
+ '0075-intermittent',
+ '0076-up',
+ '0077-up',
+ '0078-up',
+ '0079-up',
+ ],
+ statuses: ['down', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up'],
+ nextPagination:
+ '{"cursorKey":{"monitor_id":"0079-up"},"sortOrder":"ASC","cursorDirection":"AFTER"}',
+ prevPagination:
+ '{"cursorKey":{"monitor_id":"0070-down"},"sortOrder":"ASC","cursorDirection":"BEFORE"}',
+ },
+ {
+ statesIds: [
+ '0080-down',
+ '0081-up',
+ '0082-up',
+ '0083-up',
+ '0084-up',
+ '0085-up',
+ '0086-up',
+ '0087-up',
+ '0088-up',
+ '0089-up',
+ ],
+ statuses: ['down', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up'],
+ nextPagination:
+ '{"cursorKey":{"monitor_id":"0089-up"},"sortOrder":"ASC","cursorDirection":"AFTER"}',
+ prevPagination:
+ '{"cursorKey":{"monitor_id":"0080-down"},"sortOrder":"ASC","cursorDirection":"BEFORE"}',
+ },
+ ];
+
+ const totalCount = 2000;
+ let pagination: string | null = null;
+ for (let page = 1; page <= expectedPageCount; page++) {
+ const baseUrl = `${API_URLS.MONITOR_LIST}?dateRangeStart=${from}&dateRangeEnd=${to}&pageSize=${size}`;
+ const nextUrl: string = baseUrl + `&pagination=${pagination ?? ''}`;
+ const nextApiResponse = await supertest.get(nextUrl);
+ const nextData = nextApiResponse.body;
+ pagination = nextData.nextPagePagination;
+ checkMonitorStatesResponse({
+ response: nextData,
+ ...expectedNextResults[page - 1],
+ absFrom,
+ absTo,
+ size,
+ totalCount,
+ });
+
+ // Test to see if the previous page pagination works on every page (other than the first)
+ if (page > 1) {
+ const prevUrl: string = baseUrl + `&pagination=${nextData.prevPagePagination}`;
+ const prevApiResponse = await supertest.get(prevUrl);
+ const prevData = prevApiResponse.body;
+ checkMonitorStatesResponse({
+ response: prevData,
+ ...expectedPrevResults[page - 2],
+ absFrom,
+ absTo,
+ size,
+ totalCount,
+ });
+ }
+ }
+ });
+
+ it('will fetch monitor state data for the given date range', async () => {
+ const LENGTH = 10;
+ const { body } = await supertest.get(
+ `${API_URLS.MONITOR_LIST}?dateRangeStart=${from}&dateRangeEnd=${to}&pageSize=${LENGTH}`
+ );
+ checkMonitorStatesResponse({
+ response: body,
+ statesIds: [
+ '0000-intermittent',
+ '0001-up',
+ '0002-up',
+ '0003-up',
+ '0004-up',
+ '0005-up',
+ '0006-up',
+ '0007-up',
+ '0008-up',
+ '0009-up',
+ ],
+ statuses: ['up', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up', 'up'],
+ absFrom,
+ absTo,
+ size: LENGTH,
+ totalCount: 2000,
+ prevPagination: null,
+ nextPagination:
+ '{"cursorDirection":"AFTER","sortOrder":"ASC","cursorKey":{"monitor_id":"0009-up"}}',
+ });
+ });
+ });
+}
diff --git a/x-pack/test/api_integration/apis/uptime/rest/ping_histogram.ts b/x-pack/test/api_integration/apis/uptime/rest/ping_histogram.ts
index 0982d5fef7cb44..b1afe4c8e0d7d3 100644
--- a/x-pack/test/api_integration/apis/uptime/rest/ping_histogram.ts
+++ b/x-pack/test/api_integration/apis/uptime/rest/ping_histogram.ts
@@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/
-import { expectFixtureEql } from '../graphql/helpers/expect_fixture_eql';
+import { expectFixtureEql } from './helper/expect_fixture_eql';
import { FtrProviderContext } from '../../../ftr_provider_context';
import { assertCloseTo } from '../../../../../plugins/uptime/server/lib/helper';
diff --git a/x-pack/test/api_integration/apis/uptime/rest/snapshot.ts b/x-pack/test/api_integration/apis/uptime/rest/snapshot.ts
index 20fe59d149ae8f..9a8951741948e3 100644
--- a/x-pack/test/api_integration/apis/uptime/rest/snapshot.ts
+++ b/x-pack/test/api_integration/apis/uptime/rest/snapshot.ts
@@ -4,9 +4,9 @@
* you may not use this file except in compliance with the Elastic License.
*/
-import { expectFixtureEql } from '../graphql/helpers/expect_fixture_eql';
+import { expectFixtureEql } from './helper/expect_fixture_eql';
import { FtrProviderContext } from '../../../ftr_provider_context';
-import { makeChecksWithStatus, getChecksDateRange } from '../graphql/helpers/make_checks';
+import { makeChecksWithStatus, getChecksDateRange } from './helper/make_checks';
export default function({ getService }: FtrProviderContext) {
const supertest = getService('supertest');
diff --git a/x-pack/test/api_integration/apis/uptime/rest/telemetry_collectors.ts b/x-pack/test/api_integration/apis/uptime/rest/telemetry_collectors.ts
index b2ec96be0f2887..017ef02afe5ea7 100644
--- a/x-pack/test/api_integration/apis/uptime/rest/telemetry_collectors.ts
+++ b/x-pack/test/api_integration/apis/uptime/rest/telemetry_collectors.ts
@@ -7,7 +7,7 @@
import expect from '@kbn/expect';
import { FtrProviderContext } from '../../../ftr_provider_context';
import { API_URLS } from '../../../../../legacy/plugins/uptime/common/constants';
-import { makeChecksWithStatus } from '../graphql/helpers/make_checks';
+import { makeChecksWithStatus } from './helper/make_checks';
export default function({ getService }: FtrProviderContext) {
const supertest = getService('supertest');
diff --git a/x-pack/test/api_integration/services/ml.ts b/x-pack/test/api_integration/services/ml.ts
index 841b200b870801..c295af7dc73ab4 100644
--- a/x-pack/test/api_integration/services/ml.ts
+++ b/x-pack/test/api_integration/services/ml.ts
@@ -9,14 +9,17 @@ import { FtrProviderContext } from '../../functional/ftr_provider_context';
import {
MachineLearningAPIProvider,
MachineLearningSecurityCommonProvider,
+ MachineLearningTestResourcesProvider,
} from '../../functional/services/machine_learning';
export function MachineLearningProvider(context: FtrProviderContext) {
const api = MachineLearningAPIProvider(context);
const securityCommon = MachineLearningSecurityCommonProvider(context);
+ const testResources = MachineLearningTestResourcesProvider(context);
return {
api,
securityCommon,
+ testResources,
};
}
diff --git a/x-pack/test/detection_engine_api_integration/common/config.ts b/x-pack/test/detection_engine_api_integration/common/config.ts
index 89ebd902834b95..e89352118990a1 100644
--- a/x-pack/test/detection_engine_api_integration/common/config.ts
+++ b/x-pack/test/detection_engine_api_integration/common/config.ts
@@ -8,7 +8,7 @@ import path from 'path';
import { CA_CERT_PATH } from '@kbn/dev-utils';
import { FtrConfigProviderContext } from '@kbn/test/types/ftr';
import { services } from './services';
-import { listsEnvFeatureFlagName } from '../../../legacy/plugins/siem/server/lib/detection_engine/feature_flags';
+import { listsEnvFeatureFlagName } from '../../../plugins/siem/server/lib/detection_engine/feature_flags';
interface CreateTestConfigOptions {
license: string;
diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/add_prepackaged_rules.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/add_prepackaged_rules.ts
index 6ee65d5d28aa47..e787a3594dfe62 100644
--- a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/add_prepackaged_rules.ts
+++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/add_prepackaged_rules.ts
@@ -6,7 +6,7 @@
import expect from '@kbn/expect';
-import { DETECTION_ENGINE_PREPACKAGED_URL } from '../../../../legacy/plugins/siem/common/constants';
+import { DETECTION_ENGINE_PREPACKAGED_URL } from '../../../../plugins/siem/common/constants';
import { FtrProviderContext } from '../../common/ftr_provider_context';
import { createSignalsIndex, deleteAllAlerts, deleteSignalsIndex } from './utils';
diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/create_rules.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/create_rules.ts
index 91088acb7a51ce..46645a9b5a9448 100644
--- a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/create_rules.ts
+++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/create_rules.ts
@@ -6,7 +6,7 @@
import expect from '@kbn/expect';
-import { DETECTION_ENGINE_RULES_URL } from '../../../../legacy/plugins/siem/common/constants';
+import { DETECTION_ENGINE_RULES_URL } from '../../../../plugins/siem/common/constants';
import { FtrProviderContext } from '../../common/ftr_provider_context';
import {
createSignalsIndex,
diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/create_rules_bulk.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/create_rules_bulk.ts
index 8e951a31b525c0..117300be417d50 100644
--- a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/create_rules_bulk.ts
+++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/create_rules_bulk.ts
@@ -6,7 +6,7 @@
import expect from '@kbn/expect';
-import { DETECTION_ENGINE_RULES_URL } from '../../../../legacy/plugins/siem/common/constants';
+import { DETECTION_ENGINE_RULES_URL } from '../../../../plugins/siem/common/constants';
import { FtrProviderContext } from '../../common/ftr_provider_context';
import {
createSignalsIndex,
diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/delete_rules.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/delete_rules.ts
index a886a5fb07a6c7..fb701681419d8b 100644
--- a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/delete_rules.ts
+++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/delete_rules.ts
@@ -6,7 +6,7 @@
import expect from '@kbn/expect';
-import { DETECTION_ENGINE_RULES_URL } from '../../../../legacy/plugins/siem/common/constants';
+import { DETECTION_ENGINE_RULES_URL } from '../../../../plugins/siem/common/constants';
import { FtrProviderContext } from '../../common/ftr_provider_context';
import {
createSignalsIndex,
diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/delete_rules_bulk.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/delete_rules_bulk.ts
index 9e9071b82884f9..ac58ba4c77e4e5 100644
--- a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/delete_rules_bulk.ts
+++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/delete_rules_bulk.ts
@@ -6,7 +6,7 @@
import expect from '@kbn/expect';
-import { DETECTION_ENGINE_RULES_URL } from '../../../../legacy/plugins/siem/common/constants';
+import { DETECTION_ENGINE_RULES_URL } from '../../../../plugins/siem/common/constants';
import { FtrProviderContext } from '../../common/ftr_provider_context';
import {
createSignalsIndex,
diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/export_rules.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/export_rules.ts
index a8f841db94bbcb..51bdb9e45dc0c3 100644
--- a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/export_rules.ts
+++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/export_rules.ts
@@ -6,7 +6,7 @@
import expect from '@kbn/expect';
-import { DETECTION_ENGINE_RULES_URL } from '../../../../legacy/plugins/siem/common/constants';
+import { DETECTION_ENGINE_RULES_URL } from '../../../../plugins/siem/common/constants';
import { FtrProviderContext } from '../../common/ftr_provider_context';
import {
binaryToString,
diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/find_rules.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/find_rules.ts
index abbc8f77e00778..feb4ecd125f7eb 100644
--- a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/find_rules.ts
+++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/find_rules.ts
@@ -6,7 +6,7 @@
import expect from '@kbn/expect';
-import { DETECTION_ENGINE_RULES_URL } from '../../../../legacy/plugins/siem/common/constants';
+import { DETECTION_ENGINE_RULES_URL } from '../../../../plugins/siem/common/constants';
import { FtrProviderContext } from '../../common/ftr_provider_context';
import {
createSignalsIndex,
diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/find_statuses.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/find_statuses.ts
index 45805f03f8c0cd..44847d5c8146c4 100644
--- a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/find_statuses.ts
+++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/find_statuses.ts
@@ -6,7 +6,7 @@
import expect from '@kbn/expect';
-import { DETECTION_ENGINE_RULES_URL } from '../../../../legacy/plugins/siem/common/constants';
+import { DETECTION_ENGINE_RULES_URL } from '../../../../plugins/siem/common/constants';
import { FtrProviderContext } from '../../common/ftr_provider_context';
import {
createSignalsIndex,
@@ -50,17 +50,18 @@ export default ({ getService }: FtrProviderContext): void => {
.send(getSimpleRule())
.expect(200);
- await new Promise(resolve => setTimeout(resolve, 1000)).then(async () => {
- // query the single rule from _find
- const { body } = await supertest
- .post(`${DETECTION_ENGINE_RULES_URL}/_find_statuses`)
- .set('kbn-xsrf', 'true')
- .send({ ids: [resBody.id] })
- .expect(200);
+ // wait for Task Manager to execute the rule and update status
+ await new Promise(resolve => setTimeout(resolve, 5000));
- // expected result for status should be 'going to run' or 'succeeded
- expect(['succeeded', 'going to run']).to.contain(body[resBody.id].current_status.status);
- });
+ // query the single rule from _find
+ const { body } = await supertest
+ .post(`${DETECTION_ENGINE_RULES_URL}/_find_statuses`)
+ .set('kbn-xsrf', 'true')
+ .send({ ids: [resBody.id] })
+ .expect(200);
+
+ // expected result for status should be 'going to run' or 'succeeded
+ expect(['succeeded', 'going to run']).to.contain(body[resBody.id].current_status.status);
});
});
};
diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/get_prepackaged_rules_status.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/get_prepackaged_rules_status.ts
index 49cf150126fda2..e2dce77c1d70a1 100644
--- a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/get_prepackaged_rules_status.ts
+++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/get_prepackaged_rules_status.ts
@@ -9,7 +9,7 @@ import expect from '@kbn/expect';
import {
DETECTION_ENGINE_PREPACKAGED_URL,
DETECTION_ENGINE_RULES_URL,
-} from '../../../../legacy/plugins/siem/common/constants';
+} from '../../../../plugins/siem/common/constants';
import { FtrProviderContext } from '../../common/ftr_provider_context';
import { createSignalsIndex, deleteAllAlerts, deleteSignalsIndex, getSimpleRule } from './utils';
diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/import_rules.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/import_rules.ts
index ae4589e32ec113..4def508fabbc31 100644
--- a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/import_rules.ts
+++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/import_rules.ts
@@ -6,7 +6,7 @@
import expect from '@kbn/expect';
-import { DETECTION_ENGINE_RULES_URL } from '../../../../legacy/plugins/siem/common/constants';
+import { DETECTION_ENGINE_RULES_URL } from '../../../../plugins/siem/common/constants';
import { FtrProviderContext } from '../../common/ftr_provider_context';
import {
createSignalsIndex,
diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/open_close_signals.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/open_close_signals.ts
index e9e3e4299d108c..3c8c20646885ae 100644
--- a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/open_close_signals.ts
+++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/open_close_signals.ts
@@ -6,7 +6,7 @@
import expect from '@kbn/expect';
-import { DETECTION_ENGINE_SIGNALS_STATUS_URL } from '../../../../legacy/plugins/siem/common/constants';
+import { DETECTION_ENGINE_SIGNALS_STATUS_URL } from '../../../../plugins/siem/common/constants';
import { FtrProviderContext } from '../../common/ftr_provider_context';
import {
createSignalsIndex,
diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/patch_rules.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/patch_rules.ts
index 53a3d15690efcf..c3ecf79e58955c 100644
--- a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/patch_rules.ts
+++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/patch_rules.ts
@@ -6,7 +6,7 @@
import expect from '@kbn/expect';
-import { DETECTION_ENGINE_RULES_URL } from '../../../../legacy/plugins/siem/common/constants';
+import { DETECTION_ENGINE_RULES_URL } from '../../../../plugins/siem/common/constants';
import { FtrProviderContext } from '../../common/ftr_provider_context';
import {
createSignalsIndex,
diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/patch_rules_bulk.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/patch_rules_bulk.ts
index c13e8909dacf90..8515d1cf404ea0 100644
--- a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/patch_rules_bulk.ts
+++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/patch_rules_bulk.ts
@@ -6,7 +6,7 @@
import expect from '@kbn/expect';
-import { DETECTION_ENGINE_RULES_URL } from '../../../../legacy/plugins/siem/common/constants';
+import { DETECTION_ENGINE_RULES_URL } from '../../../../plugins/siem/common/constants';
import { FtrProviderContext } from '../../common/ftr_provider_context';
import {
createSignalsIndex,
diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/query_signals.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/query_signals.ts
index 6fa62412ed4676..7c8bd8981db10a 100644
--- a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/query_signals.ts
+++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/query_signals.ts
@@ -6,7 +6,7 @@
import expect from '@kbn/expect';
-import { DETECTION_ENGINE_QUERY_SIGNALS_URL } from '../../../../legacy/plugins/siem/common/constants';
+import { DETECTION_ENGINE_QUERY_SIGNALS_URL } from '../../../../plugins/siem/common/constants';
import { FtrProviderContext } from '../../common/ftr_provider_context';
import { getSignalStatus, createSignalsIndex, deleteSignalsIndex } from './utils';
diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/read_rules.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/read_rules.ts
index 2ea62b0756f73d..4d7449dae2dbd2 100644
--- a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/read_rules.ts
+++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/read_rules.ts
@@ -6,7 +6,7 @@
import expect from '@kbn/expect';
-import { DETECTION_ENGINE_RULES_URL } from '../../../../legacy/plugins/siem/common/constants';
+import { DETECTION_ENGINE_RULES_URL } from '../../../../plugins/siem/common/constants';
import { FtrProviderContext } from '../../common/ftr_provider_context';
import {
createSignalsIndex,
diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/update_rules.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/update_rules.ts
index 92c78be72bf019..4b81b7d4304b28 100644
--- a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/update_rules.ts
+++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/update_rules.ts
@@ -6,7 +6,7 @@
import expect from '@kbn/expect';
-import { DETECTION_ENGINE_RULES_URL } from '../../../../legacy/plugins/siem/common/constants';
+import { DETECTION_ENGINE_RULES_URL } from '../../../../plugins/siem/common/constants';
import { FtrProviderContext } from '../../common/ftr_provider_context';
import {
createSignalsIndex,
diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/update_rules_bulk.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/update_rules_bulk.ts
index 220a4af4c5c5e4..760e17ae1752e4 100644
--- a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/update_rules_bulk.ts
+++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/update_rules_bulk.ts
@@ -6,7 +6,7 @@
import expect from '@kbn/expect';
-import { DETECTION_ENGINE_RULES_URL } from '../../../../legacy/plugins/siem/common/constants';
+import { DETECTION_ENGINE_RULES_URL } from '../../../../plugins/siem/common/constants';
import { FtrProviderContext } from '../../common/ftr_provider_context';
import {
createSignalsIndex,
diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/utils.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/utils.ts
index 0a5b2def3eb18e..e508cf1aaa2e03 100644
--- a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/utils.ts
+++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/utils.ts
@@ -4,8 +4,8 @@
* you may not use this file except in compliance with the Elastic License.
*/
-import { OutputRuleAlertRest } from '../../../../legacy/plugins/siem/server/lib/detection_engine/types';
-import { DETECTION_ENGINE_INDEX_URL } from '../../../../legacy/plugins/siem/common/constants';
+import { OutputRuleAlertRest } from '../../../../plugins/siem/server/lib/detection_engine/types';
+import { DETECTION_ENGINE_INDEX_URL } from '../../../../plugins/siem/common/constants';
/**
* This will remove server generated properties such as date times, etc...
@@ -154,7 +154,7 @@ export const getSimpleRuleOutput = (ruleId = 'rule-1'): Partial {
- await esArchiver.load('ml/ecommerce');
- await ml.api.createCalendar('wizard-test-calendar');
+ await esArchiver.loadIfNeeded('ml/ecommerce');
+ await ml.testResources.createIndexPatternIfNeeded('ft_ecommerce', 'order_date');
+ await ml.testResources.setKibanaTimeZoneToUTC();
+
+ await ml.api.createCalendar(calendarId);
await ml.securityUI.loginAsMlPowerUser();
});
after(async () => {
- await esArchiver.unload('ml/ecommerce');
await ml.api.cleanMlIndices();
});
@@ -475,7 +479,7 @@ export default function({ getService }: FtrProviderContext) {
});
it('job creation assigns calendars', async () => {
- await ml.jobWizardCommon.addCalendar('wizard-test-calendar');
+ await ml.jobWizardCommon.addCalendar(calendarId);
});
it('job creation displays the model plot switch', async () => {
@@ -734,7 +738,7 @@ export default function({ getService }: FtrProviderContext) {
});
it('job cloning persists assigned calendars', async () => {
- await ml.jobWizardCommon.assertCalendarsSelection(['wizard-test-calendar']);
+ await ml.jobWizardCommon.assertCalendarsSelection([calendarId]);
});
it('job cloning pre-fills the model plot switch', async () => {
diff --git a/x-pack/test/functional/apps/machine_learning/anomaly_detection/anomaly_explorer.ts b/x-pack/test/functional/apps/machine_learning/anomaly_detection/anomaly_explorer.ts
index 83e9c01a463197..8827559a5f4709 100644
--- a/x-pack/test/functional/apps/machine_learning/anomaly_detection/anomaly_explorer.ts
+++ b/x-pack/test/functional/apps/machine_learning/anomaly_detection/anomaly_explorer.ts
@@ -29,7 +29,7 @@ const JOB_CONFIG: Job = {
const DATAFEED_CONFIG: Datafeed = {
datafeed_id: 'datafeed-fq_multi_1_se',
- indices: ['farequote'],
+ indices: ['ft_farequote'],
job_id: 'fq_multi_1_ae',
query: { bool: { must: [{ match_all: {} }] } },
};
@@ -59,12 +59,11 @@ export default function({ getService }: FtrProviderContext) {
describe('anomaly explorer', function() {
this.tags(['smoke', 'mlqa']);
before(async () => {
- await esArchiver.load('ml/farequote');
- await ml.securityUI.loginAsMlPowerUser();
- });
+ await esArchiver.loadIfNeeded('ml/farequote');
+ await ml.testResources.createIndexPatternIfNeeded('ft_farequote', '@timestamp');
+ await ml.testResources.setKibanaTimeZoneToUTC();
- after(async () => {
- await esArchiver.unload('ml/farequote');
+ await ml.securityUI.loginAsMlPowerUser();
});
for (const testData of testDataList) {
diff --git a/x-pack/test/functional/apps/machine_learning/anomaly_detection/categorization_job.ts b/x-pack/test/functional/apps/machine_learning/anomaly_detection/categorization_job.ts
index 6408c6de1f9280..9b5ae171d41159 100644
--- a/x-pack/test/functional/apps/machine_learning/anomaly_detection/categorization_job.ts
+++ b/x-pack/test/functional/apps/machine_learning/anomaly_detection/categorization_job.ts
@@ -16,7 +16,7 @@ export default function({ getService }: FtrProviderContext) {
const jobId = `categorization_${Date.now()}`;
const jobIdClone = `${jobId}_clone`;
const jobDescription =
- 'Create categorization job based on the categorization_functional_test dataset with a count rare';
+ 'Create categorization job based on the ft_categorization dataset with a count rare';
const jobGroups = ['automated', 'categorization'];
const jobGroupsClone = [...jobGroups, 'clone'];
const detectorTypeIdentifier = 'Rare';
@@ -74,16 +74,20 @@ export default function({ getService }: FtrProviderContext) {
};
}
+ const calendarId = `wizard-test-calendar_${Date.now()}`;
+
describe('categorization', function() {
this.tags(['smoke', 'mlqa']);
before(async () => {
- await esArchiver.load('ml/categorization');
- await ml.api.createCalendar('wizard-test-calendar');
+ await esArchiver.loadIfNeeded('ml/categorization');
+ await ml.testResources.createIndexPatternIfNeeded('ft_categorization', '@timestamp');
+ await ml.testResources.setKibanaTimeZoneToUTC();
+
+ await ml.api.createCalendar(calendarId);
await ml.securityUI.loginAsMlPowerUser();
});
after(async () => {
- await esArchiver.unload('ml/categorization');
await ml.api.cleanMlIndices();
});
@@ -97,9 +101,7 @@ export default function({ getService }: FtrProviderContext) {
});
it('job creation loads the job type selection page', async () => {
- await ml.jobSourceSelection.selectSourceForAnomalyDetectionJob(
- 'categorization_functional_test'
- );
+ await ml.jobSourceSelection.selectSourceForAnomalyDetectionJob('ft_categorization');
});
it('job creation loads the categorization job wizard page', async () => {
@@ -178,7 +180,7 @@ export default function({ getService }: FtrProviderContext) {
});
it('job creation assigns calendars', async () => {
- await ml.jobWizardCommon.addCalendar('wizard-test-calendar');
+ await ml.jobWizardCommon.addCalendar(calendarId);
});
it('job creation opens the advanced section', async () => {
@@ -310,7 +312,7 @@ export default function({ getService }: FtrProviderContext) {
});
it('job cloning persists assigned calendars', async () => {
- await ml.jobWizardCommon.assertCalendarsSelection(['wizard-test-calendar']);
+ await ml.jobWizardCommon.assertCalendarsSelection([calendarId]);
});
it('job cloning opens the advanced section', async () => {
diff --git a/x-pack/test/functional/apps/machine_learning/anomaly_detection/date_nanos_job.ts b/x-pack/test/functional/apps/machine_learning/anomaly_detection/date_nanos_job.ts
index 2a9824f46778da..570deee01c6843 100644
--- a/x-pack/test/functional/apps/machine_learning/anomaly_detection/date_nanos_job.ts
+++ b/x-pack/test/functional/apps/machine_learning/anomaly_detection/date_nanos_job.ts
@@ -104,7 +104,7 @@ export default function({ getService }: FtrProviderContext) {
const testDataList = [
{
suiteTitle: 'with count detector and model plot disabled',
- jobSource: 'event_rate_gen_trend_nanos',
+ jobSource: 'ft_event_rate_gen_trend_nanos',
jobId: `event_rate_nanos_count_1_${Date.now()}`,
jobDescription:
'Create advanced job based on the event rate dataset with a date_nanos time field, 30m bucketspan and count',
@@ -168,12 +168,18 @@ export default function({ getService }: FtrProviderContext) {
describe('job on data set with date_nanos time field', function() {
this.tags(['smoke', 'mlqa']);
before(async () => {
- await esArchiver.load('ml/event_rate_nanos');
+ await esArchiver.loadIfNeeded('ml/event_rate_nanos');
+ await ml.testResources.createIndexPatternIfNeeded(
+ 'ft_event_rate_gen_trend_nanos',
+ '@timestamp'
+ );
+ await ml.testResources.setKibanaTimeZoneToUTC();
+
+ await esArchiver.loadIfNeeded('ml/event_rate_nanos');
await ml.securityUI.loginAsMlPowerUser();
});
after(async () => {
- await esArchiver.unload('ml/event_rate_nanos');
await ml.api.cleanMlIndices();
});
diff --git a/x-pack/test/functional/apps/machine_learning/anomaly_detection/multi_metric_job.ts b/x-pack/test/functional/apps/machine_learning/anomaly_detection/multi_metric_job.ts
index 08175b79462597..4739f987541d6b 100644
--- a/x-pack/test/functional/apps/machine_learning/anomaly_detection/multi_metric_job.ts
+++ b/x-pack/test/functional/apps/machine_learning/anomaly_detection/multi_metric_job.ts
@@ -71,16 +71,20 @@ export default function({ getService }: FtrProviderContext) {
};
}
+ const calendarId = `wizard-test-calendar_${Date.now()}`;
+
describe('multi metric', function() {
this.tags(['smoke', 'mlqa']);
before(async () => {
- await esArchiver.load('ml/farequote');
- await ml.api.createCalendar('wizard-test-calendar');
+ await esArchiver.loadIfNeeded('ml/farequote');
+ await ml.testResources.createIndexPatternIfNeeded('ft_farequote', '@timestamp');
+ await ml.testResources.setKibanaTimeZoneToUTC();
+
+ await ml.api.createCalendar(calendarId);
await ml.securityUI.loginAsMlPowerUser();
});
after(async () => {
- await esArchiver.unload('ml/farequote');
await ml.api.cleanMlIndices();
});
@@ -94,7 +98,7 @@ export default function({ getService }: FtrProviderContext) {
});
it('job creation loads the job type selection page', async () => {
- await ml.jobSourceSelection.selectSourceForAnomalyDetectionJob('farequote');
+ await ml.jobSourceSelection.selectSourceForAnomalyDetectionJob('ft_farequote');
});
it('job creation loads the multi metric job wizard page', async () => {
@@ -181,7 +185,7 @@ export default function({ getService }: FtrProviderContext) {
});
it('job creation assigns calendars', async () => {
- await ml.jobWizardCommon.addCalendar('wizard-test-calendar');
+ await ml.jobWizardCommon.addCalendar(calendarId);
});
it('job creation opens the advanced section', async () => {
@@ -329,7 +333,7 @@ export default function({ getService }: FtrProviderContext) {
});
it('job cloning persists assigned calendars', async () => {
- await ml.jobWizardCommon.assertCalendarsSelection(['wizard-test-calendar']);
+ await ml.jobWizardCommon.assertCalendarsSelection([calendarId]);
});
it('job cloning opens the advanced section', async () => {
diff --git a/x-pack/test/functional/apps/machine_learning/anomaly_detection/population_job.ts b/x-pack/test/functional/apps/machine_learning/anomaly_detection/population_job.ts
index 512d13307ea052..0279c70bb73a92 100644
--- a/x-pack/test/functional/apps/machine_learning/anomaly_detection/population_job.ts
+++ b/x-pack/test/functional/apps/machine_learning/anomaly_detection/population_job.ts
@@ -85,16 +85,20 @@ export default function({ getService }: FtrProviderContext) {
};
}
+ const calendarId = `wizard-test-calendar_${Date.now()}`;
+
describe('population', function() {
this.tags(['smoke', 'mlqa']);
before(async () => {
- await esArchiver.load('ml/ecommerce');
- await ml.api.createCalendar('wizard-test-calendar');
+ await esArchiver.loadIfNeeded('ml/ecommerce');
+ await ml.testResources.createIndexPatternIfNeeded('ft_ecommerce', 'order_date');
+ await ml.testResources.setKibanaTimeZoneToUTC();
+
+ await ml.api.createCalendar(calendarId);
await ml.securityUI.loginAsMlPowerUser();
});
after(async () => {
- await esArchiver.unload('ml/farequote');
await ml.api.cleanMlIndices();
});
@@ -108,7 +112,7 @@ export default function({ getService }: FtrProviderContext) {
});
it('job creation loads the job type selection page', async () => {
- await ml.jobSourceSelection.selectSourceForAnomalyDetectionJob('ecommerce');
+ await ml.jobSourceSelection.selectSourceForAnomalyDetectionJob('ft_ecommerce');
});
it('job creation loads the population job wizard page', async () => {
@@ -208,7 +212,7 @@ export default function({ getService }: FtrProviderContext) {
});
it('job creation assigns calendars', async () => {
- await ml.jobWizardCommon.addCalendar('wizard-test-calendar');
+ await ml.jobWizardCommon.addCalendar(calendarId);
});
it('job creation opens the advanced section', async () => {
@@ -367,7 +371,7 @@ export default function({ getService }: FtrProviderContext) {
});
it('job cloning persists assigned calendars', async () => {
- await ml.jobWizardCommon.assertCalendarsSelection(['wizard-test-calendar']);
+ await ml.jobWizardCommon.assertCalendarsSelection([calendarId]);
});
it('job cloning opens the advanced section', async () => {
diff --git a/x-pack/test/functional/apps/machine_learning/anomaly_detection/saved_search_job.ts b/x-pack/test/functional/apps/machine_learning/anomaly_detection/saved_search_job.ts
index a13cf3d61128e7..a5652d76358eb4 100644
--- a/x-pack/test/functional/apps/machine_learning/anomaly_detection/saved_search_job.ts
+++ b/x-pack/test/functional/apps/machine_learning/anomaly_detection/saved_search_job.ts
@@ -15,7 +15,7 @@ export default function({ getService }: FtrProviderContext) {
const testDataList = [
{
suiteTitle: 'with filter',
- jobSource: 'farequote_filter',
+ jobSource: 'ft_farequote_filter',
jobId: `fq_saved_search_1_${Date.now()}`,
jobDescription: 'Create multi metric job based on a saved search with filter',
jobGroups: ['automated', 'farequote', 'multi-metric', 'saved-search'],
@@ -66,7 +66,7 @@ export default function({ getService }: FtrProviderContext) {
},
{
suiteTitle: 'with lucene query',
- jobSource: 'farequote_lucene',
+ jobSource: 'ft_farequote_lucene',
jobId: `fq_saved_search_2_${Date.now()}`,
jobDescription: 'Create multi metric job based on a saved search with lucene query',
jobGroups: ['automated', 'farequote', 'multi-metric', 'saved-search'],
@@ -117,7 +117,7 @@ export default function({ getService }: FtrProviderContext) {
},
{
suiteTitle: 'with kuery query',
- jobSource: 'farequote_kuery',
+ jobSource: 'ft_farequote_kuery',
jobId: `fq_saved_search_3_${Date.now()}`,
jobDescription: 'Create multi metric job based on a saved search with kuery query',
jobGroups: ['automated', 'farequote', 'multi-metric', 'saved-search'],
@@ -168,7 +168,7 @@ export default function({ getService }: FtrProviderContext) {
},
{
suiteTitle: 'with filter and lucene query',
- jobSource: 'farequote_filter_and_lucene',
+ jobSource: 'ft_farequote_filter_and_lucene',
jobId: `fq_saved_search_4_${Date.now()}`,
jobDescription:
'Create multi metric job based on a saved search with filter and lucene query',
@@ -220,7 +220,7 @@ export default function({ getService }: FtrProviderContext) {
},
{
suiteTitle: 'with filter and kuery query',
- jobSource: 'farequote_filter_and_kuery',
+ jobSource: 'ft_farequote_filter_and_kuery',
jobId: `fq_saved_search_5_${Date.now()}`,
jobDescription: 'Create multi metric job based on a saved search with filter and kuery query',
jobGroups: ['automated', 'farequote', 'multi-metric', 'saved-search'],
@@ -274,12 +274,19 @@ export default function({ getService }: FtrProviderContext) {
describe('saved search', function() {
this.tags(['smoke', 'mlqa']);
before(async () => {
- await esArchiver.load('ml/farequote');
+ await esArchiver.loadIfNeeded('ml/farequote');
+ await ml.testResources.createIndexPatternIfNeeded('ft_farequote', '@timestamp');
+ await ml.testResources.createSavedSearchFarequoteFilterIfNeeded();
+ await ml.testResources.createSavedSearchFarequoteLuceneIfNeeded();
+ await ml.testResources.createSavedSearchFarequoteKueryIfNeeded();
+ await ml.testResources.createSavedSearchFarequoteFilterAndLuceneIfNeeded();
+ await ml.testResources.createSavedSearchFarequoteFilterAndKueryIfNeeded();
+ await ml.testResources.setKibanaTimeZoneToUTC();
+
await ml.securityUI.loginAsMlPowerUser();
});
after(async () => {
- await esArchiver.unload('ml/farequote');
await ml.api.cleanMlIndices();
});
diff --git a/x-pack/test/functional/apps/machine_learning/anomaly_detection/single_metric_job.ts b/x-pack/test/functional/apps/machine_learning/anomaly_detection/single_metric_job.ts
index 4e6d480c12d82a..43053decb39247 100644
--- a/x-pack/test/functional/apps/machine_learning/anomaly_detection/single_metric_job.ts
+++ b/x-pack/test/functional/apps/machine_learning/anomaly_detection/single_metric_job.ts
@@ -70,16 +70,20 @@ export default function({ getService }: FtrProviderContext) {
};
}
+ const calendarId = `wizard-test-calendar_${Date.now()}`;
+
describe('single metric', function() {
this.tags(['smoke', 'mlqa']);
before(async () => {
- await esArchiver.load('ml/farequote');
- await ml.api.createCalendar('wizard-test-calendar');
+ await esArchiver.loadIfNeeded('ml/farequote');
+ await ml.testResources.createIndexPatternIfNeeded('ft_farequote', '@timestamp');
+ await ml.testResources.setKibanaTimeZoneToUTC();
+
+ await ml.api.createCalendar(calendarId);
await ml.securityUI.loginAsMlPowerUser();
});
after(async () => {
- await esArchiver.unload('ml/farequote');
await ml.api.cleanMlIndices();
});
@@ -93,7 +97,7 @@ export default function({ getService }: FtrProviderContext) {
});
it('job creation loads the job type selection page', async () => {
- await ml.jobSourceSelection.selectSourceForAnomalyDetectionJob('farequote');
+ await ml.jobSourceSelection.selectSourceForAnomalyDetectionJob('ft_farequote');
});
it('job creation loads the single metric job wizard page', async () => {
@@ -162,7 +166,7 @@ export default function({ getService }: FtrProviderContext) {
});
it('job creation assigns calendars', async () => {
- await ml.jobWizardCommon.addCalendar('wizard-test-calendar');
+ await ml.jobWizardCommon.addCalendar(calendarId);
});
it('job creation opens the advanced section', async () => {
@@ -294,7 +298,7 @@ export default function({ getService }: FtrProviderContext) {
});
it('job cloning persists assigned calendars', async () => {
- await ml.jobWizardCommon.assertCalendarsSelection(['wizard-test-calendar']);
+ await ml.jobWizardCommon.assertCalendarsSelection([calendarId]);
});
it('job cloning opens the advanced section', async () => {
diff --git a/x-pack/test/functional/apps/machine_learning/anomaly_detection/single_metric_viewer.ts b/x-pack/test/functional/apps/machine_learning/anomaly_detection/single_metric_viewer.ts
index 62b801daa3479b..cc7c9828ce87d7 100644
--- a/x-pack/test/functional/apps/machine_learning/anomaly_detection/single_metric_viewer.ts
+++ b/x-pack/test/functional/apps/machine_learning/anomaly_detection/single_metric_viewer.ts
@@ -29,7 +29,7 @@ const JOB_CONFIG: Job = {
const DATAFEED_CONFIG: Datafeed = {
datafeed_id: 'datafeed-fq_single_1_smv',
- indices: ['farequote'],
+ indices: ['ft_farequote'],
job_id: 'fq_single_1_smv',
query: { bool: { must: [{ match_all: {} }] } },
};
@@ -42,13 +42,15 @@ export default function({ getService }: FtrProviderContext) {
describe('single metric viewer', function() {
this.tags(['smoke', 'mlqa']);
before(async () => {
- await esArchiver.load('ml/farequote');
+ await esArchiver.loadIfNeeded('ml/farequote');
+ await ml.testResources.createIndexPatternIfNeeded('ft_farequote', '@timestamp');
+ await ml.testResources.setKibanaTimeZoneToUTC();
+
await ml.api.createAndRunAnomalyDetectionLookbackJob(JOB_CONFIG, DATAFEED_CONFIG);
await ml.securityUI.loginAsMlPowerUser();
});
after(async () => {
- await esArchiver.unload('ml/farequote');
await ml.api.cleanMlIndices();
});
diff --git a/x-pack/test/functional/apps/machine_learning/data_frame_analytics/classification_creation.ts b/x-pack/test/functional/apps/machine_learning/data_frame_analytics/classification_creation.ts
index a7c92cac2072f8..8a6741bd88daac 100644
--- a/x-pack/test/functional/apps/machine_learning/data_frame_analytics/classification_creation.ts
+++ b/x-pack/test/functional/apps/machine_learning/data_frame_analytics/classification_creation.ts
@@ -14,13 +14,15 @@ export default function({ getService }: FtrProviderContext) {
describe('classification creation', function() {
this.tags(['smoke']);
before(async () => {
- await esArchiver.load('ml/bm_classification');
+ await esArchiver.loadIfNeeded('ml/bm_classification');
+ await ml.testResources.createIndexPatternIfNeeded('ft_bank_marketing', '@timestamp');
+ await ml.testResources.setKibanaTimeZoneToUTC();
+
await ml.securityUI.loginAsMlPowerUser();
});
after(async () => {
await ml.api.cleanMlIndices();
- await esArchiver.unload('ml/bm_classification');
});
const testDataList = [
@@ -29,8 +31,8 @@ export default function({ getService }: FtrProviderContext) {
jobType: 'classification',
jobId: `bm_1_${Date.now()}`,
jobDescription:
- "Classification job based on 'bank-marketing' dataset with dependentVariable 'y' and trainingPercent '20'",
- source: 'bank-marketing*',
+ "Classification job based on 'ft_bank_marketing' dataset with dependentVariable 'y' and trainingPercent '20'",
+ source: 'ft_bank_marketing',
get destinationIndex(): string {
return `user-${this.jobId}`;
},
@@ -51,6 +53,7 @@ export default function({ getService }: FtrProviderContext) {
describe(`${testData.suiteTitle}`, function() {
after(async () => {
await ml.api.deleteIndices(testData.destinationIndex);
+ await ml.testResources.deleteIndexPattern(testData.destinationIndex);
});
it('loads the data frame analytics page', async () => {
diff --git a/x-pack/test/functional/apps/machine_learning/data_frame_analytics/cloning.ts b/x-pack/test/functional/apps/machine_learning/data_frame_analytics/cloning.ts
index caf382b532273c..d98d8feaaf4fed 100644
--- a/x-pack/test/functional/apps/machine_learning/data_frame_analytics/cloning.ts
+++ b/x-pack/test/functional/apps/machine_learning/data_frame_analytics/cloning.ts
@@ -19,6 +19,7 @@ export default function({ getService }: FtrProviderContext) {
const testDataList: Array<{
suiteTitle: string;
archive: string;
+ indexPattern: { name: string; timeField: string };
job: DeepPartial