@odigos/ui-kit 0.0.239 → 0.0.241

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.
Files changed (144) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/lib/chunks/helpers-L572q0MU.js +19 -0
  3. package/lib/chunks/index-DHcHiz_q.js +149 -0
  4. package/lib/chunks/source-instrument-form-context-vq8DFX7f.js +1 -0
  5. package/lib/chunks/ui-components-DeKNGyn7.js +1570 -0
  6. package/lib/chunks/{vendor-C150cdxb.js → vendor-Be0cOokr.js} +1 -1
  7. package/lib/components/_v2/button/index.d.ts +1 -1
  8. package/lib/components/_v2/cards/data-card/index.d.ts +1 -0
  9. package/lib/components/_v2/condition/index.d.ts +1 -0
  10. package/lib/components/_v2/drop-data/index.d.ts +2 -2
  11. package/lib/components/_v2/input-table/types.d.ts +2 -0
  12. package/lib/components/index.d.ts +0 -22
  13. package/lib/components/v2.js +1 -1
  14. package/lib/components.js +1 -1
  15. package/lib/constants/sources/index.d.ts +5 -5
  16. package/lib/constants/strings/index.d.ts +16 -3
  17. package/lib/constants.js +1 -1
  18. package/lib/containers/_v2/_drawers/add-source-drawer/strings.d.ts +54 -0
  19. package/lib/containers/_v2/_drawers/edit-source-drawer/common/pods-header.d.ts +1 -1
  20. package/lib/containers/_v2/_drawers/edit-source-drawer/helpers.d.ts +3 -3
  21. package/lib/containers/_v2/_drawers/edit-source-drawer/index.d.ts +3 -3
  22. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/containers-card/index.d.ts +2 -2
  23. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/containers-card/popup-form.d.ts +4 -0
  24. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/containers-card/runtime-override.d.ts +1 -0
  25. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/health-card.d.ts +2 -2
  26. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/index.d.ts +2 -2
  27. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/main-card.d.ts +2 -2
  28. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/index.d.ts +2 -2
  29. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/pods-list/container-row.d.ts +1 -1
  30. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/pods-list/helpers.d.ts +4 -2
  31. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/pods-list/pod-row.d.ts +1 -1
  32. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/pods-list/process-row.d.ts +1 -0
  33. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/pods-list/row-header.d.ts +3 -2
  34. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/pods-list/types.d.ts +1 -8
  35. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/statuses-card.d.ts +2 -2
  36. package/lib/containers/_v2/_drawers/edit-source-drawer/peers/index.d.ts +2 -2
  37. package/lib/containers/_v2/_drawers/edit-source-drawer/pods/containers-card/index.d.ts +2 -2
  38. package/lib/containers/_v2/_drawers/edit-source-drawer/pods/containers-card/process-card.d.ts +3 -1
  39. package/lib/containers/_v2/_drawers/edit-source-drawer/pods/index.d.ts +2 -2
  40. package/lib/containers/_v2/_drawers/edit-source-drawer/pods/pod-debug-commands.d.ts +7 -0
  41. package/lib/containers/_v2/_drawers/edit-source-drawer/profiling/index.d.ts +2 -2
  42. package/lib/containers/_v2/_drawers/edit-source-drawer/yaml-files/index.d.ts +6 -0
  43. package/lib/containers/_v2/overview/columns/column/index.d.ts +2 -2
  44. package/lib/containers/_v2/overview/columns/column/list-item.d.ts +2 -2
  45. package/lib/containers/_v2/overview/columns/column/source-visual-state.d.ts +3 -3
  46. package/lib/containers/_v2/overview/drawers/index.d.ts +1 -1
  47. package/lib/containers/_v2/overview/search/builder.d.ts +4 -4
  48. package/lib/containers/index.d.ts +0 -3
  49. package/lib/containers/service-map/helpers/build-map-nodes.d.ts +2 -2
  50. package/lib/containers/v2.js +172 -125
  51. package/lib/containers.js +19 -49
  52. package/lib/contexts/source-edit-form-context.d.ts +2 -2
  53. package/lib/contexts.js +1 -1
  54. package/lib/functions/build-badge-for-desired-status/index.d.ts +6 -0
  55. package/lib/functions/filter-sources/index.d.ts +2 -2
  56. package/lib/functions/filter-sources-by-stream/index.d.ts +2 -2
  57. package/lib/functions/get-conditions-booleans/index.d.ts +5 -3
  58. package/lib/functions/get-containers-counts/index.d.ts +2 -2
  59. package/lib/functions/get-containers-icons/index.d.ts +5 -5
  60. package/lib/functions/get-entity-id/index.d.ts +8 -4
  61. package/lib/functions/get-health-badge-label/index.d.ts +2 -0
  62. package/lib/functions/get-main-container-language/index.d.ts +2 -2
  63. package/lib/functions/get-workload-id/index.d.ts +2 -2
  64. package/lib/functions/index.d.ts +2 -1
  65. package/lib/functions/map-desired-status-to-condition-status/index.d.ts +1 -1
  66. package/lib/functions.js +1 -1
  67. package/lib/hooks/index.d.ts +0 -1
  68. package/lib/hooks/useActionFormData.d.ts +1 -1
  69. package/lib/hooks/useSourceFormData.d.ts +2 -2
  70. package/lib/hooks/useTimeAgo.d.ts +11 -0
  71. package/lib/hooks.js +1 -1
  72. package/lib/icons/common/inbound-icon/index.d.ts +2 -0
  73. package/lib/icons/common/index.d.ts +2 -0
  74. package/lib/icons/common/outbound-icon/index.d.ts +2 -0
  75. package/lib/icons/destinations/open-telemetry-logo/index.d.ts +1 -0
  76. package/lib/icons.js +1 -1
  77. package/lib/mock-data/index.d.ts +0 -1
  78. package/lib/mock-data/sources/index.d.ts +4 -7
  79. package/lib/mock-data/sources/yamls.d.ts +22 -0
  80. package/lib/snippets/_v2/delete-modal/index.d.ts +3 -0
  81. package/lib/snippets/_v2/dynamic-field/index.d.ts +2 -3
  82. package/lib/snippets/_v2/yaml-section-card/index.d.ts +2 -1
  83. package/lib/snippets/index.d.ts +0 -4
  84. package/lib/snippets/v2.js +1 -1
  85. package/lib/snippets.js +49 -1
  86. package/lib/store/useEntityStore.d.ts +2 -2
  87. package/lib/store/useFilterStore.d.ts +8 -14
  88. package/lib/store/useSelectedStore.d.ts +2 -2
  89. package/lib/store/useSetupStore.d.ts +10 -15
  90. package/lib/store.js +1 -1
  91. package/lib/theme.js +1 -1
  92. package/lib/types/destinations/index.d.ts +3 -3
  93. package/lib/types/namespaces/index.d.ts +3 -3
  94. package/lib/types/sources/index.d.ts +3 -44
  95. package/lib/types/workload/index.d.ts +24 -51
  96. package/lib/types.js +1 -1
  97. package/lib/visuals.js +1 -1
  98. package/package.json +1 -1
  99. package/lib/chunks/index-B5PgIL40.js +0 -3
  100. package/lib/chunks/index-Dy4pkeq6.js +0 -145
  101. package/lib/chunks/index-uXyrp4Xe.js +0 -41
  102. package/lib/chunks/ui-components-BPdnIOmj.js +0 -2248
  103. package/lib/components/badge/index.d.ts +0 -11
  104. package/lib/components/button/index.d.ts +0 -6
  105. package/lib/components/cancel-warning/index.d.ts +0 -10
  106. package/lib/components/checkbox/index.d.ts +0 -15
  107. package/lib/components/condition-details/index.d.ts +0 -10
  108. package/lib/components/data-card/data-card-fields/index.d.ts +0 -23
  109. package/lib/components/data-card/index.d.ts +0 -17
  110. package/lib/components/data-tab/index.d.ts +0 -43
  111. package/lib/components/delete-warning/index.d.ts +0 -13
  112. package/lib/components/describe-row/index.d.ts +0 -13
  113. package/lib/components/drawer/drawer-footer/index.d.ts +0 -16
  114. package/lib/components/drawer/drawer-header/index.d.ts +0 -24
  115. package/lib/components/drawer/index.d.ts +0 -15
  116. package/lib/components/dropdown/index.d.ts +0 -25
  117. package/lib/components/extend-arrow/index.d.ts +0 -8
  118. package/lib/components/field-error/index.d.ts +0 -4
  119. package/lib/components/field-label/index.d.ts +0 -11
  120. package/lib/components/input/index.d.ts +0 -15
  121. package/lib/components/modal/index.d.ts +0 -14
  122. package/lib/components/monitors-icons/index.d.ts +0 -11
  123. package/lib/components/no-data-found/index.d.ts +0 -6
  124. package/lib/components/popup-form/index.d.ts +0 -18
  125. package/lib/components/status/index.d.ts +0 -17
  126. package/lib/components/tab-list/index.d.ts +0 -18
  127. package/lib/components/warning-modal/index.d.ts +0 -24
  128. package/lib/containers/_v2/_drawers/edit-source-drawer/pods/debug-commands.d.ts +0 -6
  129. package/lib/containers/overview-drawer/index.d.ts +0 -27
  130. package/lib/containers/source-drawer/build-card.d.ts +0 -3
  131. package/lib/containers/source-drawer/describe/index.d.ts +0 -13
  132. package/lib/containers/source-drawer/index.d.ts +0 -23
  133. package/lib/containers/source-drawer/libraries/index.d.ts +0 -12
  134. package/lib/containers/source-drawer/odigos-health/index.d.ts +0 -5
  135. package/lib/containers/source-drawer/peers/index.d.ts +0 -12
  136. package/lib/containers/source-form/index.d.ts +0 -8
  137. package/lib/functions/is-pod-injected-with-agent/index.d.ts +0 -3
  138. package/lib/hooks/useSourceSelectionFormData.d.ts +0 -32
  139. package/lib/mock-data/workload/index.d.ts +0 -2
  140. package/lib/snippets/add-button/index.d.ts +0 -9
  141. package/lib/snippets/copy-text/index.d.ts +0 -7
  142. package/lib/snippets/pod-container/index.d.ts +0 -5
  143. package/lib/snippets/source-container/index.d.ts +0 -6
  144. package/lib/snippets/source-container/override-runtime.d.ts +0 -10
