@odigos/ui-kit 0.0.170 → 0.0.172
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 +17 -0
- package/lib/chunks/ui-components-e5ad46f1.js +2288 -0
- package/lib/components/_v2/table/types.d.ts +2 -0
- package/lib/components/styled.d.ts +8 -3
- package/lib/components/v2.js +1 -1
- package/lib/components.js +1 -1
- package/lib/constants/sources/index.d.ts +5 -1
- package/lib/constants.js +1 -1
- package/lib/containers/_v2/central-connections/source-drawer/styled.d.ts +2 -1
- package/lib/containers/_v2/pipeline-collectors/pods-info/index.d.ts +1 -1
- package/lib/containers/v2.js +19 -19
- package/lib/containers.js +3 -3
- package/lib/contexts.js +1 -1
- package/lib/functions.js +1 -1
- package/lib/hooks.js +1 -1
- package/lib/icons/auth/index.d.ts +1 -0
- package/lib/icons/auth/okta-icon/index.d.ts +2 -0
- package/lib/icons.js +1 -1
- package/lib/mock-data/sources/index.d.ts +2 -19
- package/lib/snippets/source-container/index.d.ts +1 -1
- package/lib/snippets/source-container/override-runtime.d.ts +2 -1
- package/lib/snippets.js +1 -1
- package/lib/store.js +1 -1
- package/lib/theme.js +1 -1
- package/lib/types/enum/index.d.ts +23 -1
- package/lib/types/instrumentation-instances/index.d.ts +1 -0
- package/lib/types/pipeline-collectors/index.d.ts +9 -0
- package/lib/types/sources/index.d.ts +3 -2
- package/lib/types.js +1 -1
- package/lib/visuals.js +1 -1
- package/package.json +1 -1
- package/lib/chunks/ui-components-917db301.js +0 -2286
|
@@ -1,23 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type Source } from '@/types';
|
|
2
2
|
export declare const MOCK_SOURCES_OTHER: Source[];
|
|
3
3
|
export declare const MOCK_SOURCES_SIMPLE_DEMO: Source[];
|
|
4
4
|
export declare const MOCK_SOURCES_GOOGLE: Source[];
|
|
5
|
-
export declare const MOCK_SOURCE_JAEGER:
|
|
6
|
-
namespace: string;
|
|
7
|
-
name: string;
|
|
8
|
-
kind: K8sResourceKind;
|
|
9
|
-
dataStreamNames: string[];
|
|
10
|
-
selected: boolean;
|
|
11
|
-
otelServiceName: string;
|
|
12
|
-
numberOfInstances: number;
|
|
13
|
-
containers: {
|
|
14
|
-
containerName: string;
|
|
15
|
-
language: ProgrammingLanguages;
|
|
16
|
-
runtimeVersion: string;
|
|
17
|
-
instrumented: boolean;
|
|
18
|
-
instrumentationMessage: string;
|
|
19
|
-
otelDistroName: string;
|
|
20
|
-
}[];
|
|
21
|
-
conditions: never[];
|
|
22
|
-
};
|
|
5
|
+
export declare const MOCK_SOURCE_JAEGER: Source;
|
|
23
6
|
export declare const MOCK_SOURCES: Source[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
2
|
import { SourceContainer as SourceContainerType, SourceFormData } from '@/types';
|
|
3
3
|
interface SourceContainerProps extends SourceContainerType {
|
|
4
|
-
callbackRuntimeOverride?: (payload: Pick<SourceFormData, 'containerName' | 'language' | 'version'>) => Promise<void>;
|
|
4
|
+
callbackRuntimeOverride?: (payload: Pick<SourceFormData, 'containerName' | 'language' | 'version' | 'otelDistroName'>) => Promise<void>;
|
|
5
5
|
}
|
|
6
6
|
export declare const SourceContainer: FC<SourceContainerProps>;
|
|
7
7
|
export {};
|
|
@@ -3,7 +3,8 @@ import { SourceFormData } from '@/types';
|
|
|
3
3
|
interface OverrideRuntimeProps {
|
|
4
4
|
defaultLanguage?: SourceFormData['language'];
|
|
5
5
|
defaultVersion?: SourceFormData['version'];
|
|
6
|
-
|
|
6
|
+
defaultOtelDistroName?: SourceFormData['otelDistroName'];
|
|
7
|
+
handleSave: (payload: Pick<SourceFormData, 'language' | 'version' | 'otelDistroName'>) => Promise<void>;
|
|
7
8
|
}
|
|
8
9
|
declare const OverrideRuntime: FC<OverrideRuntimeProps>;
|
|
9
10
|
export { OverrideRuntime, type OverrideRuntimeProps };
|
package/lib/snippets.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{bx as AddButton,c4 as CopyText,c0 as EditButton,b_ as Flow,
|
|
1
|
+
export{bx as AddButton,c4 as CopyText,c0 as EditButton,b_ as Flow,d7 as MapItemNode,d8 as NoDataNode,by as NoteBackToSummary,c6 as PodContainer,cb as SourceContainer}from"./chunks/ui-components-e5ad46f1.js";import"./icons.js";import"react";import"styled-components";import"zustand";import"javascript-time-ago";import"./chunks/vendor-0965fadc.js";import"react-dom";import"@xyflow/react";import"react-error-boundary";import"lottie-react";import"prism-react-renderer";
|
package/lib/store.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{P as ProgressKeys,
|
|
1
|
+
export{P as ProgressKeys,d3 as useActiveNodeStore,cl as useDarkMode,u as useDataStreamStore,an as useDrawerStore,at as useEntityStore,aO as useFilterStore,aB as useModalStore,bU as useNotificationStore,g as useProgressStore,b1 as useSelectedStore,bu as useSetupStore}from"./chunks/ui-components-e5ad46f1.js";import"./icons.js";import"react";import"styled-components";import"zustand";import"javascript-time-ago";import"./chunks/vendor-0965fadc.js";import"react-dom";import"@xyflow/react";import"react-error-boundary";import"lottie-react";import"prism-react-renderer";
|
package/lib/theme.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{H as default}from"./chunks/ui-components-
|
|
1
|
+
export{H as default}from"./chunks/ui-components-e5ad46f1.js";import"styled-components";import"./icons.js";import"react";import"zustand";import"javascript-time-ago";import"./chunks/vendor-0965fadc.js";import"react-dom";import"@xyflow/react";import"react-error-boundary";import"lottie-react";import"prism-react-renderer";
|
|
@@ -3,10 +3,32 @@ export declare enum K8sResourceKind {
|
|
|
3
3
|
DaemonSet = "DaemonSet",
|
|
4
4
|
StatefulSet = "StatefulSet",
|
|
5
5
|
CronJob = "CronJob",
|
|
6
|
-
ConfigMap = "ConfigMap",
|
|
7
6
|
Pod = "Pod",
|
|
7
|
+
StaticPod = "StaticPod",
|
|
8
|
+
Rollout = "Rollout",
|
|
9
|
+
ConfigMap = "ConfigMap",
|
|
8
10
|
DeploymentConfig = "DeploymentConfig"
|
|
9
11
|
}
|
|
12
|
+
export declare enum OtelDistroName {
|
|
13
|
+
GolangCommunity = "golang-community",
|
|
14
|
+
NodejsCommunity = "nodejs-community",
|
|
15
|
+
PythonCommunity = "python-community",
|
|
16
|
+
JavaCommunity = "java-community",
|
|
17
|
+
DotNetCommunity = "dotnet-community",
|
|
18
|
+
RubyCommunity = "ruby-community",
|
|
19
|
+
PhpCommunity = "php-community",
|
|
20
|
+
GolangEnterprise = "golang-enterprise",
|
|
21
|
+
NodejsEnterprise = "nodejs-enterprise",
|
|
22
|
+
PythonEnterprise = "python-enterprise",
|
|
23
|
+
JavaEnterprise = "java-enterprise",
|
|
24
|
+
JavaEbpfInstrumentations = "java-ebpf-instrumentations",
|
|
25
|
+
DotNetLegacy = "dotnet-legacy",
|
|
26
|
+
DotNetEnterprise = "dotnet-enterprise",
|
|
27
|
+
RubyEnterprise = "ruby-enterprise",
|
|
28
|
+
PhpEnterprise = "php-enterprise",
|
|
29
|
+
CPlusPlusEnterprise = "cplusplus-enterprise",
|
|
30
|
+
MySqlEnterprise = "mysql-enterprise"
|
|
31
|
+
}
|
|
10
32
|
export declare enum DesiredStateProgress {
|
|
11
33
|
Error = "Error",
|
|
12
34
|
Failure = "Failure",
|
|
@@ -79,6 +79,14 @@ export interface NodeCollectoInfo {
|
|
|
79
79
|
manifestYAML: string;
|
|
80
80
|
configMapYAML: string;
|
|
81
81
|
}
|
|
82
|
+
interface CollectorPodMetrics {
|
|
83
|
+
metricsAcceptedRps: number;
|
|
84
|
+
metricsDroppedRps: number;
|
|
85
|
+
exporterSuccessRps: number;
|
|
86
|
+
exporterFailedRps: number;
|
|
87
|
+
window: string;
|
|
88
|
+
lastScrape?: string | null;
|
|
89
|
+
}
|
|
82
90
|
export interface PodInfo {
|
|
83
91
|
namespace: string;
|
|
84
92
|
name: string;
|
|
@@ -87,6 +95,7 @@ export interface PodInfo {
|
|
|
87
95
|
nodeName: string;
|
|
88
96
|
creationTimestamp: string;
|
|
89
97
|
image: string;
|
|
98
|
+
collectorMetrics?: CollectorPodMetrics | null;
|
|
90
99
|
}
|
|
91
100
|
export type GetGatewayInfo = () => Promise<GatewayInfo | undefined>;
|
|
92
101
|
export type GetGatewayPods = () => Promise<PodInfo[] | undefined>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { K8sResourceKind } from '../enum';
|
|
1
|
+
import { K8sResourceKind, OtelDistroName } from '../enum';
|
|
2
2
|
import { type Condition, ProgrammingLanguages } from '../common';
|
|
3
3
|
import type { DesiredConditionStatus, WorkloadId } from '../workload';
|
|
4
4
|
import type { NamespaceSelectionFormData, SourceSelectionFormData } from '@/store';
|
|
@@ -21,7 +21,7 @@ export interface SourceContainer {
|
|
|
21
21
|
overriden?: boolean;
|
|
22
22
|
instrumented: boolean;
|
|
23
23
|
instrumentationMessage: string;
|
|
24
|
-
otelDistroName
|
|
24
|
+
otelDistroName?: OtelDistroName | null;
|
|
25
25
|
}
|
|
26
26
|
export interface Source extends WorkloadId {
|
|
27
27
|
selected: boolean;
|
|
@@ -40,5 +40,6 @@ export interface SourceFormData {
|
|
|
40
40
|
containerName?: string;
|
|
41
41
|
language?: ProgrammingLanguages | null;
|
|
42
42
|
version?: string;
|
|
43
|
+
otelDistroName?: OtelDistroName | null;
|
|
43
44
|
}
|
|
44
45
|
export type PersistSources = (selectAppsList: SourceSelectionFormData, futureSelectAppsList: NamespaceSelectionFormData) => void;
|
package/lib/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{cq as ActionCategory,a8 as ActionKeyTypes,a3 as ActionType,cD as AddNodeTypes,ct as BooleanOperation,bP as CodeAttributesKeyTypes,aA as Crud,bN as CustomInstrumentationsKeyTypes,b9 as DesiredStateProgress,cE as DestinationTypes,cC as EdgeTypes,E as EntityTypes,ag as FieldTypes,bO as GolangCustomProbe,bL as HeadersCollectionKeyTypes,aa as InputTypes,cz as InstallationMethod,bR as InstrumentationRuleType,cA as IntrumentationStatus,bM as JavaCustomProbe,cu as JsonOperation,a4 as K8sAttributesFrom,cc as K8sResourceKind,cv as ListDirection,bZ as NodeTypes,cs as NumberOperation,bz as OtherEntityTypes,aM as OtherStatus,O as OtherStatusType,bQ as PayloadCollectionKeyTypes,cy as PlatformType,
|
|
1
|
+
export{cq as ActionCategory,a8 as ActionKeyTypes,a3 as ActionType,cD as AddNodeTypes,ct as BooleanOperation,bP as CodeAttributesKeyTypes,aA as Crud,bN as CustomInstrumentationsKeyTypes,b9 as DesiredStateProgress,cE as DestinationTypes,cC as EdgeTypes,E as EntityTypes,ag as FieldTypes,bO as GolangCustomProbe,bL as HeadersCollectionKeyTypes,aa as InputTypes,cz as InstallationMethod,bR as InstrumentationRuleType,cA as IntrumentationStatus,bM as JavaCustomProbe,cu as JsonOperation,a4 as K8sAttributesFrom,cc as K8sResourceKind,cv as ListDirection,bZ as NodeTypes,cs as NumberOperation,cF as OtelDistroName,bz as OtherEntityTypes,aM as OtherStatus,O as OtherStatusType,bQ as PayloadCollectionKeyTypes,cy as PlatformType,cI as PodContainerLifecycleStatus,cH as PodContainerStatus,cG as PodPhase,cB as Profile,cd as ProgrammingLanguages,bD as SignalType,cw as SortDirection,S as StatusType,cr as StringOperation,cx as Tier,Z as WorkloadRolloutStatus}from"./chunks/ui-components-e5ad46f1.js";import"./icons.js";import"react";import"styled-components";import"zustand";import"javascript-time-ago";import"./chunks/vendor-0965fadc.js";import"react-dom";import"@xyflow/react";import"react-error-boundary";import"lottie-react";import"prism-react-renderer";
|
package/lib/visuals.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{dn as VISUAL_ODIGOS_LOGO_HEIGHT,dm as VISUAL_ODIGOS_LOGO_WIDTH,dp as VisualOdigosLogo,dq as VisualStar,dr as VisualSuccess}from"./chunks/ui-components-e5ad46f1.js";import"./icons.js";import"react";import"styled-components";import"zustand";import"javascript-time-ago";import"./chunks/vendor-0965fadc.js";import"react-dom";import"@xyflow/react";import"react-error-boundary";import"lottie-react";import"prism-react-renderer";
|