@odigos/ui-kit 0.0.238 → 0.0.240
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 +27 -0
- package/lib/chunks/helpers-D-6cJlOn.js +19 -0
- package/lib/chunks/index-RUJS9Blu.js +147 -0
- package/lib/chunks/source-instrument-form-context-CEgbaSRi.js +1 -0
- package/lib/chunks/ui-components-B0BVzW_z.js +1570 -0
- package/lib/chunks/{vendor-C150cdxb.js → vendor-Be0cOokr.js} +1 -1
- package/lib/components/_v2/button/index.d.ts +1 -1
- package/lib/components/_v2/cards/data-card/index.d.ts +6 -1
- package/lib/components/_v2/condition/index.d.ts +1 -0
- package/lib/components/_v2/drawer/header/index.d.ts +2 -0
- package/lib/components/_v2/drawer/index.d.ts +1 -1
- package/lib/components/_v2/drop-data/index.d.ts +3 -4
- package/lib/components/_v2/icon-group/index.d.ts +10 -0
- package/lib/components/_v2/index.d.ts +1 -0
- package/lib/components/_v2/input-table/types.d.ts +2 -0
- package/lib/components/_v2/tag/index.d.ts +10 -0
- package/lib/components/_v2/typography/index.d.ts +2 -0
- package/lib/components/index.d.ts +0 -22
- package/lib/components/v2.js +1 -1
- package/lib/components.js +1 -1
- package/lib/constants/sources/index.d.ts +10 -5
- package/lib/constants/strings/index.d.ts +92 -0
- package/lib/constants.js +1 -1
- package/lib/containers/_v2/_drawers/add-source-drawer/strings.d.ts +54 -0
- package/lib/containers/_v2/_drawers/edit-source-drawer/common/index.d.ts +1 -0
- package/lib/containers/_v2/_drawers/edit-source-drawer/common/pods-header.d.ts +8 -0
- package/lib/containers/_v2/_drawers/edit-source-drawer/helpers.d.ts +12 -0
- package/lib/containers/_v2/_drawers/edit-source-drawer/index.d.ts +19 -0
- package/lib/containers/_v2/_drawers/edit-source-drawer/overview/containers-card/distro-override.d.ts +11 -0
- package/lib/containers/_v2/_drawers/edit-source-drawer/overview/containers-card/index.d.ts +7 -0
- package/lib/containers/_v2/_drawers/edit-source-drawer/overview/containers-card/popup-form.d.ts +15 -0
- package/lib/containers/_v2/_drawers/edit-source-drawer/overview/containers-card/runtime-override.d.ts +10 -0
- package/lib/containers/_v2/_drawers/edit-source-drawer/overview/health-card.d.ts +6 -0
- package/lib/containers/_v2/_drawers/edit-source-drawer/overview/index.d.ts +11 -0
- package/lib/containers/_v2/_drawers/edit-source-drawer/overview/main-card.d.ts +6 -0
- package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/index.d.ts +6 -0
- package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/pods-list/container-row.d.ts +9 -0
- package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/pods-list/helpers.d.ts +19 -0
- package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/pods-list/index.d.ts +12 -0
- package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/pods-list/pod-row.d.ts +8 -0
- package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/pods-list/process-row.d.ts +11 -0
- package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/pods-list/row-header.d.ts +13 -0
- package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/pods-list/types.d.ts +18 -0
- package/lib/containers/_v2/_drawers/edit-source-drawer/overview/statuses-card.d.ts +9 -0
- package/lib/containers/_v2/_drawers/edit-source-drawer/peers/index.d.ts +11 -0
- package/lib/containers/_v2/_drawers/edit-source-drawer/pods/containers-card/index.d.ts +7 -0
- package/lib/containers/_v2/_drawers/edit-source-drawer/pods/containers-card/process-card.d.ts +5 -0
- package/lib/containers/_v2/_drawers/edit-source-drawer/pods/debug-commands.d.ts +6 -0
- package/lib/containers/_v2/_drawers/edit-source-drawer/pods/index.d.ts +7 -0
- package/lib/containers/_v2/_drawers/edit-source-drawer/pods/pod-card.d.ts +8 -0
- package/lib/containers/{source-drawer → _v2/_drawers/edit-source-drawer}/profiling/index.d.ts +2 -2
- package/lib/containers/_v2/_drawers/index.d.ts +1 -0
- package/lib/containers/_v2/_forms/edit-source-form/index.d.ts +2 -0
- package/lib/containers/_v2/_forms/index.d.ts +1 -0
- package/lib/containers/_v2/_modals/index.d.ts +1 -0
- package/lib/containers/_v2/_modals/onboarding-done/background.d.ts +5 -0
- package/lib/containers/_v2/_modals/onboarding-done/index.d.ts +3 -0
- package/lib/containers/_v2/overview/columns/column/index.d.ts +2 -2
- package/lib/containers/_v2/overview/columns/column/list-item.d.ts +2 -2
- package/lib/containers/_v2/overview/columns/column/source-visual-state.d.ts +3 -3
- package/lib/containers/_v2/overview/drawers/index.d.ts +2 -4
- package/lib/containers/_v2/overview/search/builder.d.ts +4 -4
- package/lib/containers/index.d.ts +0 -3
- package/lib/containers/service-map/helpers/build-map-nodes.d.ts +2 -2
- package/lib/containers/v2.js +269 -124
- package/lib/containers.js +19 -19
- package/lib/contexts/action-form-context.d.ts +0 -1
- package/lib/contexts/destination-form-context.d.ts +0 -1
- package/lib/contexts/index.d.ts +1 -0
- package/lib/contexts/rule-form-context.d.ts +0 -1
- package/lib/contexts/source-edit-form-context.d.ts +17 -0
- package/lib/contexts.js +1 -1
- package/lib/functions/filter-sources/index.d.ts +2 -2
- package/lib/functions/filter-sources-by-stream/index.d.ts +2 -2
- package/lib/functions/get-conditions-booleans/index.d.ts +5 -3
- package/lib/functions/get-containers-counts/index.d.ts +2 -2
- package/lib/functions/get-containers-icons/index.d.ts +5 -3
- package/lib/functions/get-entity-id/index.d.ts +8 -4
- package/lib/functions/get-main-container-language/index.d.ts +2 -2
- package/lib/functions/get-virtual-service-icon/index.d.ts +1 -1
- package/lib/functions/get-workload-id/index.d.ts +2 -2
- package/lib/functions/index.d.ts +2 -0
- package/lib/functions/is-pod-injected-with-agent/index.d.ts +4 -0
- package/lib/functions/map-desired-status-to-condition-status/index.d.ts +2 -0
- package/lib/functions.js +1 -1
- package/lib/hooks/index.d.ts +0 -1
- package/lib/hooks/useActionFormData.d.ts +1 -1
- package/lib/hooks/useSourceFormData.d.ts +2 -2
- package/lib/hooks/useTimeAgo.d.ts +11 -0
- package/lib/hooks.js +1 -1
- package/lib/icons/brand/index.d.ts +3 -0
- package/lib/icons/brand/odigos-logo-text-colored-central/index.d.ts +2 -0
- package/lib/icons/brand/odigos-logo-text-colored-community/index.d.ts +2 -0
- package/lib/icons/brand/odigos-logo-text-colored-enterprise/index.d.ts +2 -0
- package/lib/icons.js +1 -1
- package/lib/mock-data/index.d.ts +0 -1
- package/lib/mock-data/profiling/index.d.ts +1 -1
- package/lib/mock-data/service-map/index.d.ts +1 -1
- package/lib/mock-data/sources/index.d.ts +4 -7
- package/lib/snippets/_v2/delete-modal/index.d.ts +3 -0
- package/lib/snippets/_v2/dynamic-field/index.d.ts +2 -3
- package/lib/snippets/_v2/odigos-logo-text-by-tier/index.d.ts +2 -0
- package/lib/snippets/_v2/rich-title/index.d.ts +5 -0
- package/lib/snippets/_v2/wide-drawer/index.d.ts +7 -1
- package/lib/snippets/index.d.ts +0 -4
- package/lib/snippets/v2.js +1 -1
- package/lib/snippets.js +49 -1
- package/lib/store/useEntityStore.d.ts +2 -2
- package/lib/store/useFilterStore.d.ts +8 -14
- package/lib/store/useSelectedStore.d.ts +2 -2
- package/lib/store/useSetupStore.d.ts +10 -15
- package/lib/store.js +1 -1
- package/lib/theme.js +1 -1
- package/lib/types/common/index.d.ts +28 -0
- package/lib/types/destinations/index.d.ts +3 -3
- package/lib/types/namespaces/index.d.ts +3 -3
- package/lib/types/service-map/index.d.ts +2 -2
- package/lib/types/sources/index.d.ts +4 -41
- package/lib/types/workload/index.d.ts +145 -3
- package/lib/types.js +1 -1
- package/lib/visuals.js +1 -1
- package/package.json +1 -1
- package/lib/chunks/index-CCaTS6aq.js +0 -145
- package/lib/chunks/index-ChkHWnzu.js +0 -77
- package/lib/chunks/index-D6SlbWIi.js +0 -3
- package/lib/chunks/ui-components-rpRyPe3l.js +0 -2235
- package/lib/components/badge/index.d.ts +0 -11
- package/lib/components/button/index.d.ts +0 -6
- package/lib/components/cancel-warning/index.d.ts +0 -10
- package/lib/components/checkbox/index.d.ts +0 -15
- package/lib/components/condition-details/index.d.ts +0 -10
- package/lib/components/data-card/data-card-fields/index.d.ts +0 -23
- package/lib/components/data-card/index.d.ts +0 -17
- package/lib/components/data-tab/index.d.ts +0 -43
- package/lib/components/delete-warning/index.d.ts +0 -13
- package/lib/components/describe-row/index.d.ts +0 -13
- package/lib/components/drawer/drawer-footer/index.d.ts +0 -16
- package/lib/components/drawer/drawer-header/index.d.ts +0 -24
- package/lib/components/drawer/index.d.ts +0 -15
- package/lib/components/dropdown/index.d.ts +0 -25
- package/lib/components/extend-arrow/index.d.ts +0 -8
- package/lib/components/field-error/index.d.ts +0 -4
- package/lib/components/field-label/index.d.ts +0 -11
- package/lib/components/input/index.d.ts +0 -15
- package/lib/components/modal/index.d.ts +0 -14
- package/lib/components/monitors-icons/index.d.ts +0 -11
- package/lib/components/no-data-found/index.d.ts +0 -6
- package/lib/components/popup-form/index.d.ts +0 -18
- package/lib/components/status/index.d.ts +0 -17
- package/lib/components/tab-list/index.d.ts +0 -18
- package/lib/components/warning-modal/index.d.ts +0 -24
- package/lib/containers/overview-drawer/index.d.ts +0 -27
- package/lib/containers/source-drawer/build-card.d.ts +0 -3
- package/lib/containers/source-drawer/describe/index.d.ts +0 -13
- package/lib/containers/source-drawer/index.d.ts +0 -23
- package/lib/containers/source-drawer/libraries/index.d.ts +0 -12
- package/lib/containers/source-drawer/odigos-health/index.d.ts +0 -5
- package/lib/containers/source-drawer/peers/index.d.ts +0 -12
- package/lib/containers/source-form/index.d.ts +0 -8
- package/lib/hooks/useSourceSelectionFormData.d.ts +0 -32
- package/lib/mock-data/workload/index.d.ts +0 -2
- package/lib/snippets/add-button/index.d.ts +0 -9
- package/lib/snippets/copy-text/index.d.ts +0 -7
- package/lib/snippets/pod-container/index.d.ts +0 -5
- package/lib/snippets/source-container/index.d.ts +0 -7
- package/lib/snippets/source-container/override-runtime.d.ts +0 -10
- /package/lib/containers/{source-drawer → _v2/_drawers/edit-source-drawer}/profiling/flame-graph-canvas.d.ts +0 -0
- /package/lib/containers/{source-drawer → _v2/_drawers/edit-source-drawer}/profiling/flamebearer.d.ts +0 -0
- /package/lib/containers/{source-drawer → _v2/_drawers/edit-source-drawer}/profiling/symbol-table.d.ts +0 -0
package/lib/mock-data/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ProfilingProps } from '@/containers/source-drawer/profiling';
|
|
1
|
+
import type { ProfilingProps } from '@/containers/_v2/_drawers/edit-source-drawer/profiling';
|
|
2
2
|
type ProfilingSlots = Awaited<ReturnType<ProfilingProps['fetchProfilingSlots']>>;
|
|
3
3
|
type EnableProfilingResult = Awaited<ReturnType<ProfilingProps['enableProfiling']>>;
|
|
4
4
|
type SourceProfilingResult = Awaited<ReturnType<ProfilingProps['fetchSourceProfiling']>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { PeerSources, ServiceMapSources } from '@/types';
|
|
2
|
-
/** Peer graph for the default SourceDrawer story (`
|
|
2
|
+
/** Peer graph for the default SourceDrawer story (`frontend` workload). */
|
|
3
3
|
export declare const MOCK_PEER_SOURCES: PeerSources;
|
|
4
4
|
export declare const MOCK_SERVICE_MAP: ServiceMapSources;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const MOCK_SOURCES_ERROR: Source[];
|
|
6
|
-
export declare const MOCK_SOURCE_JAEGER: Source;
|
|
7
|
-
export declare const MOCK_SOURCES: Source[];
|
|
1
|
+
import { type Workload } from '@/types';
|
|
2
|
+
export declare const MOCK_SOURCES_SIMPLE_DEMO: Workload[];
|
|
3
|
+
export declare const MOCK_SOURCES_EDGE_CASES: Workload[];
|
|
4
|
+
export declare const MOCK_SOURCES: Workload[];
|
|
@@ -5,5 +5,8 @@ export interface DeleteModalProps extends Pick<WarningModalProps, 'isOpen' | 'on
|
|
|
5
5
|
onApprove?: () => void;
|
|
6
6
|
action?: string;
|
|
7
7
|
target?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
overrideApproveButtonLabel?: string;
|
|
10
|
+
overrideDenyButtonLabel?: string;
|
|
8
11
|
}
|
|
9
12
|
export declare const DeleteModal: FC<DeleteModalProps>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
|
-
import { DropdownProps } from '@/components';
|
|
3
2
|
import { FieldTypes, InputTypes } from '@/types';
|
|
4
|
-
import { type FieldMessageProps, type TimeUnit, type BadgeProps } from '@/components/_v2';
|
|
3
|
+
import { type FieldMessageProps, type TimeUnit, type BadgeProps, DropDataOption } from '@/components/_v2';
|
|
5
4
|
export interface DynamicFieldProps extends FieldMessageProps {
|
|
6
5
|
componentType: FieldTypes;
|
|
7
6
|
inputType?: InputTypes;
|
|
@@ -14,7 +13,7 @@ export interface DynamicFieldProps extends FieldMessageProps {
|
|
|
14
13
|
disabled?: boolean;
|
|
15
14
|
value: any;
|
|
16
15
|
setValue: (value: any) => void;
|
|
17
|
-
dropdownOptions?:
|
|
16
|
+
dropdownOptions?: DropDataOption[];
|
|
18
17
|
dropdownNoSearch?: boolean;
|
|
19
18
|
dropdownNoCheckbox?: boolean;
|
|
20
19
|
timeUnits?: TimeUnit[];
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import { ReactNode, type FC } from 'react';
|
|
2
2
|
import type { SVG } from '@/types';
|
|
3
3
|
import { type BadgeProps } from '@/components/_v2/badge';
|
|
4
|
+
import { TypographySize } from '@/components/_v2/typography';
|
|
4
5
|
export interface RichTitleProps {
|
|
5
6
|
icon?: SVG;
|
|
7
|
+
iconWithWrapper?: boolean;
|
|
6
8
|
title?: string;
|
|
9
|
+
titleSize?: TypographySize;
|
|
7
10
|
subTitle?: string;
|
|
11
|
+
subTitleSize?: TypographySize;
|
|
12
|
+
tooltip?: string;
|
|
8
13
|
withCopy?: boolean;
|
|
9
14
|
badge?: BadgeProps;
|
|
10
15
|
gap?: number;
|
|
@@ -11,9 +11,15 @@ export interface WideDrawerProps {
|
|
|
11
11
|
onBack?: () => void;
|
|
12
12
|
onNext?: () => void;
|
|
13
13
|
nextIsSkip?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Persist the form. Resolve with `{ error }` to surface a save error in the footer note,
|
|
16
|
+
* `false` to keep the drawer open without showing any error (e.g. when the caller has
|
|
17
|
+
* already gated on form validation and the inline field messages are enough), or
|
|
18
|
+
* `undefined` on success — the drawer closes itself in that case.
|
|
19
|
+
*/
|
|
14
20
|
onSave: () => Promise<{
|
|
15
21
|
error?: string;
|
|
16
|
-
} | undefined>;
|
|
22
|
+
} | false | undefined>;
|
|
17
23
|
disableSave?: boolean;
|
|
18
24
|
connectionIds?: {
|
|
19
25
|
value: string[];
|
package/lib/snippets/index.d.ts
CHANGED
package/lib/snippets/v2.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{b7 as ActionType,dr as Actions,dq as RichTitle}from"../chunks/ui-components-B0BVzW_z.js";export{C as CancelModal,j as DURATION_OPTIONS,g as DeleteModal,e as DurationErrorsSection,D as DynamicField,N as NOISY_PERCENTAGE_OPTIONS,h as OdigosLogoTextByTier,O as OperationSection,a as PERCENTAGE_OPTIONS,f as PercentageSection,P as PresetWithCustomInput,R as RuleInfoSection,d as RuleTypeSection,b as SamplingPreviewSection,S as SignalsCheckboxList,c as SourceScopeSection,U as UpgradeModal,i as WIDE_DRAWER_WIDTH,W as WideDrawer,Y as YamlSectionCard}from"../chunks/index-RUJS9Blu.js";export{C as ColoredSpan,x as ColoredSpanVariant}from"../chunks/helpers-D-6cJlOn.js";import"react/jsx-runtime";import"styled-components";import"../icons.js";import"zustand";import"react";import"javascript-time-ago";import"../chunks/vendor-Be0cOokr.js";import"prism-react-renderer";import"react-error-boundary";import"react-dom";import"virtua";
|
package/lib/snippets.js
CHANGED
|
@@ -1 +1,49 @@
|
|
|
1
|
-
|
|
1
|
+
import{jsx as e,jsxs as o,Fragment as r}from"react/jsx-runtime";import{memo as t,useRef as i,useEffect as n}from"react";import"./chunks/vendor-Be0cOokr.js";import d,{useTheme as s}from"styled-components";import{N as a,F as l,eF as c,e as p,S as m,j as u,da as h,r as g,k as b}from"./chunks/ui-components-B0BVzW_z.js";import{Handle as x,Position as f,ReactFlowProvider as v,ReactFlow as y,Controls as w,ControlButton as N,useReactFlow as k}from"@xyflow/react";import{RefreshIcon as $}from"./icons.js";import"javascript-time-ago";import"zustand";import"prism-react-renderer";import"react-error-boundary";import"react-dom";import"virtua";const C=d(l)`
|
|
2
|
+
max-width: 300px;
|
|
3
|
+
padding: 12px;
|
|
4
|
+
border-radius: 12px;
|
|
5
|
+
background-color: ${({theme:e})=>e.colors.dropdown_bg};
|
|
6
|
+
justify-content: center;
|
|
7
|
+
`,j=t(({id:o,data:r})=>{const{title:t,subTitle:i}=r;return e(C,{"data-id":o,children:e(a,{title:t,subTitle:i})})});j.displayName=j.name;const E=d.div`
|
|
8
|
+
padding: 6px;
|
|
9
|
+
border-radius: 12px;
|
|
10
|
+
background-color: ${({theme:e})=>e.colors.dropdown_bg};
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
${({$isVirtual:e,theme:o})=>e&&`\n border: 1px dashed ${o.colors.border};\n opacity: 0.8;\n `}
|
|
13
|
+
`,V=d.div`
|
|
14
|
+
position: relative;
|
|
15
|
+
`,_=d.div`
|
|
16
|
+
position: absolute;
|
|
17
|
+
top: 100%;
|
|
18
|
+
margin-top: 4px;
|
|
19
|
+
left: 50%;
|
|
20
|
+
transform: translateX(-50%);
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
align-items: center;
|
|
24
|
+
gap: 2px;
|
|
25
|
+
width: 140px;
|
|
26
|
+
text-align: center;
|
|
27
|
+
`,z=t(({id:t,data:i})=>{const{id:n,status:d,title:a,icons:l,isVirtual:h}=i,g=s(),b=h||d!==m.Error?null:u(d,g);return o(r,{children:[e(x,{type:"source",position:f.Right,style:{visibility:"hidden"}}),e(x,{type:"target",position:f.Left,style:{visibility:"hidden"}}),o(V,{"data-id":t,children:[e(E,{$isVirtual:h,children:e(c,{id:n,icons:l,status:h?void 0:d})}),o(_,{children:[b&&e(b,{}),e(p,{size:12,style:{textAlign:"center",wordBreak:"break-word",lineHeight:"1.3"},children:a})]})]})]})});z.displayName=z.name;const M={duration:300,padding:.1,includeHiddenNodes:!0},T=d.div`
|
|
28
|
+
height: 100%;
|
|
29
|
+
.react-flow__attribution {
|
|
30
|
+
visibility: hidden;
|
|
31
|
+
}
|
|
32
|
+
`,A=d.div`
|
|
33
|
+
button {
|
|
34
|
+
padding: 8px;
|
|
35
|
+
margin: 8px;
|
|
36
|
+
border-radius: 8px;
|
|
37
|
+
border: 1px solid ${({theme:e})=>e.colors.border} !important;
|
|
38
|
+
background-color: ${({theme:e})=>e.colors.dropdown_bg};
|
|
39
|
+
path {
|
|
40
|
+
fill: ${({theme:e})=>e.text.secondary};
|
|
41
|
+
}
|
|
42
|
+
&:hover {
|
|
43
|
+
background-color: ${({theme:e})=>e.colors.dropdown_bg_2};
|
|
44
|
+
}
|
|
45
|
+
&:last-child svg {
|
|
46
|
+
transform: scale(1.4);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
`,F={[b.MapItem]:z,[b.NoData]:j},I=({trigger:e})=>{const{fitView:o}=k(),r=i(!0);return n(()=>{r.current?r.current=!1:e>0&&requestAnimationFrame(()=>o(M))},[e,o]),null},L=({nodes:r,edges:t,onNodesChange:i,onEdgesChange:n,fitViewTrigger:d=0,zoomOnScroll:s=!1,onEdgeClick:a,onNodeMouseEnter:l,onNodeMouseLeave:c,onRefresh:p})=>{const{onClickNode:m}=h(),{setActiveNodeType:u,setActiveNodeId:b}=g();return o(y,{zoomOnScroll:s,nodes:r,nodeTypes:F,edges:t,onNodeClick:m,onEdgeClick:a,onNodeMouseEnter:l,onNodeMouseLeave:c,onNodesChange:i,onEdgesChange:n,onBlur:()=>{u(null),b(null)},children:[e(I,{trigger:d}),e(A,{children:e(w,{position:"bottom-right",orientation:"horizontal",showInteractive:!1,showZoom:!0,showFitView:!0,fitViewOptions:M,children:p&&e(N,{onClick:p,children:e($,{size:20})})})})]})},O=o=>e(T,{children:e(v,{children:e(L,{...o})})});export{O as Flow,z as MapItemNode,j as NoDataNode};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { type Action, type Destination, EntityTypes, type InstrumentationRule, type Namespace, type
|
|
1
|
+
import { type Action, type Destination, EntityTypes, type InstrumentationRule, type Namespace, type WorkloadId, type Workload } from '@/types';
|
|
2
2
|
interface IEntityState {
|
|
3
3
|
namespacesLoading: boolean;
|
|
4
4
|
namespaces: Namespace[];
|
|
5
5
|
sourcesLoading: boolean;
|
|
6
|
-
sources:
|
|
6
|
+
sources: Workload[];
|
|
7
7
|
destinationsLoading: boolean;
|
|
8
8
|
destinations: Destination[];
|
|
9
9
|
actionsLoading: boolean;
|
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { DropDataOption } from '@/components/_v2';
|
|
2
2
|
export interface FiltersState {
|
|
3
3
|
searchText: string;
|
|
4
|
-
statuses?:
|
|
5
|
-
platformTypes?:
|
|
6
|
-
namespaces?:
|
|
7
|
-
kinds?:
|
|
8
|
-
monitors?:
|
|
9
|
-
languages?:
|
|
10
|
-
|
|
11
|
-
podsAgentInjectionStatus?: DropdownProps['options'];
|
|
12
|
-
errors?: DropdownProps['options'];
|
|
4
|
+
statuses?: DropDataOption[];
|
|
5
|
+
platformTypes?: DropDataOption[];
|
|
6
|
+
namespaces?: DropDataOption[];
|
|
7
|
+
kinds?: DropDataOption[];
|
|
8
|
+
monitors?: DropDataOption[];
|
|
9
|
+
languages?: DropDataOption[];
|
|
10
|
+
podsAgentInjectionStatus?: DropDataOption[];
|
|
13
11
|
onlyErrors?: boolean;
|
|
14
12
|
}
|
|
15
13
|
interface StoreState {
|
|
@@ -27,12 +25,8 @@ interface StoreState {
|
|
|
27
25
|
setMonitors: (metrics: FiltersState['monitors']) => void;
|
|
28
26
|
languages: FiltersState['languages'];
|
|
29
27
|
setLanguages: (metrics: FiltersState['languages']) => void;
|
|
30
|
-
conditions: FiltersState['conditions'];
|
|
31
|
-
setConditions: (conditions: FiltersState['conditions']) => void;
|
|
32
28
|
podsAgentInjectionStatus: FiltersState['podsAgentInjectionStatus'];
|
|
33
29
|
setPodsAgentInjectionStatus: (podsAgentInjectionStatus: FiltersState['podsAgentInjectionStatus']) => void;
|
|
34
|
-
errors: FiltersState['errors'];
|
|
35
|
-
setErrors: (metrics: FiltersState['errors']) => void;
|
|
36
30
|
onlyErrors: FiltersState['onlyErrors'];
|
|
37
31
|
setOnlyErrors: (onlyErrors: FiltersState['onlyErrors']) => void;
|
|
38
32
|
setAll: (params: Partial<FiltersState>) => void;
|
|
@@ -1,21 +1,16 @@
|
|
|
1
|
-
import type { Destination,
|
|
2
|
-
export type AvailableSource = Pick<Source, 'namespace' | 'name' | 'kind' | 'selected' | 'numberOfInstances'>;
|
|
3
|
-
export interface AvailableSourcesByNamespace {
|
|
4
|
-
[namespace: string]: AvailableSource[];
|
|
5
|
-
}
|
|
6
|
-
export type SelectedSource = AvailableSource & {
|
|
7
|
-
currentStreamName: string;
|
|
8
|
-
};
|
|
1
|
+
import type { Destination, Workload } from '@/types';
|
|
9
2
|
export interface SourceSelectionFormData {
|
|
10
|
-
[namespace: string]:
|
|
3
|
+
[namespace: string]: (Pick<Workload, 'id' | 'numberOfInstances'> & {
|
|
4
|
+
selected: boolean;
|
|
5
|
+
currentStreamName: string;
|
|
6
|
+
})[];
|
|
11
7
|
}
|
|
12
|
-
export type SelectedNamespace = {
|
|
13
|
-
namespace: string;
|
|
14
|
-
selected: boolean;
|
|
15
|
-
currentStreamName: string;
|
|
16
|
-
};
|
|
17
8
|
export interface NamespaceSelectionFormData {
|
|
18
|
-
[namespace: string]:
|
|
9
|
+
[namespace: string]: {
|
|
10
|
+
namespace: string;
|
|
11
|
+
selected: boolean;
|
|
12
|
+
currentStreamName: string;
|
|
13
|
+
};
|
|
19
14
|
}
|
|
20
15
|
export interface ISetupState {
|
|
21
16
|
configuredSources: SourceSelectionFormData;
|
package/lib/store.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{aL as ProgressKeys,r as useActiveNodeStore,fK as useDarkMode,H as useDataStreamStore,ba as useDrawerStore,q as useEntityStore,d5 as useFilterStore,bP as useModalStore,d as useNotificationStore,aK as useProgressStore,de as useSelectedStore,dn as useSetupStore}from"./chunks/ui-components-B0BVzW_z.js";import"react/jsx-runtime";import"styled-components";import"./icons.js";import"zustand";import"react";import"javascript-time-ago";import"./chunks/vendor-Be0cOokr.js";import"prism-react-renderer";import"react-error-boundary";import"react-dom";import"virtua";
|
package/lib/theme.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{fS as Provider,fT as animations,fU as opacity,fV as palettes}from"./chunks/ui-components-B0BVzW_z.js";import"react/jsx-runtime";import"styled-components";import"./icons.js";import"zustand";import"react";import"javascript-time-ago";import"./chunks/vendor-Be0cOokr.js";import"prism-react-renderer";import"react-error-boundary";import"react-dom";import"virtua";
|
|
@@ -129,9 +129,37 @@ export declare enum OtherStatusType {
|
|
|
129
129
|
export interface Condition {
|
|
130
130
|
status: StatusType | OtherStatus;
|
|
131
131
|
type: string;
|
|
132
|
+
name?: string;
|
|
132
133
|
reason?: string | null;
|
|
133
134
|
message?: string | null;
|
|
134
135
|
}
|
|
136
|
+
export declare enum ConditionType {
|
|
137
|
+
MarkedForInstrumentation = "MarkedForInstrumentation",
|
|
138
|
+
RuntimeDetection = "RuntimeDetection",
|
|
139
|
+
AgentEnabled = "AgentEnabled",
|
|
140
|
+
AgentInjected = "AgentInjected",
|
|
141
|
+
WorkloadRollout = "WorkloadRollout",
|
|
142
|
+
ProcessesHealthStatus = "ProcessesHealthStatus",
|
|
143
|
+
ExpectingTelemetry = "ExpectingTelemetry",
|
|
144
|
+
WorkloadOdigosHealth = "WorkloadOdigosHealth"
|
|
145
|
+
}
|
|
146
|
+
export declare enum WorkloadRolloutReason {
|
|
147
|
+
TriggeredSuccessfully = "RolloutTriggeredSuccessfully",
|
|
148
|
+
RolloutFinished = "RolloutFinished",
|
|
149
|
+
PreviousRolloutOngoing = "PreviousRolloutOngoing",
|
|
150
|
+
Disabled = "Disabled",
|
|
151
|
+
NotRequired = "NotRequired",
|
|
152
|
+
WaitingForRestart = "WaitingForRestart",
|
|
153
|
+
WorkloadNotSupporting = "WorkloadNotSupporting",
|
|
154
|
+
WaitingInQueue = "WaitingInQueue",
|
|
155
|
+
FailedToPatch = "FailedToPatch"
|
|
156
|
+
}
|
|
157
|
+
export declare enum AgentInjectedReason {
|
|
158
|
+
SuccessfullyInjected = "SuccessfullyInjected",
|
|
159
|
+
NoAgentInjected = "NoAgentInjected",
|
|
160
|
+
SomePodsAgentNotInjectedRolloutNeeded = "SomePodsAgentNotInjectedRolloutNeeded",
|
|
161
|
+
AgentInjectedAndDataSent = "AgentInjectedAndDataSent"
|
|
162
|
+
}
|
|
135
163
|
export interface Notification {
|
|
136
164
|
id: string;
|
|
137
165
|
type: StatusType;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import { type Condition, FieldTypes, SVG, InputTypes } from '../common';
|
|
1
|
+
import { type DropDataOption } from '@/components/_v2';
|
|
2
|
+
import { type Condition, FieldTypes, type SVG, InputTypes } from '../common';
|
|
3
3
|
export declare enum DestinationTypes {
|
|
4
4
|
Alauda = "alauda",
|
|
5
5
|
AlibabaCloud = "alibabacloud",
|
|
@@ -146,7 +146,7 @@ export interface DestinationDynamicField {
|
|
|
146
146
|
required?: boolean;
|
|
147
147
|
tooltip?: string;
|
|
148
148
|
placeholder?: string;
|
|
149
|
-
options?:
|
|
149
|
+
options?: DropDataOption[];
|
|
150
150
|
}
|
|
151
151
|
export interface GetDestinationCategoriesResult {
|
|
152
152
|
destinationCategories: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Workload } from '../workload';
|
|
2
2
|
export interface Namespace {
|
|
3
3
|
name: string;
|
|
4
|
-
|
|
4
|
+
markedForInstrumentation: boolean;
|
|
5
5
|
dataStreamNames: string[];
|
|
6
|
-
|
|
6
|
+
workloads?: Pick<Workload, 'id' | 'markedForInstrumentation' | 'dataStreamNames' | 'numberOfInstances'>[];
|
|
7
7
|
}
|
|
8
8
|
export type FetchNamespacesWithWorkloads = () => Promise<{
|
|
9
9
|
loading: boolean;
|
|
@@ -4,8 +4,8 @@ export interface ServiceMapFromSource {
|
|
|
4
4
|
services: ServiceMapToSource[];
|
|
5
5
|
}
|
|
6
6
|
export interface ServiceMapToSource {
|
|
7
|
-
nodeId
|
|
8
|
-
isVirtual
|
|
7
|
+
nodeId?: string;
|
|
8
|
+
isVirtual?: boolean;
|
|
9
9
|
serviceName: string;
|
|
10
10
|
requests: number;
|
|
11
11
|
dateTime: string;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ProgrammingLanguages } from '../common';
|
|
2
2
|
import type { DescribeSource } from '../describe';
|
|
3
3
|
import type { PeerSources } from '../service-map';
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
4
|
+
import type { Workload, WorkloadId } from '../workload';
|
|
5
|
+
import { K8sResourceKind, OtelDistroName } from '../enum';
|
|
6
6
|
import type { InstrumentationInstanceComponent } from '../instrumentation-instances';
|
|
7
|
-
import type { NamespaceSelectionFormData, SourceSelectionFormData } from '@/store';
|
|
8
7
|
export interface PersistSourceInput {
|
|
9
8
|
[clusterId: string]: {
|
|
10
9
|
namespace: string;
|
|
@@ -17,41 +16,6 @@ export interface PersistSourceInput {
|
|
|
17
16
|
export type PersistSourcesFunc = (payload: PersistSourceInput) => Promise<{
|
|
18
17
|
error?: string;
|
|
19
18
|
} | undefined>;
|
|
20
|
-
export interface SourceContainerRuntimeInfo {
|
|
21
|
-
language: ProgrammingLanguages;
|
|
22
|
-
runtimeVersion: string | null;
|
|
23
|
-
}
|
|
24
|
-
export interface SourceContainerAgentEnabled {
|
|
25
|
-
agentEnabled: boolean;
|
|
26
|
-
agentEnabledStatus: {
|
|
27
|
-
message: string;
|
|
28
|
-
};
|
|
29
|
-
otelDistroName: OtelDistroName | null;
|
|
30
|
-
}
|
|
31
|
-
export interface SourceContainerOverrides {
|
|
32
|
-
containerName: string;
|
|
33
|
-
runtimeInfo: SourceContainerRuntimeInfo | null;
|
|
34
|
-
}
|
|
35
|
-
export interface SourceContainer {
|
|
36
|
-
containerName: string;
|
|
37
|
-
runtimeInfo: SourceContainerRuntimeInfo | null;
|
|
38
|
-
agentEnabled: SourceContainerAgentEnabled | null;
|
|
39
|
-
overrides: SourceContainerOverrides | null;
|
|
40
|
-
}
|
|
41
|
-
export interface Source extends WorkloadId {
|
|
42
|
-
selected: boolean;
|
|
43
|
-
otelServiceName: string;
|
|
44
|
-
numberOfInstances?: number;
|
|
45
|
-
dataStreamNames: string[];
|
|
46
|
-
containers: SourceContainer[] | null;
|
|
47
|
-
conditions: Condition[] | null;
|
|
48
|
-
workloadOdigosHealthStatus?: DesiredConditionStatus | null;
|
|
49
|
-
detectedLanguages?: ProgrammingLanguages[] | null;
|
|
50
|
-
podsAgentInjectionStatus?: DesiredConditionStatus | null;
|
|
51
|
-
rollbackOccurred?: boolean;
|
|
52
|
-
manifestYAML?: string | null;
|
|
53
|
-
instrumentationConfigYAML?: string | null;
|
|
54
|
-
}
|
|
55
19
|
export interface SourceFormData {
|
|
56
20
|
otelServiceName?: string;
|
|
57
21
|
currentStreamName?: string;
|
|
@@ -60,9 +24,8 @@ export interface SourceFormData {
|
|
|
60
24
|
version?: string;
|
|
61
25
|
otelDistroName?: OtelDistroName | null;
|
|
62
26
|
}
|
|
63
|
-
export type PersistSources = (selectAppsList: SourceSelectionFormData, futureSelectAppsList: NamespaceSelectionFormData) => void;
|
|
64
27
|
export type UpdateSourceFunc = (sourceId: WorkloadId, payload: SourceFormData) => Promise<void>;
|
|
65
|
-
export type FetchSourceByIdFunc = (id: WorkloadId, bypassPaginationLoader?: boolean) => Promise<
|
|
28
|
+
export type FetchSourceByIdFunc = (id: WorkloadId, bypassPaginationLoader?: boolean) => Promise<Workload | undefined>;
|
|
66
29
|
export type FetchSourceDescribeFunc = (req: WorkloadId) => Promise<{
|
|
67
30
|
data?: {
|
|
68
31
|
describeSource: DescribeSource;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ProgrammingLanguages } from '../common';
|
|
2
|
+
import { K8sResourceKind, OtelDistroName, DesiredStateProgress } from '../enum';
|
|
2
3
|
export interface WorkloadId {
|
|
3
4
|
namespace: string;
|
|
4
5
|
name: string;
|
|
@@ -9,7 +10,7 @@ interface WorkloadFilter extends Partial<WorkloadId> {
|
|
|
9
10
|
}
|
|
10
11
|
export interface DesiredConditionStatus {
|
|
11
12
|
name?: string;
|
|
12
|
-
status
|
|
13
|
+
status?: DesiredStateProgress;
|
|
13
14
|
reasonEnum?: string | null;
|
|
14
15
|
message: string;
|
|
15
16
|
}
|
|
@@ -21,9 +22,150 @@ export interface NamespaceWorkload {
|
|
|
21
22
|
dataStreamNames: string[];
|
|
22
23
|
numberOfInstances: number | null;
|
|
23
24
|
}
|
|
25
|
+
export interface K8sWorkloadMarkedForInstrumentation {
|
|
26
|
+
markedForInstrumentation: boolean | null;
|
|
27
|
+
}
|
|
28
|
+
export interface EnvVar {
|
|
29
|
+
name: string;
|
|
30
|
+
value: string;
|
|
31
|
+
}
|
|
32
|
+
export interface K8sWorkloadRuntimeInfoContainer {
|
|
33
|
+
language: ProgrammingLanguages;
|
|
34
|
+
runtimeVersion?: string | null;
|
|
35
|
+
}
|
|
36
|
+
export interface K8sWorkloadRuntimeInfo {
|
|
37
|
+
detectedLanguages?: ProgrammingLanguages[] | null;
|
|
38
|
+
}
|
|
39
|
+
export interface DistroParam {
|
|
40
|
+
name: string;
|
|
41
|
+
value: string;
|
|
42
|
+
}
|
|
43
|
+
export interface K8sWorkloadAgentEnabledContainerTraces {
|
|
44
|
+
enabled: boolean;
|
|
45
|
+
}
|
|
46
|
+
export interface K8sWorkloadAgentEnabledContainerMetrics {
|
|
47
|
+
enabled: boolean;
|
|
48
|
+
}
|
|
49
|
+
export interface K8sWorkloadAgentEnabledContainerLogs {
|
|
50
|
+
enabled: boolean;
|
|
51
|
+
}
|
|
52
|
+
export interface K8sWorkloadAgentEnabledContainer {
|
|
53
|
+
agentEnabled: boolean;
|
|
54
|
+
agentEnabledStatus?: DesiredConditionStatus | null;
|
|
55
|
+
otelDistroName?: OtelDistroName | null;
|
|
56
|
+
}
|
|
57
|
+
export interface K8sWorkloadAgentEnabled {
|
|
58
|
+
agentEnabled: boolean;
|
|
59
|
+
enabledStatus: DesiredConditionStatus;
|
|
60
|
+
containers?: K8sWorkloadAgentEnabledContainer[] | null;
|
|
61
|
+
}
|
|
62
|
+
export interface K8sWorkloadRollout {
|
|
63
|
+
rolloutStatus?: DesiredConditionStatus | null;
|
|
64
|
+
}
|
|
65
|
+
export interface K8sWorkloadContainerOverrides {
|
|
66
|
+
containerName: string;
|
|
67
|
+
otelDistroName?: OtelDistroName | null;
|
|
68
|
+
runtimeInfo?: K8sWorkloadRuntimeInfoContainer | null;
|
|
69
|
+
}
|
|
70
|
+
export declare enum K8sWorkloadContainerAgentConfigTracesHeadSamplingCheckConditionOperator {
|
|
71
|
+
Equals = "equals",
|
|
72
|
+
NotEquals = "notEquals",
|
|
73
|
+
EndWith = "endWith",
|
|
74
|
+
StartWith = "startWith"
|
|
75
|
+
}
|
|
76
|
+
export interface K8sWorkloadContainerAgentConfigTracesHeadSamplingCheckCondition {
|
|
77
|
+
key: string;
|
|
78
|
+
operator: K8sWorkloadContainerAgentConfigTracesHeadSamplingCheckConditionOperator;
|
|
79
|
+
value: string;
|
|
80
|
+
}
|
|
81
|
+
export interface K8sWorkloadContainerAgentConfigTracesHeadSamplingCheck {
|
|
82
|
+
conditions?: K8sWorkloadContainerAgentConfigTracesHeadSamplingCheckCondition[] | null;
|
|
83
|
+
percentage: number;
|
|
84
|
+
}
|
|
85
|
+
export interface K8sWorkloadContainerAgentConfigTracesHeadSampling {
|
|
86
|
+
checks?: K8sWorkloadContainerAgentConfigTracesHeadSamplingCheck[] | null;
|
|
87
|
+
fallbackPercentage: number;
|
|
88
|
+
}
|
|
89
|
+
export interface K8sWorkloadContainerAgentConfigTraces {
|
|
90
|
+
headSampling?: K8sWorkloadContainerAgentConfigTracesHeadSampling | null;
|
|
91
|
+
}
|
|
92
|
+
export interface K8sWorkloadContainerAgentConfig {
|
|
93
|
+
traces?: K8sWorkloadContainerAgentConfigTraces | null;
|
|
94
|
+
}
|
|
95
|
+
export interface K8sWorkloadPodContainerProcessAttribute {
|
|
96
|
+
name: string;
|
|
97
|
+
value: string;
|
|
98
|
+
}
|
|
99
|
+
export interface K8sWorkloadPodContainerProcessInstrumentation {
|
|
100
|
+
name: string;
|
|
101
|
+
healthy?: boolean | null;
|
|
102
|
+
message?: string | null;
|
|
103
|
+
isStandardLibrary?: boolean | null;
|
|
104
|
+
}
|
|
105
|
+
export interface K8sWorkloadContainer {
|
|
106
|
+
containerName: string;
|
|
107
|
+
runtimeInfo?: K8sWorkloadRuntimeInfoContainer | null;
|
|
108
|
+
agentEnabled?: K8sWorkloadAgentEnabledContainer | null;
|
|
109
|
+
overrides?: K8sWorkloadContainerOverrides | null;
|
|
110
|
+
}
|
|
111
|
+
export interface K8sWorkloadPodContainerProcess {
|
|
112
|
+
healthy?: boolean | null;
|
|
113
|
+
healthStatus?: DesiredConditionStatus | null;
|
|
114
|
+
identifyingAttributes?: K8sWorkloadPodContainerProcessAttribute[] | null;
|
|
115
|
+
instrumentations?: K8sWorkloadPodContainerProcessInstrumentation[] | null;
|
|
116
|
+
}
|
|
117
|
+
export interface K8sWorkloadPodContainer {
|
|
118
|
+
containerName: string;
|
|
119
|
+
otelDistroName?: OtelDistroName | null;
|
|
120
|
+
started?: boolean | null;
|
|
121
|
+
ready?: boolean | null;
|
|
122
|
+
isCrashLoop?: boolean | null;
|
|
123
|
+
restartCount?: number | null;
|
|
124
|
+
runningStartedTime?: string | null;
|
|
125
|
+
waitingReasonEnum?: string | null;
|
|
126
|
+
waitingMessage?: string | null;
|
|
127
|
+
healthStatus?: DesiredConditionStatus | null;
|
|
128
|
+
processes?: K8sWorkloadPodContainerProcess[] | null;
|
|
129
|
+
}
|
|
130
|
+
export interface K8sWorkloadPod {
|
|
131
|
+
podName: string;
|
|
132
|
+
nodeName: string;
|
|
133
|
+
startTime: string;
|
|
134
|
+
agentInjected: boolean;
|
|
135
|
+
agentInjectedStatus?: DesiredConditionStatus | null;
|
|
136
|
+
podHealthStatus?: DesiredConditionStatus | null;
|
|
137
|
+
containers?: K8sWorkloadPodContainer[] | null;
|
|
138
|
+
}
|
|
139
|
+
export interface K8sWorkloadTelemetryMetricsExpectingTelemetryStatus {
|
|
140
|
+
isExpectingTelemetry?: boolean | null;
|
|
141
|
+
telemetryObservedStatus?: DesiredConditionStatus | null;
|
|
142
|
+
}
|
|
143
|
+
export interface K8sWorkloadTelemetryMetrics {
|
|
144
|
+
throughputBytes?: number | null;
|
|
145
|
+
}
|
|
146
|
+
export interface K8sWorkloadConditions {
|
|
147
|
+
runtimeDetection?: DesiredConditionStatus | null;
|
|
148
|
+
agentInjectionEnabled?: DesiredConditionStatus | null;
|
|
149
|
+
rollout?: DesiredConditionStatus | null;
|
|
150
|
+
agentInjected?: DesiredConditionStatus | null;
|
|
151
|
+
processesAgentHealth?: DesiredConditionStatus | null;
|
|
152
|
+
expectingTelemetry?: DesiredConditionStatus | null;
|
|
153
|
+
}
|
|
24
154
|
export interface Workload {
|
|
25
155
|
id: WorkloadId;
|
|
26
|
-
|
|
156
|
+
serviceName?: string | null;
|
|
157
|
+
workloadOdigosHealthStatus?: DesiredConditionStatus | null;
|
|
158
|
+
conditions?: K8sWorkloadConditions | null;
|
|
159
|
+
markedForInstrumentation?: K8sWorkloadMarkedForInstrumentation | null;
|
|
160
|
+
runtimeInfo?: K8sWorkloadRuntimeInfo | null;
|
|
161
|
+
containers?: K8sWorkloadContainer[] | null;
|
|
162
|
+
pods?: K8sWorkloadPod[] | null;
|
|
163
|
+
podsAgentInjectionStatus?: DesiredConditionStatus | null;
|
|
164
|
+
podsHealthStatus?: DesiredConditionStatus | null;
|
|
165
|
+
telemetryMetrics?: K8sWorkloadTelemetryMetrics[] | null;
|
|
166
|
+
dataStreamNames?: string[] | null;
|
|
167
|
+
numberOfInstances?: number | null;
|
|
168
|
+
rollbackOccurred?: boolean | null;
|
|
27
169
|
}
|
|
28
170
|
export type GetWorkloads = (filter: WorkloadFilter) => Promise<{
|
|
29
171
|
workloads: Workload[];
|
package/lib/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{eG as ActionCategory,y as ActionKeyTypes,z as ActionType,eH as AddNodeTypes,bh as AgentInjectedReason,eI as BooleanOperation,aj as CodeAttributesKeyTypes,eJ as ConditionType,C as Crud,W as CustomInstrumentationsKeyTypes,b0 as DesiredStateProgress,eK as DestinationTypes,eL as EdgeTypes,E as EntityTypes,R as FieldTypes,X as GolangCustomProbe,V as HeadersCollectionKeyTypes,a3 as InputTypes,eM as InstallationMethod,Z as InstrumentationRuleType,eN as IntrumentationStatus,Y as JavaCustomProbe,eO as JsonOperation,a5 as K8sAttributesFrom,_ as K8sResourceKind,eP as K8sWorkloadContainerAgentConfigTracesHeadSamplingCheckConditionOperator,eQ as ListDirection,k as NodeTypes,eR as NumberOperation,eS as OtelDistroName,eT as OtherEntityTypes,b5 as OtherStatus,aH as OtherStatusType,al as PayloadCollectionKeyTypes,P as PlatformType,eU as PodContainerLifecycleStatus,eV as PodContainerStatus,eW as PodPhase,eX as Profile,bo as ProgrammingLanguages,eY as SIGNAL_KEY_TO_TYPE,eZ as SIGNAL_TYPE_TO_KEY,e_ as SignalKey,M as SignalType,e$ as SortDirection,S as StatusType,f0 as StringOperation,T as Tier,bg as WorkloadRolloutReason,dt as WorkloadRolloutStatus}from"./chunks/ui-components-B0BVzW_z.js";import"react/jsx-runtime";import"styled-components";import"./icons.js";import"zustand";import"react";import"javascript-time-ago";import"./chunks/vendor-Be0cOokr.js";import"prism-react-renderer";import"react-error-boundary";import"react-dom";import"virtua";
|
package/lib/visuals.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{f1 as VISUAL_ODIGOS_LOGO_HEIGHT,f2 as VISUAL_ODIGOS_LOGO_WIDTH,eD as VisualGreenRings,f3 as VisualOdigosLogo,b_ as VisualPurpleRings}from"./chunks/ui-components-B0BVzW_z.js";import"react/jsx-runtime";import"styled-components";import"./icons.js";import"zustand";import"react";import"javascript-time-ago";import"./chunks/vendor-Be0cOokr.js";import"prism-react-renderer";import"react-error-boundary";import"react-dom";import"virtua";
|