@@ -10,7 +10,7 @@ export declare enum ButtonSize {
10
10
  M = "medium",
11
11
  L = "large"
12
12
  }
13
- export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
13
+ export interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'onClick'> {
14
14
  'data-id'?: string;
15
15
  label?: string;
16
16
  tooltip?: string;
@@ -20,6 +20,7 @@ export interface DataCardProps {
20
20
  dropDataActions?: (DropDataProps['items'][number] & {
21
21
  onClick: () => void;
22
22
  })[];
23
+ renderOnRightSide?: ReactNode;
23
24
  cellsPerRow?: number;
24
25
  items?: {
25
26
  id: string;
@@ -19,6 +19,7 @@ export interface ConditionProps {
19
19
  hideIcon?: boolean;
20
20
  hideBackground?: boolean;
21
21
  width?: CSSProperties['width'];
22
+ slim?: boolean;
22
23
  }
23
24
  export declare const Condition: FC<ConditionProps>;
24
25
  export {};
@@ -9,8 +9,8 @@ export declare enum DropDataAlignY {
9
9
  Top = "top",
10
10
  Bottom = "bottom"
11
11
  }
12
- export interface DropDataOption {
13
- id: string;
12
+ export interface DropDataOption<T = string> {
13
+ id: T;
14
14
  label: string;
15
15
  color?: CSSProperties['color'];
16
16
  icon?: SVG;
@@ -9,6 +9,8 @@ export interface Column {
9
9
  tooltip?: string;
10
10
  placeholder?: string;
11
11
  inputType?: InputTypes;
12
+ min?: number;
13
+ max?: number;
12
14
  componentType?: 'input' | 'dropdown' | 'multi-dropdown';
13
15
  options?: DropDataOption[];
14
16
  renderCondition?: (row: Row) => boolean;
@@ -1,39 +1,17 @@
1
- export * from './badge';
2
- export * from './button';
3
- export * from './cancel-warning';
4
- export * from './checkbox';
5
1
  export * from './code';
6
- export * from './condition-details';
7
- export * from './data-card';
8
- export * from './data-tab';
9
- export * from './delete-warning';
10
- export * from './describe-row';
11
2
  export * from './divider';
12
- export * from './drawer';
13
- export * from './dropdown';
14
3
  export * from './error-boundary';
15
- export * from './extend-arrow';
16
4
  export * from './fade-loader';
17
- export * from './field-error';
18
- export * from './field-label';
19
5
  export * from './icon-button';
20
6
  export * from './icon-group';
21
7
  export * from './icon-wrapped';
22
8
  export * from './image-controlled';
23
- export * from './input';
24
9
  export * from './loading-text';
25
- export * from './modal';
26
- export * from './monitors-icons';
27
- export * from './no-data-found';
28
10
  export * from './notification-note';
29
11
  export * from './popup';
30
- export * from './popup-form';
31
12
  export * from './scroll-x';
32
13
  export * from './scroll-y';
33
14
  export * from './skeleton-loader';
34
- export * from './status';
35
- export * from './tab-list';
36
15
  export * from './text';
37
16
  export * from './tooltip';
38
- export * from './warning-modal';
39
17
  export * from './styled';
@@ -1 +1 @@
1
- export{fH as Autocomplete,p as Badge,e as Button,B as ButtonSize,hx as ButtonTab,hy as ButtonTabList,a as ButtonVariants,aw as Checkbox,hz as CheckboxList,dW as CheckboxSize,bP as CliCommand,bO as Condition,bC as Conditions,hA as DEFAULT_TIME_UNITS,D as DataCard,$ as Drawer,cl as DropData,cn as DropDataAlignX,cm as DropDataAlignY,bh as DropDown,ax as FieldMessage,av as FieldTitle,ed as GaugeChart,hB as GaugeChartVariant,hC as Header,af as HoverActions,bi as IconButton,bj as IconButtonSize,bU as IconGroup,ay as Input,aD as InputList,aB as InputTable,dN as Island,L as Loader,cp as Modal,hD as Navbar,N as NoData,aL as Note,d9 as Radio,hE as RadioGroup,da as RadioSize,o as Search,bb as SectionCard,hF as SectionCardSize,S as Segment,l as SegmentSize,k as SegmentVariant,ec as StatusCard,dO as Stepper,m as Table,n as TableVariant,bJ as Tag,bS as TagVariants,aI as TextArea,ee as TextCard,eN as TimeInput,T as Toggle,d as ToggleLabelAlign,hG as ToggleList,c as ToggleSize,hH as ToggleVariant,dY as TruncatableTypography,f as Typography,h as TypographyColor,i as TypographySize,bs as TypographyVariants,a$ as WarningModal,hI as resolveTypographyColor}from"../chunks/ui-components-BPdnIOmj.js";import"react/jsx-runtime";import"styled-components";import"../icons.js";import"zustand";import"react";import"javascript-time-ago";import"../chunks/vendor-C150cdxb.js";import"@xyflow/react";import"react-dom";import"prism-react-renderer";import"react-error-boundary";import"virtua";
1
+ export{eA as Autocomplete,am as Badge,a9 as Button,aa as ButtonSize,g9 as ButtonTab,ga as ButtonTabList,ab as ButtonVariants,a0 as Checkbox,gb as CheckboxList,dc as CheckboxSize,b6 as CliCommand,b1 as Condition,aS as Conditions,gc as DEFAULT_TIME_UNITS,aR as DataCard,o as Drawer,bK as DropData,bM as DropDataAlignX,bL as DropDataAlignY,aB as DropDown,a1 as FieldMessage,$ as FieldTitle,du as GaugeChart,gd as GaugeChartVariant,ge as Header,gf as HoverActions,aC as IconButton,aD as IconButtonSize,bc as IconGroup,a2 as Input,a8 as InputList,a4 as InputTable,d2 as Island,aE as Loader,bP as Modal,gg as Navbar,N as NoData,ag as Note,cx as Radio,gh as RadioGroup,cy as RadioSize,b8 as Search,ay as SectionCard,gi as SectionCardSize,ad as Segment,dx as SegmentSize,bm as SegmentVariant,dt as StatusCard,d3 as Stepper,bo as Table,bp as TableVariant,aY as Tag,b5 as TagVariants,ae as TextArea,dv as TextCard,dP as TimeInput,a6 as Toggle,a7 as ToggleLabelAlign,gj as ToggleList,aI as ToggleSize,gk as ToggleVariant,de as TruncatableTypography,b as Typography,ai as TypographyColor,c as TypographySize,aJ as TypographyVariants,ap as WarningModal,gl as resolveTypographyColor}from"../chunks/ui-components-DeKNGyn7.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/components.js CHANGED
@@ -1 +1 @@
1
- export{h2 as Badge,h3 as Button,R as CancelWarning,b as CenterThis,h4 as Checkbox,C as Code,aq as ConditionDetails,ae as DataCard,a4 as DataCardFieldTypes,h5 as DataCardFields,h6 as DataTab,Q as DeleteWarning,ac as DescribeRow,a0 as Divider,O as Drawer,h7 as DrawerFooter,h8 as DrawerHeader,h9 as Dropdown,ha as ErrorBoundary,hb as ExtendArrow,a9 as FadeLoader,hc as FieldError,hd as FieldLabel,q as FlexColumn,F as FlexRow,I as IconButton,he as IconGroup,hf as IconWrapped,hg as ImageControlled,V as Input,hh as LoadingText,hi as Modal,hj as ModalBody,hk as MonitorsIcons,v as NoDataFound,ah as NotificationNote,hl as Overlay,bB as Padding,dI as PageContent,t as Popup,hm as PopupForm,hn as ScrollX,bT as ScrollY,d_ as SkeletonLoader,a6 as Status,ho as TabList,hp as TableContainer,hq as TableTitleWrap,hr as TableWrap,w as Text,hs as ToggleCodeComponent,j as Tooltip,ef as UpgradeRequiredWrapper,ht as VerticalScroll,as as WarningModal,hu as getLinksFromText,hv as getStrongsFromText,hw as renderText}from"./chunks/ui-components-BPdnIOmj.js";import"react/jsx-runtime";import"styled-components";import"./icons.js";import"zustand";import"react";import"javascript-time-ago";import"./chunks/vendor-C150cdxb.js";import"@xyflow/react";import"react-dom";import"prism-react-renderer";import"react-error-boundary";import"virtua";
1
+ export{aA as CenterThis,eD as Code,p as Divider,fV as ErrorBoundary,fW as FadeLoader,F as FlexColumn,h as FlexRow,I as IconButton,eE as IconGroup,fX as IconWrapped,fY as ImageControlled,fZ as LoadingText,f_ as ModalBody,s as NotificationNote,f$ as Overlay,aQ as Padding,d1 as PageContent,a as Popup,g0 as ScrollX,b9 as ScrollY,dg as SkeletonLoader,g1 as TableContainer,g2 as TableTitleWrap,g3 as TableWrap,e as Text,g4 as ToggleCodeComponent,ak as Tooltip,dw as UpgradeRequiredWrapper,g5 as VerticalScroll,g6 as getLinksFromText,g7 as getStrongsFromText,g8 as renderText}from"./chunks/ui-components-DeKNGyn7.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";
@@ -1,4 +1,4 @@
1
- import type { DropdownOption } from '@/components';
1
+ import { type DropDataOption } from '@/components/_v2';
2
2
  import { OtelDistroName, ProgrammingLanguages } from '@/types';
3
3
  /** OpenTelemetry / K8s identifying-attribute names emitted by the agent. */
4
4
  export declare const PROCESS_ATTRIBUTE_NAMES: {
@@ -6,9 +6,9 @@ export declare const PROCESS_ATTRIBUTE_NAMES: {
6
6
  VPID: string;
7
7
  };
8
8
  export declare const DISPLAY_LANGUAGES: Record<ProgrammingLanguages, string>;
9
- export declare const LANGUAGE_OPTIONS: DropdownOption<ProgrammingLanguages>[];
10
- export declare const OPENTELEMETRY_EBPF_DISTRO_OPTION: DropdownOption<OtelDistroName>;
9
+ export declare const LANGUAGE_OPTIONS: DropDataOption<ProgrammingLanguages>[];
10
+ export declare const OPENTELEMETRY_EBPF_DISTRO_OPTION: DropDataOption<OtelDistroName>;
11
11
  export declare const OTEL_DISTRO_NAME_OPTIONS: Record<ProgrammingLanguages, {
12
- community: DropdownOption<OtelDistroName>[];
13
- enterprise: DropdownOption<OtelDistroName>[];
12
+ community: DropDataOption<OtelDistroName>[];
13
+ enterprise: DropDataOption<OtelDistroName>[];
14
14
  }>;
@@ -106,6 +106,8 @@ export declare const DISPLAY_TITLES: {
106
106
  OUTBOUND: string;
107
107
  INBOUND_DESCRIPTION: (serviceName: string) => string;
108
108
  OUTBOUND_DESCRIPTION: (serviceName: string) => string;
109
+ NO_INBOUND_CONNECTIONS_DESCRIPTION: string;
110
+ NO_OUTBOUND_CONNECTIONS_DESCRIPTION: string;
109
111
  NO_INBOUND_CONNECTIONS: string;
110
112
  NO_OUTBOUND_CONNECTIONS: string;
111
113
  COULD_NOT_FETCH_PEER_SOURCES: string;
@@ -119,6 +121,7 @@ export declare const DISPLAY_TITLES: {
119
121
  PODS_NOT_HEALTHY: string;
120
122
  NO_RUNNING_PODS: string;
121
123
  AGENT_INJECTED: string;
124
+ INJECTIONS_HEALTHY: string;
122
125
  AGENT_NOT_INJECTED: string;
123
126
  KUBERNETES_HEALTHY: string;
124
127
  ODIGOS_HEALTHY: string;
@@ -127,6 +130,7 @@ export declare const DISPLAY_TITLES: {
127
130
  NOT_HEALTHY: string;
128
131
  NODE: string;
129
132
  START_TIME: string;
133
+ NOT_RUNNING: string;
130
134
  RESTARTS: string;
131
135
  LATEST_REVISION: string;
132
136
  OLD_REVISION: string;
@@ -143,11 +147,11 @@ export declare const DISPLAY_TITLES: {
143
147
  UNINSTRUMENTED: string;
144
148
  INSTRUMENTED_WITH_DISTRO: (otelDistroName: string) => string;
145
149
  DEBUG_COMMANDS: string;
146
- GET_POD: string;
150
+ YAML: string;
151
+ YAML_FILES: string;
147
152
  GET_POD_YAML: string;
148
- GET_POD_JSON: string;
149
- GET_POD_DESCRIBE: string;
150
153
  GET_POD_LOGS: string;
154
+ DESCRIBE_POD: string;
151
155
  CONTAINER: string;
152
156
  CONTAINERS: string;
153
157
  DETECTED_CONTAINERS: string;
@@ -186,9 +190,15 @@ export declare const DISPLAY_TITLES: {
186
190
  OVERIDE: string;
187
191
  OVERIDDEN: string;
188
192
  OVERRIDE_RUNTIME_DETAILS: string;
193
+ OVERRIDE_RUNTIME_DETAILS_SUBTITLE: string;
189
194
  OVERRIDE_RUNTIME_WARNING: string;
190
195
  OVERRIDE_OTEL_DISTRO_NAME: string;
196
+ OVERRIDE_OTEL_DISTRO_NAME_SUBTITLE: string;
191
197
  OVERRIDE_OTEL_DISTRO_NAME_WARNING: string;
198
+ OVERRIDE_OTEL_DISTRO_NAME_SAVE_TOOLTIP: string;
199
+ OVERRIDE_OTEL_DISTRO_NAME_DELETE_TOOLTIP: string;
200
+ OVERRIDE_RUNTIME_DETAILS_SAVE_TOOLTIP: string;
201
+ OVERRIDE_RUNTIME_DETAILS_DELETE_TOOLTIP: string;
192
202
  OTEL_DISTRO_NAME: string;
193
203
  WAITING_FOR_RUNTIME_DETECTION: string;
194
204
  DETECTING_RUNTIME_INFO: string;
@@ -234,6 +244,9 @@ export declare const DISPLAY_TITLES: {
234
244
  CREATING_DESTINATION_SUBTITLE: string;
235
245
  ADD_DESTINATION_DRAWER_DESCRIPTION: string;
236
246
  THROUGHPUT_LAST_10_SECONDS: string;
247
+ DELETE_POD_TO_RESTART: string;
248
+ RESTART_POD_DESCRIPTION: string;
249
+ DEBUG: string;
237
250
  };
238
251
  export declare const BUTTON_TEXTS: {
239
252
  GET_STARTED: string;
package/lib/constants.js CHANGED
@@ -1 +1 @@
1
- export{be as ACTION_ATTRIBUTE_OPTIONS,gC as ACTION_OPTIONS,bf as ACTION_SAMPLER_OPTIONS,gD as ALL_SOURCES,c2 as BTN_CANCEL,ej as BTN_CREATE_FIRST_RULE,ca as BTN_CREATE_RULE,c5 as BTN_DELETE_RULE,fs as BTN_EDIT_AUTO_RULE,c4 as BTN_EDIT_RULE,ci as BTN_SAVE,c3 as BTN_SAVE_RULE,M as BUTTON_TEXTS,c7 as CATEGORY_DESCRIPTIONS,fp as CATEGORY_LABELS,cb as CATEGORY_TITLES,gE as CREATE_COST_REDUCTION_AUTO_RULE_DRAWER_TITLE,gF as CREATE_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_TITLE,gG as CREATE_NOISY_AUTO_RULE_DRAWER_TITLE,bz as DEFAULT_CLUSTER_ID,by as DEFAULT_CLUSTER_NAME,e7 as DEFAULT_DATA_STREAM_NAME,eT as DESC_DURATION,eS as DESC_ERRORS,eW as DESC_OPERATION,gH as DESC_PERCENTAGE_HIGHLY_RELEVANT,b7 as DESC_PERCENTAGE_NOISY,fq as DESC_RULE_TYPE,fF as DESC_SOURCE_SCOPE,bk as DESTINATION_CATEGORIES,aY as DISPLAY_LANGUAGES,X as DISPLAY_TITLES,aH as DOCS_BASE_URL,bg as DestinationCategoryTypes,ce as EDIT_COST_REDUCTION_AUTO_RULE_DRAWER_SUBTITLE,cf as EDIT_COST_REDUCTION_AUTO_RULE_DRAWER_TITLE,cc as EDIT_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_SUBTITLE,cd as EDIT_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_TITLE,cg as EDIT_NOISY_AUTO_RULE_DRAWER_SUBTITLE,ch as EDIT_NOISY_AUTO_RULE_DRAWER_TITLE,c8 as EDIT_TITLES,f6 as EMPTY_VALUE,eh as FILTER_TYPE_ALL,bI as FORM_ALERTS,bn as INSTRUMENTATION_RULE_OPTIONS,eU as LABEL_CUSTOM_DURATION,bc as LABEL_CUSTOM_PERCENTAGE,ba as LABEL_DISABLED,eg as LABEL_DISABLED_RULE,fh as LABEL_DROP_ALL,b4 as LABEL_DROP_AT_MOST,b9 as LABEL_ENABLED,e$ as LABEL_HTTP_ROUTE,f1 as LABEL_HTTP_ROUTE_PREFIX,f3 as LABEL_KAFKA_TOPIC,fi as LABEL_KEEP_ALL,fd as LABEL_KEEP_AT_LEAST,fe as LABEL_KEEP_AT_MOST,fc as LABEL_KEEP_PERCENTAGE,eR as LABEL_KEEP_TRACES_DURATION,eP as LABEL_KEEP_TRACES_ERRORS,f2 as LABEL_METHOD,fl as LABEL_NOTE,fx as LABEL_NO_PREVIEW,f5 as LABEL_OPERATION_TYPE,gI as LABEL_RULE_DISABLED,gJ as LABEL_RULE_ENABLED,fj as LABEL_RULE_NAME,fk as LABEL_RULE_TYPE,ff as LABEL_SAMPLE,eY as LABEL_SERVER_ADDRESS,e_ as LABEL_TEMPLATED_PATH,f0 as LABEL_TEMPLATED_PATH_PREFIX,b$ as LANGUAGE_OPTIONS,dR as MONITORS_OPTIONS,fD as NOTE_ENTIRE_CLUSTER,fG as NOTE_SOURCE_SCOPE_LOGIC,gK as OPENTELEMETRY_EBPF_DISTRO_OPTION,f8 as OPERATION_ALL,f7 as OPERATION_HTTP_CLIENT,f4 as OPERATION_HTTP_SERVER,f9 as OPERATION_KAFKA_CONSUMER,fa as OPERATION_KAFKA_PRODUCER,b_ as OTEL_DISTRO_NAME_OPTIONS,fb as PERCENTAGE_SECTION_DESCRIPTIONS,fn as PLACEHOLDER_NOTE,eZ as PLACEHOLDER_ROUTE,fm as PLACEHOLDER_RULE_NAME,fI as PLACEHOLDER_SEARCH_SOURCE,eX as PLACEHOLDER_SERVER_ADDRESS,bQ as PROCESS_ATTRIBUTE_NAMES,b8 as SAMPLING_AUTO_RULE_TITLE,eC as SAMPLING_BTN_CREATE_RULE,eA as SAMPLING_BTN_DOCS,eB as SAMPLING_BTN_REFRESH,b6 as SAMPLING_COST_REDUCTION_AUTO_RULE_TITLE,eI as SAMPLING_DELETE_MODAL_APPROVE,eJ as SAMPLING_DELETE_MODAL_CANCEL,eK as SAMPLING_DELETE_MODAL_DESCRIPTION,eL as SAMPLING_DELETE_MODAL_TITLE,cj as SAMPLING_DRAWER_WIDTH,ez as SAMPLING_DUPLICATE_RULE_WARNING,b3 as SAMPLING_HIGHLY_RELEVANT_AUTO_RULE_TITLE,dc as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_1,dd as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_2,de as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_3,df as SAMPLING_ONBOARDING_ADVANCED_LEFT_TITLE,dg as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_1,dh as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_2,di as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_3,dj as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_4,dk as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_5,dl as SAMPLING_ONBOARDING_ADVANCED_RIGHT_TITLE,dn as SAMPLING_ONBOARDING_ADVANCED_SUBTITLE,dm as SAMPLING_ONBOARDING_ADVANCED_TITLE,dG as SAMPLING_ONBOARDING_AMBIENT_LABEL,cI as SAMPLING_ONBOARDING_BTN_GO_TO,cs as SAMPLING_ONBOARDING_BTN_NEXT,db as SAMPLING_ONBOARDING_BTN_READ_MORE,cT as SAMPLING_ONBOARDING_BTN_SKIP,cU as SAMPLING_ONBOARDING_BTN_START,dp as SAMPLING_ONBOARDING_COMMON_BANNER,dF as SAMPLING_ONBOARDING_COMMON_RULES_SECTION,dt as SAMPLING_ONBOARDING_DROP_DESCRIPTION,ds as SAMPLING_ONBOARDING_DROP_SUBTITLE,dr as SAMPLING_ONBOARDING_DROP_TITLE,dw as SAMPLING_ONBOARDING_ERROR_PRESET_NAME,dv as SAMPLING_ONBOARDING_ERROR_PRESET_TOGGLE_LABEL,dz as SAMPLING_ONBOARDING_KEEP_DESCRIPTION,dy as SAMPLING_ONBOARDING_KEEP_SUBTITLE,dx as SAMPLING_ONBOARDING_KEEP_TITLE,dA as SAMPLING_ONBOARDING_KEEP_USE_CASE_1,dB as SAMPLING_ONBOARDING_KEEP_USE_CASE_2,dC as SAMPLING_ONBOARDING_KEEP_USE_CASE_3,dD as SAMPLING_ONBOARDING_KEEP_USE_CASE_4,dE as SAMPLING_ONBOARDING_KEEP_USE_CASE_5,cA as SAMPLING_ONBOARDING_NOISY_BANNER,cw as SAMPLING_ONBOARDING_NOISY_DESCRIPTION,cz as SAMPLING_ONBOARDING_NOISY_PRESET_NAME,cx as SAMPLING_ONBOARDING_NOISY_PRESET_SECTION,cy as SAMPLING_ONBOARDING_NOISY_PRESET_TOGGLE_LABEL,cv as SAMPLING_ONBOARDING_NOISY_SUBTITLE,cu as SAMPLING_ONBOARDING_NOISY_TITLE,du as SAMPLING_ONBOARDING_PRESET_RULES_SECTION,cq as SAMPLING_ONBOARDING_RECOMMENDED_BADGE,d6 as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_BADGE,d7 as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_DESC,d8 as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_NAME,d3 as SAMPLING_ONBOARDING_STRATEGY_DROP_BADGE,d1 as SAMPLING_ONBOARDING_STRATEGY_DROP_BULLET_1,d2 as SAMPLING_ONBOARDING_STRATEGY_DROP_BULLET_2,d4 as SAMPLING_ONBOARDING_STRATEGY_DROP_DESC,d5 as SAMPLING_ONBOARDING_STRATEGY_DROP_NAME,c_ as SAMPLING_ONBOARDING_STRATEGY_KEEP_BADGE,cY as SAMPLING_ONBOARDING_STRATEGY_KEEP_BULLET_1,cZ as SAMPLING_ONBOARDING_STRATEGY_KEEP_BULLET_2,c$ as SAMPLING_ONBOARDING_STRATEGY_KEEP_DESC,d0 as SAMPLING_ONBOARDING_STRATEGY_KEEP_NAME,cX as SAMPLING_ONBOARDING_STRATEGY_KEEP_WARNING,cW as SAMPLING_ONBOARDING_STRATEGY_SUBTITLE,cV as SAMPLING_ONBOARDING_STRATEGY_TITLE,cF as SAMPLING_ONBOARDING_SUCCESS_BULLET_1,cG as SAMPLING_ONBOARDING_SUCCESS_BULLET_2,cH as SAMPLING_ONBOARDING_SUCCESS_BULLET_3,cE as SAMPLING_ONBOARDING_SUCCESS_INTRO,cD as SAMPLING_ONBOARDING_SUCCESS_SUBTITLE,cC as SAMPLING_ONBOARDING_SUCCESS_TITLE,cS as SAMPLING_ONBOARDING_WELCOME_BANNER,cL as SAMPLING_ONBOARDING_WELCOME_INTRO,cM as SAMPLING_ONBOARDING_WELCOME_STAGE_1_DESC,cN as SAMPLING_ONBOARDING_WELCOME_STAGE_1_TITLE,cO as SAMPLING_ONBOARDING_WELCOME_STAGE_2_DESC,cP as SAMPLING_ONBOARDING_WELCOME_STAGE_2_TITLE,cQ as SAMPLING_ONBOARDING_WELCOME_STAGE_3_DESC,cR as SAMPLING_ONBOARDING_WELCOME_STAGE_3_TITLE,cK as SAMPLING_ONBOARDING_WELCOME_SUBTITLE,cJ as SAMPLING_ONBOARDING_WELCOME_TITLE,eD as SAMPLING_PAGE_DESCRIPTION,eE as SAMPLING_PAGE_TITLE,eQ as SECTION_DURATION,eO as SECTION_ERRORS,b5 as SECTION_KEEP_PERCENTAGE,eV as SECTION_OPERATION,fw as SECTION_SAMPLING_PREVIEW,fC as SECTION_SOURCE_SCOPE,dQ as STORAGE_KEYS,ei as TITLE_NO_RESULTS,ek as TITLE_NO_RULES,gL as TOKEN_ABOUT_TO_EXPIRE,fo as TOOLTIP_NOTE,fE as UNKNOWN_SOURCE_LABEL,c9 as UNNAMED_RULE,el as getNoResultsSubTitle}from"./chunks/ui-components-BPdnIOmj.js";import"react/jsx-runtime";import"styled-components";import"./icons.js";import"zustand";import"react";import"javascript-time-ago";import"./chunks/vendor-C150cdxb.js";import"@xyflow/react";import"react-dom";import"prism-react-renderer";import"react-error-boundary";import"virtua";
1
+ export{A as ACTION_ATTRIBUTE_OPTIONS,fz as ACTION_OPTIONS,x as ACTION_SAMPLER_OPTIONS,fA as ALL_SOURCES,br as BTN_CANCEL,dB as BTN_CREATE_FIRST_RULE,by as BTN_CREATE_RULE,bu as BTN_DELETE_RULE,es as BTN_EDIT_AUTO_RULE,bt as BTN_EDIT_RULE,bG as BTN_SAVE,bs as BTN_SAVE_RULE,aP as BUTTON_TEXTS,bv as CATEGORY_DESCRIPTIONS,eq as CATEGORY_LABELS,bz as CATEGORY_TITLES,fB as CREATE_COST_REDUCTION_AUTO_RULE_DRAWER_TITLE,fC as CREATE_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_TITLE,fD as CREATE_NOISY_AUTO_RULE_DRAWER_TITLE,aN as DEFAULT_CLUSTER_ID,aM as DEFAULT_CLUSTER_NAME,dn as DEFAULT_DATA_STREAM_NAME,dV as DESC_DURATION,dU as DESC_ERRORS,dY as DESC_OPERATION,fE as DESC_PERCENTAGE_HIGHLY_RELEVANT,au as DESC_PERCENTAGE_NOISY,er as DESC_RULE_TYPE,ey as DESC_SOURCE_SCOPE,aF as DESTINATION_CATEGORIES,an as DISPLAY_LANGUAGES,D as DISPLAY_TITLES,ac as DOCS_BASE_URL,K as DestinationCategoryTypes,bC as EDIT_COST_REDUCTION_AUTO_RULE_DRAWER_SUBTITLE,bD as EDIT_COST_REDUCTION_AUTO_RULE_DRAWER_TITLE,bA as EDIT_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_SUBTITLE,bB as EDIT_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_TITLE,bE as EDIT_NOISY_AUTO_RULE_DRAWER_SUBTITLE,bF as EDIT_NOISY_AUTO_RULE_DRAWER_TITLE,bw as EDIT_TITLES,e8 as EMPTY_VALUE,dz as FILTER_TYPE_ALL,B as FORM_ALERTS,U as INSTRUMENTATION_RULE_OPTIONS,dW as LABEL_CUSTOM_DURATION,az as LABEL_CUSTOM_PERCENTAGE,ax as LABEL_DISABLED,dy as LABEL_DISABLED_RULE,ei as LABEL_DROP_ALL,ar as LABEL_DROP_AT_MOST,aw as LABEL_ENABLED,e1 as LABEL_HTTP_ROUTE,e3 as LABEL_HTTP_ROUTE_PREFIX,e5 as LABEL_KAFKA_TOPIC,ej as LABEL_KEEP_ALL,ef as LABEL_KEEP_AT_LEAST,eg as LABEL_KEEP_AT_MOST,ee as LABEL_KEEP_PERCENTAGE,dT as LABEL_KEEP_TRACES_DURATION,dR as LABEL_KEEP_TRACES_ERRORS,e4 as LABEL_METHOD,em as LABEL_NOTE,eu as LABEL_NO_PREVIEW,e7 as LABEL_OPERATION_TYPE,fF as LABEL_RULE_DISABLED,fG as LABEL_RULE_ENABLED,ek as LABEL_RULE_NAME,el as LABEL_RULE_TYPE,eh as LABEL_SAMPLE,d_ as LABEL_SERVER_ADDRESS,e0 as LABEL_TEMPLATED_PATH,e2 as LABEL_TEMPLATED_PATH_PREFIX,bj as LANGUAGE_OPTIONS,d7 as MONITORS_OPTIONS,ew as NOTE_ENTIRE_CLUSTER,ez as NOTE_SOURCE_SCOPE_LOGIC,fH as OPENTELEMETRY_EBPF_DISTRO_OPTION,ea as OPERATION_ALL,e9 as OPERATION_HTTP_CLIENT,e6 as OPERATION_HTTP_SERVER,eb as OPERATION_KAFKA_CONSUMER,ec as OPERATION_KAFKA_PRODUCER,bi as OTEL_DISTRO_NAME_OPTIONS,ed as PERCENTAGE_SECTION_DESCRIPTIONS,eo as PLACEHOLDER_NOTE,d$ as PLACEHOLDER_ROUTE,en as PLACEHOLDER_RULE_NAME,eB as PLACEHOLDER_SEARCH_SOURCE,dZ as PLACEHOLDER_SERVER_ADDRESS,b2 as PROCESS_ATTRIBUTE_NAMES,av as SAMPLING_AUTO_RULE_TITLE,dH as SAMPLING_BTN_CREATE_RULE,dF as SAMPLING_BTN_DOCS,dG as SAMPLING_BTN_REFRESH,at as SAMPLING_COST_REDUCTION_AUTO_RULE_TITLE,dK as SAMPLING_DELETE_MODAL_APPROVE,dL as SAMPLING_DELETE_MODAL_CANCEL,dM as SAMPLING_DELETE_MODAL_DESCRIPTION,dN as SAMPLING_DELETE_MODAL_TITLE,bH as SAMPLING_DRAWER_WIDTH,dE as SAMPLING_DUPLICATE_RULE_WARNING,aq as SAMPLING_HIGHLY_RELEVANT_AUTO_RULE_TITLE,cA as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_1,cB as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_2,cC as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_3,cD as SAMPLING_ONBOARDING_ADVANCED_LEFT_TITLE,cE as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_1,cF as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_2,cG as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_3,cH as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_4,cI as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_5,cJ as SAMPLING_ONBOARDING_ADVANCED_RIGHT_TITLE,cL as SAMPLING_ONBOARDING_ADVANCED_SUBTITLE,cK as SAMPLING_ONBOARDING_ADVANCED_TITLE,d0 as SAMPLING_ONBOARDING_AMBIENT_LABEL,c4 as SAMPLING_ONBOARDING_BTN_GO_TO,bR as SAMPLING_ONBOARDING_BTN_NEXT,cz as SAMPLING_ONBOARDING_BTN_READ_MORE,cf as SAMPLING_ONBOARDING_BTN_SKIP,cg as SAMPLING_ONBOARDING_BTN_START,cM as SAMPLING_ONBOARDING_COMMON_BANNER,c$ as SAMPLING_ONBOARDING_COMMON_RULES_SECTION,cP as SAMPLING_ONBOARDING_DROP_DESCRIPTION,cO as SAMPLING_ONBOARDING_DROP_SUBTITLE,cN as SAMPLING_ONBOARDING_DROP_TITLE,cS as SAMPLING_ONBOARDING_ERROR_PRESET_NAME,cR as SAMPLING_ONBOARDING_ERROR_PRESET_TOGGLE_LABEL,cV as SAMPLING_ONBOARDING_KEEP_DESCRIPTION,cU as SAMPLING_ONBOARDING_KEEP_SUBTITLE,cT as SAMPLING_ONBOARDING_KEEP_TITLE,cW as SAMPLING_ONBOARDING_KEEP_USE_CASE_1,cX as SAMPLING_ONBOARDING_KEEP_USE_CASE_2,cY as SAMPLING_ONBOARDING_KEEP_USE_CASE_3,cZ as SAMPLING_ONBOARDING_KEEP_USE_CASE_4,c_ as SAMPLING_ONBOARDING_KEEP_USE_CASE_5,bY as SAMPLING_ONBOARDING_NOISY_BANNER,bU as SAMPLING_ONBOARDING_NOISY_DESCRIPTION,bX as SAMPLING_ONBOARDING_NOISY_PRESET_NAME,bV as SAMPLING_ONBOARDING_NOISY_PRESET_SECTION,bW as SAMPLING_ONBOARDING_NOISY_PRESET_TOGGLE_LABEL,bT as SAMPLING_ONBOARDING_NOISY_SUBTITLE,bS as SAMPLING_ONBOARDING_NOISY_TITLE,cQ as SAMPLING_ONBOARDING_PRESET_RULES_SECTION,bQ as SAMPLING_ONBOARDING_RECOMMENDED_BADGE,cu as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_BADGE,cv as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_DESC,cw as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_NAME,cr as SAMPLING_ONBOARDING_STRATEGY_DROP_BADGE,cp as SAMPLING_ONBOARDING_STRATEGY_DROP_BULLET_1,cq as SAMPLING_ONBOARDING_STRATEGY_DROP_BULLET_2,cs as SAMPLING_ONBOARDING_STRATEGY_DROP_DESC,ct as SAMPLING_ONBOARDING_STRATEGY_DROP_NAME,cm as SAMPLING_ONBOARDING_STRATEGY_KEEP_BADGE,ck as SAMPLING_ONBOARDING_STRATEGY_KEEP_BULLET_1,cl as SAMPLING_ONBOARDING_STRATEGY_KEEP_BULLET_2,cn as SAMPLING_ONBOARDING_STRATEGY_KEEP_DESC,co as SAMPLING_ONBOARDING_STRATEGY_KEEP_NAME,cj as SAMPLING_ONBOARDING_STRATEGY_KEEP_WARNING,ci as SAMPLING_ONBOARDING_STRATEGY_SUBTITLE,ch as SAMPLING_ONBOARDING_STRATEGY_TITLE,c1 as SAMPLING_ONBOARDING_SUCCESS_BULLET_1,c2 as SAMPLING_ONBOARDING_SUCCESS_BULLET_2,c3 as SAMPLING_ONBOARDING_SUCCESS_BULLET_3,c0 as SAMPLING_ONBOARDING_SUCCESS_INTRO,b$ as SAMPLING_ONBOARDING_SUCCESS_SUBTITLE,b_ as SAMPLING_ONBOARDING_SUCCESS_TITLE,ce as SAMPLING_ONBOARDING_WELCOME_BANNER,c7 as SAMPLING_ONBOARDING_WELCOME_INTRO,c8 as SAMPLING_ONBOARDING_WELCOME_STAGE_1_DESC,c9 as SAMPLING_ONBOARDING_WELCOME_STAGE_1_TITLE,ca as SAMPLING_ONBOARDING_WELCOME_STAGE_2_DESC,cb as SAMPLING_ONBOARDING_WELCOME_STAGE_2_TITLE,cc as SAMPLING_ONBOARDING_WELCOME_STAGE_3_DESC,cd as SAMPLING_ONBOARDING_WELCOME_STAGE_3_TITLE,c6 as SAMPLING_ONBOARDING_WELCOME_SUBTITLE,c5 as SAMPLING_ONBOARDING_WELCOME_TITLE,dI as SAMPLING_PAGE_DESCRIPTION,dJ as SAMPLING_PAGE_TITLE,dS as SECTION_DURATION,dQ as SECTION_ERRORS,as as SECTION_KEEP_PERCENTAGE,dX as SECTION_OPERATION,et as SECTION_SAMPLING_PREVIEW,ev as SECTION_SOURCE_SCOPE,d6 as STORAGE_KEYS,dA as TITLE_NO_RESULTS,dC as TITLE_NO_RULES,fI as TOKEN_ABOUT_TO_EXPIRE,ep as TOOLTIP_NOTE,ex as UNKNOWN_SOURCE_LABEL,bx as UNNAMED_RULE,dD as getNoResultsSubTitle}from"./chunks/ui-components-DeKNGyn7.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";
@@ -0,0 +1,54 @@
1
+ import { EntityTypes } from '@/types';
2
+ /**
3
+ * Copy used by the Add Source drawer, with K8s/VM variants.
4
+ *
5
+ * The drawer is a generic two-column "group → item" picker:
6
+ * - K8s: namespaces (groups) → workloads (items)
7
+ * - VM: kinds (groups) → sources (items)
8
+ *
9
+ * Components call `getAddSourceDrawerLabels(isVm)` once and read fields off
10
+ * the returned object instead of branching on `isVm` inline. Keeps copy
11
+ * centralized and makes adding a third platform (or wiring i18n) a one-file
12
+ * change.
13
+ */
14
+ export interface AddSourceDrawerLabels {
15
+ groupSegmentLabel: string;
16
+ itemSegmentLabel: string;
17
+ searchPlaceholder: (by: EntityTypes) => string | undefined;
18
+ groupColumnHeader: string;
19
+ fetchingGroups: {
20
+ title: string;
21
+ subTitle: string;
22
+ };
23
+ noGroups: {
24
+ title: string;
25
+ subTitle: string;
26
+ };
27
+ noGroupMatchedFilter: (text: string) => string;
28
+ itemColumnHeader: string;
29
+ selectGroupPrompt: {
30
+ title: string;
31
+ subTitle: string;
32
+ };
33
+ noItemsInGroupSubTitle: string;
34
+ }
35
+ export declare const getAddSourceDrawerLabels: (isVm: boolean) => AddSourceDrawerLabels;
36
+ /**
37
+ * Copy that is shared between K8s and VM (and between both columns of the drawer).
38
+ * Centralized here so identical strings don't drift apart across files.
39
+ *
40
+ * Fields tagged "K8s-only" are referenced from code paths that only render on K8s
41
+ * (`!isVm` guards or enterprise-tier locks). They're kept here for centralization,
42
+ * not because VM has its own variant.
43
+ */
44
+ export declare const ADD_SOURCE_DRAWER_COPY: {
45
+ noMatchesTitle: string;
46
+ noSourcesTitle: string;
47
+ noSourcesMatchedFilter: (text: string) => string;
48
+ selectAll: (isAll: boolean) => string;
49
+ showOnly: string;
50
+ selectedLabel: string;
51
+ autoToggleLabel: string;
52
+ autoToggleTooltip: string;
53
+ enterpriseOnlyBadge: string;
54
+ };
@@ -1,7 +1,7 @@
1
1
  import { type FC } from 'react';
2
2
  import { type DesiredConditionStatus, type K8sWorkloadPod } from '@/types';
3
3
  export interface PodsHeaderProps {
4
- podsHealthStatus?: DesiredConditionStatus | null;
4
+ podsOdigosHealthStatus?: DesiredConditionStatus | null;
5
5
  pods?: K8sWorkloadPod[] | null;
6
6
  noPadding?: boolean;
7
7
  }
@@ -1,12 +1,12 @@
1
1
  import { type DataCardProps } from '@/components/_v2';
2
- import { type Source } from '@/types';
2
+ import { type Workload } from '@/types';
3
3
  /**
4
4
  * Build the items shown in the view-mode `Source Details` `DataCard`.
5
5
  * In VM mode the namespace is hidden and the kubectl command is omitted (handled separately).
6
6
  */
7
- export declare const buildDataCard: (source: Source, isVm: boolean) => DataCardProps["items"];
7
+ export declare const buildDataCard: (source: Workload, isVm: boolean) => DataCardProps["items"];
8
8
  /**
9
9
  * Build the kubectl command that targets this source. Returns `null` for VM sources
10
10
  * (they don't have a workload to address with kubectl).
11
11
  */
12
- export declare const buildKubectlCommand: (source: Source, isVm: boolean) => string | null;
12
+ export declare const buildKubectlCommand: (source: Workload, isVm: boolean) => string | null;
@@ -1,17 +1,17 @@
1
1
  import { type FC } from 'react';
2
2
  import { type ProfilingProps } from './profiling';
3
- import { type UpdateSourceFunc, type PersistSourcesFunc, type Source, type WorkloadId, type RestartPodFunc, type RestartWorkloadsFunc, type RecoverFromRollbackFunc, FetchPeerSourcesFunc } from '@/types';
3
+ import { type UpdateSourceFunc, type PersistSourcesFunc, type WorkloadId, type RestartPodFunc, type RestartWorkloadsFunc, type RecoverFromRollbackFunc, type FetchPeerSourcesFunc, type FetchSourceByIdFunc, type EffectiveConfig } from '@/types';
4
4
  export interface EditSourceDrawerProps {
5
5
  onClose: () => void;
6
+ effectiveConfig?: EffectiveConfig;
6
7
  sourceId: WorkloadId;
7
- fetchSourceById: (id: WorkloadId, bypassPaginationLoader?: boolean) => Promise<Source | undefined>;
8
+ fetchSourceById: FetchSourceByIdFunc;
8
9
  persistSources: PersistSourcesFunc;
9
10
  updateSource: UpdateSourceFunc;
10
11
  restartWorkloads: RestartWorkloadsFunc;
11
12
  restartPod: RestartPodFunc;
12
13
  recoverFromRollback: RecoverFromRollbackFunc;
13
14
  fetchPeerSources: FetchPeerSourcesFunc;
14
- profilingFeatureIsConfigured: boolean;
15
15
  enableProfiling: ProfilingProps['enableProfiling'];
16
16
  fetchProfilingSlots: ProfilingProps['fetchProfilingSlots'];
17
17
  fetchSourceProfiling: ProfilingProps['fetchSourceProfiling'];
@@ -1,7 +1,7 @@
1
1
  import { type FC } from 'react';
2
- import { type Source, type SourceFormData } from '@/types';
2
+ import { type SourceFormData, type Workload } from '@/types';
3
3
  export interface ContainersCardProps {
4
- source: Source;
4
+ source: Workload;
5
5
  onOverride: (payload: Pick<SourceFormData, 'containerName' | 'language' | 'version' | 'otelDistroName'>) => Promise<void>;
6
6
  }
7
7
  export declare const ContainersCard: FC<ContainersCardProps>;
@@ -3,10 +3,14 @@ interface PopupFormProps {
3
3
  width: CSSProperties['width'];
4
4
  onClose: () => void;
5
5
  onSave: () => void;
6
+ saveTooltip?: string;
6
7
  onDelete: () => void;
8
+ deleteTooltip?: string;
7
9
  title: string;
10
+ subTitle: string;
8
11
  warning: string;
9
12
  children: React.ReactNode;
13
+ pushButtonsWith?: CSSProperties['marginBottom'];
10
14
  }
11
15
  export declare const Relative: FC<{
12
16
  children: React.ReactNode;
@@ -5,6 +5,7 @@ export interface RuntimeOverrideProps {
5
5
  overridden: boolean;
6
6
  onOverride: (payload: FormValues) => Promise<void>;
7
7
  defaultValues: FormValues;
8
+ originalValues: FormValues;
8
9
  }
9
10
  export declare const RuntimeOverride: FC<RuntimeOverrideProps>;
10
11
  export {};
@@ -1,6 +1,6 @@
1
1
  import { type FC } from 'react';
2
- import type { Source } from '@/types';
2
+ import { type Workload } from '@/types';
3
3
  export interface HealthCardProps {
4
- source: Source;
4
+ source: Workload;
5
5
  }
6
6
  export declare const HealthCard: FC<HealthCardProps>;
@@ -1,8 +1,8 @@
1
1
  import { type FC } from 'react';
2
- import type { Source } from '@/types';
2
+ import type { Workload } from '@/types';
3
3
  import { type ContainersCardProps } from './containers-card';
4
4
  export interface OverviewProps {
5
- source: Source;
5
+ source: Workload;
6
6
  onClickRollout: () => void;
7
7
  onClickRollback: () => void;
8
8
  onOverride: ContainersCardProps['onOverride'];
@@ -1,6 +1,6 @@
1
1
  import { type FC } from 'react';
2
- import type { Source } from '@/types';
2
+ import type { Workload } from '@/types';
3
3
  export interface MainCardProps {
4
- source: Source;
4
+ source: Workload;
5
5
  }
6
6
  export declare const MainCard: FC<MainCardProps>;
@@ -1,6 +1,6 @@
1
1
  import { type FC } from 'react';
2
- import type { Source } from '@/types';
2
+ import type { Workload } from '@/types';
3
3
  export interface PodsCardProps {
4
- source: Source;
4
+ source: Workload;
5
5
  }
6
6
  export declare const PodsCard: FC<PodsCardProps>;
@@ -1,5 +1,5 @@
1
1
  import { type FC } from 'react';
2
- import type { OnJumpToProcess } from './types';
2
+ import { type OnJumpToProcess } from './types';
3
3
  import { type K8sWorkloadPod, type K8sWorkloadPodContainer } from '@/types';
4
4
  export interface ContainerRowProps {
5
5
  pod: K8sWorkloadPod;
@@ -1,4 +1,4 @@
1
- import type { K8sWorkloadPodContainerProcess } from '@/types';
1
+ import { type K8sWorkloadPodContainerProcess } from '@/types';
2
2
  /** Inner horizontal padding of the silver/800 (pod) and silver/750 (container) background cards. */
3
3
  export declare const SECTION_PADDING: {
4
4
  pod: number;
@@ -13,4 +13,6 @@ export declare const ROW_PADDING_LEFT: {
13
13
  container: number;
14
14
  process: number;
15
15
  };
16
- export declare const getProcessPid: (process: Pick<K8sWorkloadPodContainerProcess, "identifyingAttributes">) => string | null;
16
+ export declare const getProcessPid: (process: Pick<K8sWorkloadPodContainerProcess, "identifyingAttributes"> & {
17
+ overrideProcessNum?: number;
18
+ }) => string | null;
@@ -1,6 +1,6 @@
1
1
  import { type FC } from 'react';
2
- import type { OnJumpToProcess } from './types';
3
2
  import { type K8sWorkloadPod } from '@/types';
3
+ import { type OnJumpToProcess } from './types';
4
4
  export interface PodRowProps {
5
5
  pod: K8sWorkloadPod;
6
6
  onJumpToProcess?: OnJumpToProcess;
@@ -2,6 +2,7 @@ import { type FC } from 'react';
2
2
  import type { OnJumpToProcess } from './types';
3
3
  import { type K8sWorkloadPod, type K8sWorkloadPodContainer, type K8sWorkloadPodContainerProcess } from '@/types';
4
4
  export interface ProcessRowProps {
5
+ overrideProcessNum?: number;
5
6
  pod: K8sWorkloadPod;
6
7
  container: K8sWorkloadPodContainer;
7
8
  process: K8sWorkloadPodContainerProcess;
@@ -1,12 +1,13 @@
1
1
  import { type FC } from 'react';
2
+ import type { RowAction } from './types';
2
3
  import { type SVG } from '@/types';
3
- import type { BadgeDescriptor, RowAction } from './types';
4
+ import { type BadgeForDesiredStatus } from '@/functions';
4
5
  export interface RowHeaderProps {
5
6
  chevron?: SVG;
6
7
  onClick?: () => void;
7
8
  label: string;
8
9
  name: string;
9
- badges: BadgeDescriptor[];
10
+ badges: BadgeForDesiredStatus[];
10
11
  action?: RowAction;
11
12
  paddingLeft: number;
12
13
  }
@@ -1,16 +1,9 @@
1
- import type { K8sWorkloadPod, K8sWorkloadPodContainer, K8sWorkloadPodContainerProcess, OtherStatus, StatusType, SVG } from '@/types';
1
+ import type { K8sWorkloadPod, K8sWorkloadPodContainer, K8sWorkloadPodContainerProcess, SVG } from '@/types';
2
2
  /**
3
3
  * Handler invoked when the "jump to pod" action is triggered for a process.
4
4
  * Should navigate the user to the relevant spot in the Pod tab.
5
5
  */
6
6
  export type OnJumpToProcess = (pod: K8sWorkloadPod, container: K8sWorkloadPodContainer, process: K8sWorkloadPodContainerProcess) => void;
7
- export interface BadgeDescriptor {
8
- key: string;
9
- status: StatusType | OtherStatus;
10
- icon?: SVG;
11
- label: string;
12
- tooltip?: string;
13
- }
14
7
  export interface RowAction {
15
8
  icon: SVG;
16
9
  onClick: () => void;
@@ -1,7 +1,7 @@
1
1
  import { type FC } from 'react';
2
- import { type Source } from '@/types';
2
+ import { type Workload } from '@/types';
3
3
  export interface StatusesCardProps {
4
- source: Source;
4
+ source: Workload;
5
5
  onClickRollout: () => void;
6
6
  onClickRollback: () => void;
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import { type FC } from 'react';
2
- import type { PeerSources, Source } from '@/types';
2
+ import type { PeerSources, Workload } from '@/types';
3
3
  export interface PeersProps {
4
- source: Source;
4
+ source: Workload;
5
5
  fetchPeerSources: (serviceName: string) => Promise<{
6
6
  data?: {
7
7
  peerSources: PeerSources;
@@ -1,7 +1,7 @@
1
1
  import { type FC } from 'react';
2
- import { type K8sWorkloadPodContainer, type SourceContainer } from '@/types';
2
+ import { type K8sWorkloadPodContainer, type K8sWorkloadContainer } from '@/types';
3
3
  export interface ContainersCardProps {
4
4
  podContainers?: K8sWorkloadPodContainer[] | null;
5
- sourceContainers?: SourceContainer[] | null;
5
+ sourceContainers?: K8sWorkloadContainer[] | null;
6
6
  }
7
7
  export declare const ContainersCard: FC<ContainersCardProps>;
@@ -1,3 +1,5 @@
1
1
  import { type FC } from 'react';
2
2
  import { type K8sWorkloadPodContainerProcess } from '@/types';
3
- export declare const ProcessCard: FC<K8sWorkloadPodContainerProcess>;
3
+ export declare const ProcessCard: FC<K8sWorkloadPodContainerProcess & {
4
+ overrideProcessNum?: number;
5
+ }>;
@@ -1,7 +1,7 @@
1
1
  import { type FC } from 'react';
2
- import { type Source } from '@/types';
2
+ import { type Workload } from '@/types';
3
3
  export interface PodsProps {
4
- source: Source;
4
+ source: Workload;
5
5
  onClickRestartPod?: (namespace: string, name: string) => void;
6
6
  }
7
7
  export declare const Pods: FC<PodsProps>;
@@ -0,0 +1,7 @@
1
+ import { type FC } from 'react';
2
+ export interface PodDebugCommandsProps {
3
+ podName: string;
4
+ namespace: string;
5
+ hasRestarted: boolean;
6
+ }
7
+ export declare const PodDebugCommands: FC<PodDebugCommandsProps>;
@@ -1,6 +1,6 @@
1
1
  import { type FC } from 'react';
2
2
  import { type ProfilingSlots } from './flame-graph-canvas';
3
- import { type WorkloadId, type Source } from '@/types';
3
+ import { type WorkloadId, type Workload } from '@/types';
4
4
  interface SourceProfilingResult {
5
5
  profileJson: string;
6
6
  }
@@ -11,7 +11,7 @@ interface EnableOrReleaseProfilingResult {
11
11
  activeSlots?: number;
12
12
  }
13
13
  export interface ProfilingProps {
14
- source: Source;
14
+ source: Workload;
15
15
  enableProfiling: (source: WorkloadId) => Promise<EnableOrReleaseProfilingResult | undefined>;
16
16
  fetchProfilingSlots: () => Promise<ProfilingSlots | undefined>;
17
17
  fetchSourceProfiling: (source: WorkloadId) => Promise<SourceProfilingResult | undefined>;
@@ -0,0 +1,6 @@
1
+ import { type FC } from 'react';
2
+ import type { Workload } from '@/types';
3
+ export interface YamlFilesProps {
4
+ source: Workload;
5
+ }
6
+ export declare const YamlFiles: FC<YamlFilesProps>;
@@ -1,8 +1,8 @@
1
1
  import { type FC } from 'react';
2
- import { type Action, type Destination, EntityTypes, type InstrumentationRule, type Source, type Metrics } from '@/types';
2
+ import { type Action, type Destination, EntityTypes, type InstrumentationRule, type Metrics, type Workload } from '@/types';
3
3
  export interface ColumnProps {
4
4
  entityType: EntityTypes;
5
- entities: Source[] | Destination[] | Action[] | InstrumentationRule[];
5
+ entities: Workload[] | Destination[] | Action[] | InstrumentationRule[];
6
6
  unfilteredCount: number;
7
7
  metrics?: Metrics;
8
8
  loading: boolean;
@@ -1,5 +1,5 @@
1
1
  import { type FC } from 'react';
2
- import { type Action, type Destination, EntityTypes, type InstrumentationRule, type Source, StatusType, type SVG, type WorkloadId } from '@/types';
2
+ import { type Action, type Destination, EntityTypes, type InstrumentationRule, StatusType, type SVG, type WorkloadId, type Workload } from '@/types';
3
3
  export interface ListItemProps {
4
4
  entityId: string | WorkloadId;
5
5
  entityType: EntityTypes;
@@ -12,6 +12,6 @@ export interface ListItemProps {
12
12
  icons?: SVG[];
13
13
  iconSrc?: string;
14
14
  isActive?: boolean;
15
- raw: Source | Destination | Action | InstrumentationRule;
15
+ raw: Workload | Destination | Action | InstrumentationRule;
16
16
  }
17
17
  export declare const ListItem: FC<ListItemProps>;