@odigos/ui-kit 0.0.126 → 0.0.127
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/chunks/ui-components-2d8c514a.js +1655 -0
- package/lib/components/v2.js +1 -1
- package/lib/components.js +1 -1
- package/lib/constants.js +1 -1
- package/lib/containers/index.d.ts +0 -1
- package/lib/containers.js +117 -144
- package/lib/functions.js +1 -1
- package/lib/hooks.js +1 -1
- package/lib/icons.js +1 -1
- package/lib/mock-data/index.d.ts +0 -1
- package/lib/snippets.js +1 -1
- package/lib/store.js +1 -1
- package/lib/theme.js +1 -1
- package/lib/types/common/index.d.ts +12 -0
- package/lib/types/index.d.ts +0 -1
- package/lib/types/instrumentation-instances/index.d.ts +3 -0
- package/lib/types.js +1 -1
- package/lib/visuals.js +1 -1
- package/package.json +1 -1
- package/lib/chunks/ui-components-898f30d4.js +0 -1655
- package/lib/containers/system-settings/index.d.ts +0 -9
- package/lib/containers/system-settings/settings/collector-gateway-settings.d.ts +0 -4
- package/lib/containers/system-settings/settings/collector-node-settings.d.ts +0 -4
- package/lib/containers/system-settings/settings/general-settings.d.ts +0 -4
- package/lib/containers/system-settings/settings/options.d.ts +0 -5
- package/lib/containers/system-settings/settings/rollback-settings.d.ts +0 -4
- package/lib/containers/system-settings/settings/styled.d.ts +0 -8
- package/lib/containers/system-settings/settings/types.d.ts +0 -13
- package/lib/containers/system-settings/settings/ui-settings.d.ts +0 -4
- package/lib/mock-data/config/index.d.ts +0 -2
- package/lib/types/config/index.d.ts +0 -80
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type FC } from 'react';
|
|
2
|
-
import { InstallationMethod, type OdigosConfig } from '@/types';
|
|
3
|
-
interface SystemSettingsProps {
|
|
4
|
-
installationMethod: InstallationMethod;
|
|
5
|
-
fetchSettings: () => Promise<OdigosConfig | undefined>;
|
|
6
|
-
onSave: (payload: OdigosConfig) => Promise<void>;
|
|
7
|
-
}
|
|
8
|
-
declare const SystemSettings: FC<SystemSettingsProps>;
|
|
9
|
-
export { SystemSettings, type SystemSettingsProps };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { DropdownOption } from '@/components';
|
|
2
|
-
import { AgentEnvVarsInjectionMethod, MountMethod, Profile } from '@/types';
|
|
3
|
-
export declare const MOUNT_METHOD_OPTIONS: DropdownOption<MountMethod>[];
|
|
4
|
-
export declare const AGENT_ENV_VARS_INJECTION_METHOD_OPTIONS: DropdownOption<AgentEnvVarsInjectionMethod>[];
|
|
5
|
-
export declare const PROFILE_OPTIONS: DropdownOption<Profile>[];
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare const Card: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
|
-
export declare const CardTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("@/components").TextProps, never>> & string & Omit<import("react").FC<import("@/components").TextProps>, keyof import("react").Component<any, {}, any>>;
|
|
3
|
-
export declare const RowOfFields: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$gap" | "$alignItems" | "$justifyContent" | "$wrap"> & {
|
|
4
|
-
$gap?: number;
|
|
5
|
-
$alignItems?: import("styled-components").CSSProperties["alignItems"];
|
|
6
|
-
$justifyContent?: import("styled-components").CSSProperties["justifyContent"];
|
|
7
|
-
$wrap?: import("styled-components").CSSProperties["flexWrap"];
|
|
8
|
-
}, never>> & string;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { OdigosConfig } from '@/types';
|
|
2
|
-
export declare enum SettingsTabs {
|
|
3
|
-
General = "General",
|
|
4
|
-
Ui = "UI",
|
|
5
|
-
Rollback = "Rollback",
|
|
6
|
-
CollectorNode = "Collector Node",
|
|
7
|
-
CollectorGateway = "Collector Gateway"
|
|
8
|
-
}
|
|
9
|
-
export interface SettingsProps {
|
|
10
|
-
isAdvanced: boolean;
|
|
11
|
-
formData: OdigosConfig;
|
|
12
|
-
handleFormChange: (key: keyof OdigosConfig | string, value: any) => void;
|
|
13
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { ProgrammingLanguages } from '..';
|
|
2
|
-
export declare enum Profile {
|
|
3
|
-
CodeAttributes = "code-attributes",
|
|
4
|
-
FullPayloadCollection = "full-payload-collection",
|
|
5
|
-
DbPayloadCollection = "db-payload-collection",
|
|
6
|
-
QueryOperationDetector = "query-operation-detector",
|
|
7
|
-
AllowConcurrentAgents = "allow_concurrent_agents",
|
|
8
|
-
JavaEbpfInstrumentations = "java-ebpf-instrumentations",
|
|
9
|
-
JavaNativeInstrumentations = "java-native-instrumentations",
|
|
10
|
-
SizeS = "size_s",
|
|
11
|
-
SizeM = "size_m",
|
|
12
|
-
SizeL = "size_l"
|
|
13
|
-
}
|
|
14
|
-
export declare enum MountMethod {
|
|
15
|
-
VirtualDevice = "VirtualDevice",
|
|
16
|
-
HostPath = "HostPath",
|
|
17
|
-
InitContainer = "InitContainer"
|
|
18
|
-
}
|
|
19
|
-
export declare enum AgentEnvVarsInjectionMethod {
|
|
20
|
-
Loader = "loader",
|
|
21
|
-
PodManifest = "pod-manifest",
|
|
22
|
-
LoaderFallbackToPodManifest = "loader-fallback-to-pod-manifest"
|
|
23
|
-
}
|
|
24
|
-
export interface CollectorNode {
|
|
25
|
-
collectorOwnMetricsPort: number;
|
|
26
|
-
requestMemoryMiB: number;
|
|
27
|
-
limitMemoryMiB: number;
|
|
28
|
-
requestCPUm: number;
|
|
29
|
-
limitCPUm: number;
|
|
30
|
-
memoryLimiterLimitMiB: number;
|
|
31
|
-
memoryLimiterSpikeLimitMiB: number;
|
|
32
|
-
goMemLimitMiB: number;
|
|
33
|
-
k8sNodeLogsDirectory: string;
|
|
34
|
-
}
|
|
35
|
-
export interface CollectorGateway extends Omit<CollectorNode, 'collectorOwnMetricsPort' | 'k8sNodeLogsDirectory'> {
|
|
36
|
-
minReplicas: number;
|
|
37
|
-
maxReplicas: number;
|
|
38
|
-
}
|
|
39
|
-
export interface UserInstrumentationEnvsLanguage {
|
|
40
|
-
enabled: boolean;
|
|
41
|
-
env: {
|
|
42
|
-
[key: string]: string;
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
export interface UserInstrumentationEnvs {
|
|
46
|
-
languages: {
|
|
47
|
-
[key in ProgrammingLanguages]?: UserInstrumentationEnvsLanguage;
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
export interface RolloutConfiguration {
|
|
51
|
-
automaticRolloutDisabled: boolean;
|
|
52
|
-
}
|
|
53
|
-
export interface OidcConfiguration {
|
|
54
|
-
tenantUrl: string;
|
|
55
|
-
clientId: string;
|
|
56
|
-
clientSecret: string;
|
|
57
|
-
}
|
|
58
|
-
export interface OdigosConfig {
|
|
59
|
-
karpenterEnabled: boolean | null;
|
|
60
|
-
allowConcurrentAgents: boolean | null;
|
|
61
|
-
uiPaginationLimit: number | null;
|
|
62
|
-
centralBackendURL: string | null;
|
|
63
|
-
oidc: OidcConfiguration | null;
|
|
64
|
-
clusterName: string | null;
|
|
65
|
-
imagePrefix: string | null;
|
|
66
|
-
ignoredNamespaces: string[] | null;
|
|
67
|
-
ignoredContainers: string[] | null;
|
|
68
|
-
profiles: Profile[] | null;
|
|
69
|
-
mountMethod: MountMethod | null;
|
|
70
|
-
agentEnvVarsInjectionMethod: AgentEnvVarsInjectionMethod | null;
|
|
71
|
-
customContainerRuntimeSocketPath: string | null;
|
|
72
|
-
odigletHealthProbeBindPort: number | null;
|
|
73
|
-
rollbackDisabled: boolean | null;
|
|
74
|
-
rollbackGraceTime: string | null;
|
|
75
|
-
rollbackStabilityWindow: string | null;
|
|
76
|
-
nodeSelector: Record<string, string> | null;
|
|
77
|
-
rollout: RolloutConfiguration | null;
|
|
78
|
-
collectorNode: CollectorNode | null;
|
|
79
|
-
collectorGateway: CollectorGateway | null;
|
|
80
|
-
}
|