Skip to content

Commit

Permalink
add namespaces: ['*']
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwizp committed Aug 27, 2021
1 parent fcca776 commit 1e6bc8d
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,8 @@
*/

import { parse } from 'hjson';
import { ElasticsearchClient, SavedObject } from 'src/core/server';

import type {
SavedObject,
SavedObjectsClientContract,
SavedObjectsFindResult,
} from '../../../../core/server';
import type { SavedObjectsClientContract, SavedObjectsFindResult } from '../../../../core/server';
import type { SavedVisState } from '../../../visualizations/common';
import type { VegaSavedObjectAttributes, VisTypeVegaPluginSetupDependencies } from '../types';

Expand Down Expand Up @@ -75,6 +70,7 @@ export const getStats = async (
const finder = await soClient.createPointInTimeFinder({
type: 'visualization',
perPage: 1000,
namespaces: ['*'],
});

const doTelemetry = ({ params }: SavedVisState) => {
Expand Down

0 comments on commit 1e6bc8d

Please sign in to comment.