-
Notifications
You must be signed in to change notification settings - Fork 69
/
DataStorePlugin.tsx
29 lines (27 loc) 路 1.34 KB
/
DataStorePlugin.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import {IDataStorePluginMap, SupportedDataStores} from 'types/DataStore.types';
import Agent from './forms/Agent';
import GrpcClient from './forms/GrpcClient';
import ElasticSearch from './forms/ElasticSearch';
import OpenTelemetryCollector from './forms/OpenTelemetryCollector';
import SignalFx from './forms/SignalFx/SignalFx';
import BaseClient from './forms/BaseClient';
import AwsXRay from './forms/AwsXRay';
import AzureAppInsights from './forms/AzureAppInsights/AzureAppInsights';
export const DataStoreComponentMap: IDataStorePluginMap = {
[SupportedDataStores.Agent]: Agent,
[SupportedDataStores.JAEGER]: GrpcClient,
[SupportedDataStores.TEMPO]: BaseClient,
[SupportedDataStores.SignalFX]: SignalFx,
[SupportedDataStores.OpenSearch]: ElasticSearch,
[SupportedDataStores.ElasticApm]: ElasticSearch,
[SupportedDataStores.OtelCollector]: OpenTelemetryCollector,
[SupportedDataStores.Lightstep]: OpenTelemetryCollector,
[SupportedDataStores.Datadog]: OpenTelemetryCollector,
[SupportedDataStores.NewRelic]: OpenTelemetryCollector,
[SupportedDataStores.Honeycomb]: OpenTelemetryCollector,
[SupportedDataStores.AWSXRay]: AwsXRay,
[SupportedDataStores.AzureAppInsights]: AzureAppInsights,
[SupportedDataStores.Signoz]: OpenTelemetryCollector,
[SupportedDataStores.Dynatrace]: OpenTelemetryCollector,
};
export default DataStoreComponentMap;