mirror of
https://github.com/grafana/grafana.git
synced 2025-09-23 01:13:16 +08:00

* #41993: live perf tests e2e part * #41993: added bash upgrade instructions * #41993: remove custom feature toggle * #41993: fix typo in 'integrationFolder'
15 lines
399 B
TypeScript
15 lines
399 B
TypeScript
export type CollectedData = Record<string, unknown>;
|
|
|
|
export enum DataCollectorName {
|
|
CDP = 'CDP',
|
|
}
|
|
|
|
type DataCollectorRequest = { id: string };
|
|
|
|
export type DataCollector<T extends CollectedData = CollectedData> = {
|
|
start: (input: DataCollectorRequest) => Promise<void>;
|
|
stop: (input: DataCollectorRequest) => Promise<T>;
|
|
getName: () => DataCollectorName;
|
|
close: () => Promise<void>;
|
|
};
|