@odigos/ui-kit 0.0.17 → 0.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/lib/components.js +13 -44
- package/lib/constants.js +5 -9
- package/lib/containers.js +12 -49
- package/lib/functions.js +9 -15
- package/lib/hooks.js +10 -10
- package/lib/icons.js +3 -4
- package/lib/{index-Hz7AAE0t.js → index-7-KCQK-x.js} +1 -1
- package/lib/{index-BiNX-Cge.js → index-Bb7VdYPG.js} +78 -47
- package/lib/index-Bdimyacn.js +687 -0
- package/lib/{index-C3nz3TIx.js → index-BlJU2fGe.js} +5 -3
- package/lib/{index-BQW5EUgp.js → index-CT0qszYw.js} +6 -4
- package/lib/{index-BxQTUOME.js → index-CVs2NNg9.js} +5 -3
- package/lib/{index-CIXQeSHu.js → index-DGel4E-Z.js} +8 -1
- package/lib/{index-G4WmxXds.js → index-jPxFCX-5.js} +21 -4
- package/lib/store.js +3 -6
- package/lib/theme.js +3 -86
- package/lib/types.js +215 -6
- package/lib/useSourceSelectionFormData-LmLZzJyk.js +563 -0
- package/lib/{useTimeAgo-weEj7br6.js → useTransition-WRhgkuG2.js} +113 -544
- package/package.json +1 -2
- package/lib/index-B72aw6tI.js +0 -23
- package/lib/index-BQs4sULy.js +0 -32
- package/lib/index-BVVVevuY.js +0 -100
- package/lib/index-BWqrekK4.js +0 -11
- package/lib/index-C1PCuZgw.js +0 -18
- package/lib/index-CIgHU72d.js +0 -52
- package/lib/index-DbfrGXPH.js +0 -8
- package/lib/index-RBS1MqCQ.js +0 -37
- package/lib/react-CjImwkhV.js +0 -44
- package/lib/useDarkMode-DxhIuVNi.js +0 -201
- package/lib/useSelectedStore-93bIo1kE.js +0 -97
- package/lib/useSetupStore-CoYx1UQw.js +0 -211
- package/lib/useTransition-D0wUpPGk.js +0 -128
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as getProgrammingLanguageIcon } from './index-
|
|
3
|
-
import
|
|
1
|
+
import { StatusType, OtherStatus, DestinationTypes, EntityTypes, PlatformType } from './types.js';
|
|
2
|
+
import { a as getProgrammingLanguageIcon } from './index-CVs2NNg9.js';
|
|
3
|
+
import 'react';
|
|
4
|
+
import './index-Bdimyacn.js';
|
|
5
|
+
import 'styled-components';
|
|
4
6
|
import { c as AwsXrayLogo, U as UptraceLogo, x as TraceloopLogo, T as TempoLogo, w as SumoLogicLogo, v as SplunkLogo, S as SignozLogo, b as AwsS3Logo, u as QuickwitLogo, G as GigapipeLogo, Q as QrynLogo, P as PrometheusLogo, O as OpenTelemetryLogo, t as OpsVerseLogo, N as NewRelicLogo, M as MiddlewareLogo, s as LumigoLogo, r as LokiLogo, q as LogzioLogo, p as LightstepLogo, L as Last9Logo, K as KloudmateLogo, J as JaegerLogo, I as InstanaLogo, o as HyperDxLogo, H as HoneycombLogo, n as GroundcoverLogo, m as GrafanaLogo, l as GoogleCloudPlatformLogo, k as ElasticSearchLogo, E as ElasticApmLogo, j as DynatraceLogo, i as DatadogLogo, D as Dash0Logo, h as CoralogixLogo, a as AwsCloudwatchLogo, g as ClickhouseLogo, f as ChronosphereLogo, C as CauselyLogo, B as BetterStackLogo, e as BlobStorageLogo, d as AxiomLogo, A as AppDynamicsLogo, R as RulesIcon, y as ActionsIcon, z as DestinationsIcon, W as SourcesIcon, F as NamespacesIcon, V as VmLogo } from './index-DB8Djrsy.js';
|
|
5
7
|
import { K as KafkaLogo, O as OdigosLogo } from './index-BsH_egEe.js';
|
|
6
|
-
import { K as K8sLogo } from './index-
|
|
8
|
+
import { K as K8sLogo } from './index-DGel4E-Z.js';
|
|
7
9
|
|
|
8
10
|
const compareCondition = (renderCondition, fields) => {
|
|
9
11
|
if (!renderCondition || !renderCondition.length)
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ProgrammingLanguages, SignalType, StatusType } from './types.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
import './index-Bdimyacn.js';
|
|
4
|
+
import 'styled-components';
|
|
5
|
+
import { I as ImageErrorIcon } from './index-DGel4E-Z.js';
|
|
2
6
|
import { K as KafkaLogo, R as RedisLogo, P as PostgresLogo, N as NginxLogo, M as MysqlLogo, E as ElixirLogo, S as SwiftLogo, a as RustLogo, b as RubyLogo, c as PhpLogo, C as CPlusPlusLogo, d as CSharpLogo, D as DotnetLogo, e as PythonLogo, f as NodejsLogo, G as GoLogo, J as JavaLogo, T as TracesIcon, g as MetricsIcon, L as LogsIcon, O as OdigosLogo, I as InfoIcon, W as WarningTriangleIcon, h as ErrorTriangleIcon, i as CheckCircledIcon } from './index-BsH_egEe.js';
|
|
3
|
-
import { I as ImageErrorIcon } from './index-BWqrekK4.js';
|
|
4
|
-
import { S as SignalType } from './index-DbfrGXPH.js';
|
|
5
7
|
|
|
6
8
|
const capitalizeFirstLetter = (string) => {
|
|
7
9
|
return string.charAt(0).toUpperCase() + string.slice(1);
|
|
@@ -36,6 +36,13 @@ const SamplerIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
|
|
|
36
36
|
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M5.67367 5.67497H5.687M10.515 3.91532L12.1293 5.52965C13.0067 6.40707 13.4454 6.84578 13.6851 7.31618C14.1695 8.2669 14.1695 9.39207 13.6851 10.3428C13.4454 10.8132 13.0067 11.2519 12.1293 12.1293C11.2519 13.0067 10.8132 13.4454 10.3428 13.6851C9.39207 14.1695 8.2669 14.1695 7.31618 13.6851C6.84578 13.4454 6.40707 13.0067 5.52965 12.1293L3.91532 10.515C3.17317 9.77284 2.8021 9.40176 2.54483 8.96668C2.31682 8.58108 2.15521 8.15991 2.06673 7.72076C1.9669 7.22527 1.99448 6.70122 2.04965 5.65312L2.07845 5.10584C2.13195 4.0893 2.1587 3.58104 2.36993 3.18719C2.55598 2.84028 2.84028 2.55598 3.18719 2.36993C3.58104 2.1587 4.0893 2.13195 5.10584 2.07845L5.65312 2.04965C6.70122 1.99448 7.22527 1.9669 7.72076 2.06673C8.15991 2.15521 8.58108 2.31682 8.96668 2.54483C9.40176 2.8021 9.77284 3.17317 10.515 3.91532ZM6.32633 5.65853C6.32633 6.02672 6.02786 6.3252 5.65967 6.3252C5.29148 6.3252 4.993 6.02672 4.993 5.65853C4.993 5.29034 5.29148 4.99186 5.65967 4.99186C6.02786 4.99186 6.32633 5.29034 6.32633 5.65853Z' })));
|
|
37
37
|
};
|
|
38
38
|
|
|
39
|
+
const ImageErrorIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
|
|
40
|
+
const theme = Theme.useTheme();
|
|
41
|
+
const fill = f || theme.text.secondary;
|
|
42
|
+
return (React.createElement("svg", { width: size, height: size, viewBox: '0 0 24 24', xmlns: 'http://www.w3.org/2000/svg', fill: 'none', style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
|
|
43
|
+
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M17.2 21.0002L19.6 18.6002M19.6 18.6002L22 16.2002M19.6 18.6002L17.2 16.2002M19.6 18.6002L22 21.0002M22 12.1944V11C22 10.6449 22 10.3123 21.9989 10M13.1992 21H10C9.24401 21 8.59006 21 8.01712 20.9893M21.9989 10H21C19.607 10 18.9104 10 18.324 10.0603C12.9031 10.6176 8.61758 14.9031 8.06029 20.324C8.03963 20.5249 8.02605 20.7388 8.01712 20.9893M21.9989 10C21.9912 7.84993 21.9309 6.66397 21.455 5.73005C20.9757 4.78924 20.2108 4.02433 19.27 3.54497C18.2004 3 16.8003 3 14 3H10C7.19974 3 5.79961 3 4.73005 3.54497C3.78924 4.02433 3.02433 4.78924 2.54497 5.73005C2 6.79961 2 8.19974 2 11V13C2 15.8003 2 17.2004 2.54497 18.27C3.02433 19.2108 3.78924 19.9757 4.73005 20.455C5.51086 20.8529 6.46784 20.9603 8.01712 20.9893M7.5 9.5C6.94772 9.5 6.5 9.05228 6.5 8.5C6.5 7.94772 6.94772 7.5 7.5 7.5C8.05228 7.5 8.5 7.94772 8.5 8.5C8.5 9.05228 8.05228 9.5 7.5 9.5Z' })));
|
|
44
|
+
};
|
|
45
|
+
|
|
39
46
|
const K8sLogo = ({ size = 16, fill: f, rotate = 0, onClick }) => {
|
|
40
47
|
const theme = Theme.useTheme();
|
|
41
48
|
const fill = f || theme.text.secondary;
|
|
@@ -57,4 +64,4 @@ const PayloadCollectionIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
|
|
|
57
64
|
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M7.99967 7.33333V11.3333M7.99967 11.3333C7.92987 11.3333 7.86007 11.31 7.80254 11.2634C7.37701 10.9186 6.99534 10.5224 6.66634 10.0837M7.99967 11.3333C8.06947 11.3333 8.13927 11.31 8.19681 11.2634C8.62234 10.9186 9.00401 10.5224 9.33301 10.0837M1.33301 6.26667C1.33301 4.77319 1.33301 4.02645 1.62365 3.45603C1.87932 2.95426 2.28727 2.54631 2.78903 2.29065C3.35946 2 4.1062 2 5.59967 2H5.81005C6.12312 2 6.27965 2 6.42174 2.04315C6.54753 2.08135 6.66455 2.14398 6.76614 2.22745C6.88081 2.32175 6.96767 2.45199 7.14134 2.71248L7.52467 3.28752C7.69834 3.54801 7.78521 3.67825 7.89987 3.77255C8.00147 3.85602 8.11847 3.91865 8.24427 3.95685C8.38634 4 8.54287 4 8.85594 4H10.3997C11.8931 4 12.6399 4 13.2103 4.29065C13.7121 4.54631 14.12 4.95426 14.3757 5.45603C14.6663 6.02645 14.6663 6.7732 14.6663 8.26667V9.73333C14.6663 11.2268 14.6663 11.9735 14.3757 12.544C14.12 13.0457 13.7121 13.4537 13.2103 13.7093C12.6399 14 11.8931 14 10.3997 14H5.59967C4.1062 14 3.35946 14 2.78903 13.7093C2.28727 13.4537 1.87932 13.0457 1.62365 12.544C1.33301 11.9735 1.33301 11.2268 1.33301 9.73333V6.26667Z' })));
|
|
58
65
|
};
|
|
59
66
|
|
|
60
|
-
export { AddClusterInfoIcon as A, CodeAttributesIcon as C, DeleteAttributeIcon as D, K8sLogo as K, PiiMaskingIcon as P, RenameAttributeIcon as R, SamplerIcon as S, PayloadCollectionIcon as a };
|
|
67
|
+
export { AddClusterInfoIcon as A, CodeAttributesIcon as C, DeleteAttributeIcon as D, ImageErrorIcon as I, K8sLogo as K, PiiMaskingIcon as P, RenameAttributeIcon as R, SamplerIcon as S, PayloadCollectionIcon as a };
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
1
|
+
import { SignalType, ActionType, InstrumentationRuleType } from './types.js';
|
|
2
|
+
import { g as getActionIcon, a as getInstrumentationRuleIcon } from './index-BlJU2fGe.js';
|
|
3
|
+
import 'react';
|
|
4
|
+
import './index-Bdimyacn.js';
|
|
5
|
+
import 'styled-components';
|
|
4
6
|
|
|
5
7
|
const ACTION_OPTIONS = [
|
|
6
8
|
{
|
|
@@ -108,4 +110,19 @@ const INSTRUMENTATION_RULE_OPTIONS = [
|
|
|
108
110
|
},
|
|
109
111
|
];
|
|
110
112
|
|
|
111
|
-
|
|
113
|
+
const MONITORS_OPTIONS = [
|
|
114
|
+
{
|
|
115
|
+
id: SignalType.Logs,
|
|
116
|
+
value: 'Logs',
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
id: SignalType.Metrics,
|
|
120
|
+
value: 'Metrics',
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
id: SignalType.Traces,
|
|
124
|
+
value: 'Traces',
|
|
125
|
+
},
|
|
126
|
+
];
|
|
127
|
+
|
|
128
|
+
export { ACTION_OPTIONS as A, INSTRUMENTATION_RULE_OPTIONS as I, MONITORS_OPTIONS as M };
|
package/lib/store.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
export { u as useDarkMode } from './
|
|
2
|
-
|
|
3
|
-
export { u as useFilterStore, a as useInstrumentStore, b as usePendingStore, c as useSelectedStore } from './useSelectedStore-93bIo1kE.js';
|
|
4
|
-
import './react-CjImwkhV.js';
|
|
1
|
+
export { u as useDarkMode, a as useDrawerStore, b as useEntityStore, c as useFilterStore, d as useInstrumentStore, e as useModalStore, f as useNotificationStore, g as usePendingStore, h as useSelectedStore, i as useSetupStore } from './index-Bdimyacn.js';
|
|
2
|
+
import './types.js';
|
|
5
3
|
import 'react';
|
|
6
|
-
import '
|
|
7
|
-
import './index-BVVVevuY.js';
|
|
4
|
+
import 'styled-components';
|
package/lib/theme.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import './
|
|
2
|
+
import { u as useDarkMode, l as animations } from './index-Bdimyacn.js';
|
|
3
|
+
import { ThemeProvider, useTheme } from 'styled-components';
|
|
4
|
+
import './types.js';
|
|
5
5
|
|
|
6
6
|
const baseTheme = {
|
|
7
7
|
colors: {
|
|
@@ -229,89 +229,6 @@ var opacity = /*#__PURE__*/Object.freeze({
|
|
|
229
229
|
hex: hex
|
|
230
230
|
});
|
|
231
231
|
|
|
232
|
-
const slide = {
|
|
233
|
-
in: {
|
|
234
|
-
left: keyframes `
|
|
235
|
-
from { transform: translateX(-100%); }
|
|
236
|
-
to { transform: translateX(0); }
|
|
237
|
-
`,
|
|
238
|
-
right: keyframes `
|
|
239
|
-
from { transform: translateX(100%); }
|
|
240
|
-
to { transform: translateX(0); }
|
|
241
|
-
`,
|
|
242
|
-
top: keyframes `
|
|
243
|
-
from { transform: translateY(-100%); }
|
|
244
|
-
to { transform: translateY(0); }
|
|
245
|
-
`,
|
|
246
|
-
bottom: keyframes `
|
|
247
|
-
from { transform: translateY(100%); }
|
|
248
|
-
to { transform: translateY(0); }
|
|
249
|
-
`,
|
|
250
|
-
center: keyframes `
|
|
251
|
-
from { transform: translate(-50%, 100%); }
|
|
252
|
-
to { transform: translate(-50%, -50%); }
|
|
253
|
-
`,
|
|
254
|
-
},
|
|
255
|
-
out: {
|
|
256
|
-
left: keyframes `
|
|
257
|
-
from { transform: translateX(0); }
|
|
258
|
-
to { transform: translateX(-100%); }
|
|
259
|
-
`,
|
|
260
|
-
right: keyframes `
|
|
261
|
-
from { transform: translateX(0); }
|
|
262
|
-
to { transform: translateX(100%); }
|
|
263
|
-
`,
|
|
264
|
-
top: keyframes `
|
|
265
|
-
from { transform: translateY(0); }
|
|
266
|
-
to { transform: translateY(-100%); }
|
|
267
|
-
`,
|
|
268
|
-
bottom: keyframes `
|
|
269
|
-
from { transform: translateY(0); }
|
|
270
|
-
to { transform: translateY(100%); }
|
|
271
|
-
`,
|
|
272
|
-
center: keyframes `
|
|
273
|
-
from { transform: translate(-50%, -50%); }
|
|
274
|
-
to { transform: translate(-50%, 100%); }
|
|
275
|
-
`,
|
|
276
|
-
},
|
|
277
|
-
};
|
|
278
|
-
const progress = {
|
|
279
|
-
in: keyframes `
|
|
280
|
-
from { width: 0%; }
|
|
281
|
-
to { width: 100%; }
|
|
282
|
-
`,
|
|
283
|
-
out: keyframes `
|
|
284
|
-
from { width: 100%; }
|
|
285
|
-
to { width: 0%; }
|
|
286
|
-
`,
|
|
287
|
-
};
|
|
288
|
-
const ping = keyframes `
|
|
289
|
-
0% {
|
|
290
|
-
transform: scale(1);
|
|
291
|
-
opacity: 1;
|
|
292
|
-
}
|
|
293
|
-
75%, 100% {
|
|
294
|
-
transform: scale(2);
|
|
295
|
-
opacity: 0;
|
|
296
|
-
}
|
|
297
|
-
`;
|
|
298
|
-
const shimmer = keyframes `
|
|
299
|
-
0% {
|
|
300
|
-
background-position: -500px 0;
|
|
301
|
-
}
|
|
302
|
-
100% {
|
|
303
|
-
background-position: 500px 0;
|
|
304
|
-
}
|
|
305
|
-
`;
|
|
306
|
-
|
|
307
|
-
var animations = /*#__PURE__*/Object.freeze({
|
|
308
|
-
__proto__: null,
|
|
309
|
-
ping: ping,
|
|
310
|
-
progress: progress,
|
|
311
|
-
shimmer: shimmer,
|
|
312
|
-
slide: slide
|
|
313
|
-
});
|
|
314
|
-
|
|
315
232
|
const Theme = {
|
|
316
233
|
Provider,
|
|
317
234
|
useTheme: useTheme,
|
package/lib/types.js
CHANGED
|
@@ -1,8 +1,217 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
var ActionType;
|
|
2
|
+
(function (ActionType) {
|
|
3
|
+
ActionType["K8sAttributes"] = "K8sAttributesResolver";
|
|
4
|
+
ActionType["AddClusterInfo"] = "AddClusterInfo";
|
|
5
|
+
ActionType["DeleteAttributes"] = "DeleteAttribute";
|
|
6
|
+
ActionType["RenameAttributes"] = "RenameAttribute";
|
|
7
|
+
ActionType["ErrorSampler"] = "ErrorSampler";
|
|
8
|
+
ActionType["ProbabilisticSampler"] = "ProbabilisticSampler";
|
|
9
|
+
ActionType["LatencySampler"] = "LatencySampler";
|
|
10
|
+
ActionType["PiiMasking"] = "PiiMasking";
|
|
11
|
+
})(ActionType || (ActionType = {}));
|
|
12
|
+
|
|
13
|
+
var Tier;
|
|
14
|
+
(function (Tier) {
|
|
15
|
+
Tier["Community"] = "community";
|
|
16
|
+
Tier["Cloud"] = "cloud";
|
|
17
|
+
Tier["Onprem"] = "onprem";
|
|
18
|
+
})(Tier || (Tier = {}));
|
|
19
|
+
var PlatformType;
|
|
20
|
+
(function (PlatformType) {
|
|
21
|
+
PlatformType["K8s"] = "k8s";
|
|
22
|
+
PlatformType["Vm"] = "vm";
|
|
23
|
+
})(PlatformType || (PlatformType = {}));
|
|
24
|
+
var ProgrammingLanguages;
|
|
25
|
+
(function (ProgrammingLanguages) {
|
|
26
|
+
ProgrammingLanguages["Go"] = "go";
|
|
27
|
+
ProgrammingLanguages["JavaScript"] = "javascript";
|
|
28
|
+
ProgrammingLanguages["Python"] = "python";
|
|
29
|
+
ProgrammingLanguages["Java"] = "java";
|
|
30
|
+
ProgrammingLanguages["DotNet"] = "dotnet";
|
|
31
|
+
ProgrammingLanguages["CSharp"] = "csharp";
|
|
32
|
+
ProgrammingLanguages["CPlusPlus"] = "cplusplus";
|
|
33
|
+
ProgrammingLanguages["Php"] = "php";
|
|
34
|
+
ProgrammingLanguages["Ruby"] = "ruby";
|
|
35
|
+
ProgrammingLanguages["Rust"] = "rust";
|
|
36
|
+
ProgrammingLanguages["Swift"] = "swift";
|
|
37
|
+
ProgrammingLanguages["Elixir"] = "elixir";
|
|
38
|
+
ProgrammingLanguages["MySql"] = "mysql";
|
|
39
|
+
ProgrammingLanguages["Nginx"] = "nginx";
|
|
40
|
+
ProgrammingLanguages["Postgres"] = "postgres";
|
|
41
|
+
ProgrammingLanguages["Redis"] = "redis";
|
|
42
|
+
ProgrammingLanguages["Kafka"] = "kafka";
|
|
43
|
+
ProgrammingLanguages["Ignored"] = "ignored";
|
|
44
|
+
ProgrammingLanguages["Unknown"] = "unknown";
|
|
45
|
+
ProgrammingLanguages["Processing"] = "processing";
|
|
46
|
+
ProgrammingLanguages["NoContainers"] = "no containers";
|
|
47
|
+
ProgrammingLanguages["NoRunningPods"] = "no running pods";
|
|
48
|
+
})(ProgrammingLanguages || (ProgrammingLanguages = {}));
|
|
49
|
+
var Crud;
|
|
50
|
+
(function (Crud) {
|
|
51
|
+
Crud["Create"] = "Create";
|
|
52
|
+
Crud["Read"] = "Read";
|
|
53
|
+
Crud["Update"] = "Update";
|
|
54
|
+
Crud["Delete"] = "Delete";
|
|
55
|
+
})(Crud || (Crud = {}));
|
|
56
|
+
var EntityTypes;
|
|
57
|
+
(function (EntityTypes) {
|
|
58
|
+
EntityTypes["Namespace"] = "Namespace";
|
|
59
|
+
EntityTypes["Source"] = "Source";
|
|
60
|
+
EntityTypes["Destination"] = "Destination";
|
|
61
|
+
EntityTypes["Action"] = "Action";
|
|
62
|
+
EntityTypes["InstrumentationRule"] = "InstrumentationRule";
|
|
63
|
+
})(EntityTypes || (EntityTypes = {}));
|
|
64
|
+
var FieldTypes;
|
|
65
|
+
(function (FieldTypes) {
|
|
66
|
+
FieldTypes["Input"] = "input";
|
|
67
|
+
FieldTypes["MultiInput"] = "multiInput";
|
|
68
|
+
FieldTypes["MultiTabledInput"] = "multiTabledInput";
|
|
69
|
+
FieldTypes["KeyValuePair"] = "keyValuePairs";
|
|
70
|
+
FieldTypes["TextArea"] = "textarea";
|
|
71
|
+
FieldTypes["Dropdown"] = "dropdown";
|
|
72
|
+
FieldTypes["Checkbox"] = "checkbox";
|
|
73
|
+
FieldTypes["Toggle"] = "toggle";
|
|
74
|
+
})(FieldTypes || (FieldTypes = {}));
|
|
75
|
+
var CrdTypes;
|
|
76
|
+
(function (CrdTypes) {
|
|
77
|
+
CrdTypes["OdigosConfig"] = "OdigosConfiguration";
|
|
78
|
+
CrdTypes["CollectorsGroup"] = "CollectorsGroup";
|
|
79
|
+
CrdTypes["Source"] = "Source";
|
|
80
|
+
CrdTypes["InstrumentationConfig"] = "InstrumentationConfig";
|
|
81
|
+
CrdTypes["InstrumentationInstance"] = "InstrumentationInstance";
|
|
82
|
+
CrdTypes["Destination"] = "Destination";
|
|
83
|
+
CrdTypes["InstrumentationRule"] = "InstrumentationRule";
|
|
84
|
+
CrdTypes["Processor"] = "Processor";
|
|
85
|
+
CrdTypes["AddClusterInfo"] = "AddClusterInfo";
|
|
86
|
+
CrdTypes["DeleteAttributes"] = "DeleteAttribute";
|
|
87
|
+
CrdTypes["RenameAttributes"] = "RenameAttribute";
|
|
88
|
+
CrdTypes["PiiMasking"] = "PiiMasking";
|
|
89
|
+
CrdTypes["ErrorSampler"] = "ErrorSampler";
|
|
90
|
+
CrdTypes["LatencySampler"] = "LatencySampler";
|
|
91
|
+
CrdTypes["ProbabilisticSampler"] = "ProbabilisticSampler";
|
|
92
|
+
})(CrdTypes || (CrdTypes = {}));
|
|
93
|
+
var StatusType;
|
|
94
|
+
(function (StatusType) {
|
|
95
|
+
StatusType["Warning"] = "warning";
|
|
96
|
+
StatusType["Error"] = "error";
|
|
97
|
+
StatusType["Success"] = "success";
|
|
98
|
+
StatusType["Info"] = "info";
|
|
99
|
+
StatusType["Default"] = "default";
|
|
100
|
+
})(StatusType || (StatusType = {}));
|
|
101
|
+
var OtherStatus;
|
|
102
|
+
(function (OtherStatus) {
|
|
103
|
+
OtherStatus["Loading"] = "loading";
|
|
104
|
+
OtherStatus["Disabled"] = "disabled";
|
|
105
|
+
})(OtherStatus || (OtherStatus = {}));
|
|
106
|
+
var SortDirection;
|
|
107
|
+
(function (SortDirection) {
|
|
108
|
+
SortDirection["Ascending"] = "asc";
|
|
109
|
+
SortDirection["Descending"] = "desc";
|
|
110
|
+
})(SortDirection || (SortDirection = {}));
|
|
111
|
+
|
|
112
|
+
var NodeTypes;
|
|
113
|
+
(function (NodeTypes) {
|
|
114
|
+
NodeTypes["Header"] = "header";
|
|
115
|
+
NodeTypes["Add"] = "add";
|
|
116
|
+
NodeTypes["Base"] = "base";
|
|
117
|
+
NodeTypes["Edged"] = "edged";
|
|
118
|
+
NodeTypes["Frame"] = "frame";
|
|
119
|
+
NodeTypes["Scroll"] = "scroll";
|
|
120
|
+
NodeTypes["Skeleton"] = "skeleton";
|
|
121
|
+
})(NodeTypes || (NodeTypes = {}));
|
|
122
|
+
var EdgeTypes;
|
|
123
|
+
(function (EdgeTypes) {
|
|
124
|
+
EdgeTypes["Labeled"] = "labeled";
|
|
125
|
+
})(EdgeTypes || (EdgeTypes = {}));
|
|
126
|
+
var AddNodeTypes;
|
|
127
|
+
(function (AddNodeTypes) {
|
|
128
|
+
AddNodeTypes["AddRule"] = "addRule";
|
|
129
|
+
AddNodeTypes["AddSource"] = "addSource";
|
|
130
|
+
AddNodeTypes["AddAction"] = "addAction";
|
|
131
|
+
AddNodeTypes["AddDestination"] = "addDestination";
|
|
132
|
+
})(AddNodeTypes || (AddNodeTypes = {}));
|
|
133
|
+
|
|
134
|
+
var DestinationTypes;
|
|
135
|
+
(function (DestinationTypes) {
|
|
136
|
+
DestinationTypes["AppDynamics"] = "appdynamics";
|
|
137
|
+
DestinationTypes["Axiom"] = "axiom";
|
|
138
|
+
DestinationTypes["AzureBlob"] = "azureblob";
|
|
139
|
+
DestinationTypes["BetterStack"] = "betterstack";
|
|
140
|
+
DestinationTypes["Causely"] = "causely";
|
|
141
|
+
DestinationTypes["Chronosphere"] = "chronosphere";
|
|
142
|
+
DestinationTypes["ClickHouse"] = "clickhouse";
|
|
143
|
+
DestinationTypes["CloudWatch"] = "cloudwatch";
|
|
144
|
+
DestinationTypes["Coralogix"] = "coralogix";
|
|
145
|
+
DestinationTypes["Dash0"] = "dash0";
|
|
146
|
+
DestinationTypes["Datadog"] = "datadog";
|
|
147
|
+
DestinationTypes["Dynatrace"] = "dynatrace";
|
|
148
|
+
DestinationTypes["ElasticApm"] = "elasticapm";
|
|
149
|
+
DestinationTypes["ElasticSearch"] = "elasticsearch";
|
|
150
|
+
DestinationTypes["GoogleCloud"] = "googlecloud";
|
|
151
|
+
DestinationTypes["GrafanaCloudLoki"] = "grafanacloudloki";
|
|
152
|
+
DestinationTypes["GrafanaCloudPrometheus"] = "grafanacloudprometheus";
|
|
153
|
+
DestinationTypes["GrafanaCloudTempo"] = "grafanacloudtempo";
|
|
154
|
+
DestinationTypes["Groundcover"] = "groundcover";
|
|
155
|
+
DestinationTypes["Honeycomb"] = "honeycomb";
|
|
156
|
+
DestinationTypes["HyperDX"] = "hyperdx";
|
|
157
|
+
DestinationTypes["Instana"] = "instana";
|
|
158
|
+
DestinationTypes["Jaeger"] = "jaeger";
|
|
159
|
+
DestinationTypes["Kafka"] = "kafka";
|
|
160
|
+
DestinationTypes["Kloudmate"] = "kloudmate";
|
|
161
|
+
DestinationTypes["Last9"] = "last9";
|
|
162
|
+
DestinationTypes["Lightstep"] = "lightstep";
|
|
163
|
+
DestinationTypes["LogzIo"] = "logzio";
|
|
164
|
+
DestinationTypes["Loki"] = "loki";
|
|
165
|
+
DestinationTypes["Lumigo"] = "lumigo";
|
|
166
|
+
DestinationTypes["Middleware"] = "middleware";
|
|
167
|
+
DestinationTypes["NewRelic"] = "newrelic";
|
|
168
|
+
DestinationTypes["Opsverse"] = "opsverse";
|
|
169
|
+
DestinationTypes["OTLP"] = "otlp";
|
|
170
|
+
DestinationTypes["OTLPHttp"] = "otlphttp";
|
|
171
|
+
DestinationTypes["Prometheus"] = "prometheus";
|
|
172
|
+
DestinationTypes["Qryn"] = "qryn";
|
|
173
|
+
DestinationTypes["QrynOss"] = "qryn-oss";
|
|
174
|
+
DestinationTypes["Quickwit"] = "quickwit";
|
|
175
|
+
DestinationTypes["S3"] = "s3";
|
|
176
|
+
DestinationTypes["Signoz"] = "signoz";
|
|
177
|
+
DestinationTypes["Splunk"] = "splunk";
|
|
178
|
+
DestinationTypes["SumoLogic"] = "sumologic";
|
|
179
|
+
DestinationTypes["Tempo"] = "tempo";
|
|
180
|
+
DestinationTypes["Traceloop"] = "traceloop";
|
|
181
|
+
DestinationTypes["Uptrace"] = "uptrace";
|
|
182
|
+
DestinationTypes["XRay"] = "xray";
|
|
183
|
+
})(DestinationTypes || (DestinationTypes = {}));
|
|
184
|
+
|
|
185
|
+
var InstrumentationRuleType;
|
|
186
|
+
(function (InstrumentationRuleType) {
|
|
187
|
+
InstrumentationRuleType["PayloadCollection"] = "PayloadCollection";
|
|
188
|
+
InstrumentationRuleType["CodeAttributes"] = "CodeAttributes";
|
|
189
|
+
InstrumentationRuleType["UnknownType"] = "UnknownType";
|
|
190
|
+
})(InstrumentationRuleType || (InstrumentationRuleType = {}));
|
|
191
|
+
var PayloadCollectionKeyTypes;
|
|
192
|
+
(function (PayloadCollectionKeyTypes) {
|
|
193
|
+
PayloadCollectionKeyTypes["HttpRequest"] = "httpRequest";
|
|
194
|
+
PayloadCollectionKeyTypes["HttpResponse"] = "httpResponse";
|
|
195
|
+
PayloadCollectionKeyTypes["DbQuery"] = "dbQuery";
|
|
196
|
+
PayloadCollectionKeyTypes["Messaging"] = "messaging";
|
|
197
|
+
})(PayloadCollectionKeyTypes || (PayloadCollectionKeyTypes = {}));
|
|
198
|
+
// Code Attributes for Instrumentation Rules
|
|
199
|
+
var CodeAttributesKeyTypes;
|
|
200
|
+
(function (CodeAttributesKeyTypes) {
|
|
201
|
+
CodeAttributesKeyTypes["Column"] = "column";
|
|
202
|
+
CodeAttributesKeyTypes["FilePath"] = "filePath";
|
|
203
|
+
CodeAttributesKeyTypes["Function"] = "function";
|
|
204
|
+
CodeAttributesKeyTypes["LineNumber"] = "lineNumber";
|
|
205
|
+
CodeAttributesKeyTypes["Namespace"] = "namespace";
|
|
206
|
+
CodeAttributesKeyTypes["StackTrace"] = "stacktrace";
|
|
207
|
+
})(CodeAttributesKeyTypes || (CodeAttributesKeyTypes = {}));
|
|
208
|
+
|
|
209
|
+
var SignalType;
|
|
210
|
+
(function (SignalType) {
|
|
211
|
+
SignalType["Logs"] = "logs";
|
|
212
|
+
SignalType["Metrics"] = "metrics";
|
|
213
|
+
SignalType["Traces"] = "traces";
|
|
214
|
+
})(SignalType || (SignalType = {}));
|
|
6
215
|
|
|
7
216
|
var K8sResourceKind;
|
|
8
217
|
(function (K8sResourceKind) {
|
|
@@ -11,4 +220,4 @@ var K8sResourceKind;
|
|
|
11
220
|
K8sResourceKind["StatefulSet"] = "StatefulSet";
|
|
12
221
|
})(K8sResourceKind || (K8sResourceKind = {}));
|
|
13
222
|
|
|
14
|
-
export { K8sResourceKind };
|
|
223
|
+
export { ActionType, AddNodeTypes, CodeAttributesKeyTypes, CrdTypes, Crud, DestinationTypes, EdgeTypes, EntityTypes, FieldTypes, InstrumentationRuleType, K8sResourceKind, NodeTypes, OtherStatus, PayloadCollectionKeyTypes, PlatformType, ProgrammingLanguages, SignalType, SortDirection, StatusType, Tier };
|