@odigos/ui-kit 0.0.238 → 0.0.239

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 (98) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/lib/chunks/{index-D6SlbWIi.js → index-B5PgIL40.js} +1 -1
  3. package/lib/chunks/index-Dy4pkeq6.js +145 -0
  4. package/lib/chunks/index-uXyrp4Xe.js +41 -0
  5. package/lib/chunks/ui-components-BPdnIOmj.js +2248 -0
  6. package/lib/components/_v2/cards/data-card/index.d.ts +6 -1
  7. package/lib/components/_v2/drawer/header/index.d.ts +2 -0
  8. package/lib/components/_v2/drawer/index.d.ts +1 -1
  9. package/lib/components/_v2/drop-data/index.d.ts +1 -2
  10. package/lib/components/_v2/icon-group/index.d.ts +10 -0
  11. package/lib/components/_v2/index.d.ts +1 -0
  12. package/lib/components/_v2/tag/index.d.ts +10 -0
  13. package/lib/components/_v2/typography/index.d.ts +2 -0
  14. package/lib/components/v2.js +1 -1
  15. package/lib/components.js +1 -1
  16. package/lib/constants/sources/index.d.ts +5 -0
  17. package/lib/constants/strings/index.d.ts +89 -0
  18. package/lib/constants.js +1 -1
  19. package/lib/containers/_v2/_drawers/edit-source-drawer/common/index.d.ts +1 -0
  20. package/lib/containers/_v2/_drawers/edit-source-drawer/common/pods-header.d.ts +8 -0
  21. package/lib/containers/_v2/_drawers/edit-source-drawer/helpers.d.ts +12 -0
  22. package/lib/containers/_v2/_drawers/edit-source-drawer/index.d.ts +19 -0
  23. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/containers-card/distro-override.d.ts +11 -0
  24. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/containers-card/index.d.ts +7 -0
  25. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/containers-card/popup-form.d.ts +15 -0
  26. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/containers-card/runtime-override.d.ts +10 -0
  27. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/health-card.d.ts +6 -0
  28. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/index.d.ts +10 -0
  29. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/main-card.d.ts +6 -0
  30. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/index.d.ts +6 -0
  31. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/pods-list/container-row.d.ts +9 -0
  32. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/pods-list/helpers.d.ts +16 -0
  33. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/pods-list/index.d.ts +12 -0
  34. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/pods-list/pod-row.d.ts +8 -0
  35. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/pods-list/process-row.d.ts +10 -0
  36. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/pods-list/row-header.d.ts +13 -0
  37. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/pods-list/types.d.ts +18 -0
  38. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/statuses-card.d.ts +8 -0
  39. package/lib/containers/_v2/_drawers/edit-source-drawer/peers/index.d.ts +11 -0
  40. package/lib/containers/_v2/_drawers/edit-source-drawer/pods/containers-card/index.d.ts +7 -0
  41. package/lib/containers/_v2/_drawers/edit-source-drawer/pods/containers-card/process-card.d.ts +3 -0
  42. package/lib/containers/_v2/_drawers/edit-source-drawer/pods/debug-commands.d.ts +6 -0
  43. package/lib/containers/_v2/_drawers/edit-source-drawer/pods/index.d.ts +7 -0
  44. package/lib/containers/_v2/_drawers/edit-source-drawer/pods/pod-card.d.ts +8 -0
  45. package/lib/containers/_v2/_drawers/index.d.ts +1 -0
  46. package/lib/containers/_v2/_forms/edit-source-form/index.d.ts +2 -0
  47. package/lib/containers/_v2/_forms/index.d.ts +1 -0
  48. package/lib/containers/_v2/_modals/index.d.ts +1 -0
  49. package/lib/containers/_v2/_modals/onboarding-done/background.d.ts +5 -0
  50. package/lib/containers/_v2/_modals/onboarding-done/index.d.ts +3 -0
  51. package/lib/containers/_v2/overview/drawers/index.d.ts +1 -3
  52. package/lib/containers/source-drawer/index.d.ts +1 -1
  53. package/lib/containers/v2.js +226 -121
  54. package/lib/containers.js +49 -19
  55. package/lib/contexts/action-form-context.d.ts +0 -1
  56. package/lib/contexts/destination-form-context.d.ts +0 -1
  57. package/lib/contexts/index.d.ts +1 -0
  58. package/lib/contexts/rule-form-context.d.ts +0 -1
  59. package/lib/contexts/source-edit-form-context.d.ts +17 -0
  60. package/lib/contexts.js +1 -1
  61. package/lib/functions/get-containers-icons/index.d.ts +3 -1
  62. package/lib/functions/get-virtual-service-icon/index.d.ts +1 -1
  63. package/lib/functions/get-workload-id/index.d.ts +2 -2
  64. package/lib/functions/index.d.ts +2 -0
  65. package/lib/functions/is-pod-injected-with-agent/index.d.ts +3 -0
  66. package/lib/functions/map-desired-status-to-condition-status/index.d.ts +2 -0
  67. package/lib/functions.js +1 -1
  68. package/lib/hooks.js +1 -1
  69. package/lib/icons/brand/index.d.ts +3 -0
  70. package/lib/icons/brand/odigos-logo-text-colored-central/index.d.ts +2 -0
  71. package/lib/icons/brand/odigos-logo-text-colored-community/index.d.ts +2 -0
  72. package/lib/icons/brand/odigos-logo-text-colored-enterprise/index.d.ts +2 -0
  73. package/lib/icons.js +1 -1
  74. package/lib/mock-data/profiling/index.d.ts +1 -1
  75. package/lib/mock-data/service-map/index.d.ts +1 -1
  76. package/lib/mock-data/sources/index.d.ts +1 -1
  77. package/lib/snippets/_v2/odigos-logo-text-by-tier/index.d.ts +2 -0
  78. package/lib/snippets/_v2/rich-title/index.d.ts +5 -0
  79. package/lib/snippets/_v2/wide-drawer/index.d.ts +7 -1
  80. package/lib/snippets/source-container/index.d.ts +1 -2
  81. package/lib/snippets/v2.js +1 -1
  82. package/lib/snippets.js +1 -1
  83. package/lib/store.js +1 -1
  84. package/lib/theme.js +1 -1
  85. package/lib/types/common/index.d.ts +28 -0
  86. package/lib/types/service-map/index.d.ts +2 -2
  87. package/lib/types/sources/index.d.ts +7 -3
  88. package/lib/types/workload/index.d.ts +178 -1
  89. package/lib/types.js +1 -1
  90. package/lib/visuals.js +1 -1
  91. package/package.json +1 -1
  92. package/lib/chunks/index-CCaTS6aq.js +0 -145
  93. package/lib/chunks/index-ChkHWnzu.js +0 -77
  94. package/lib/chunks/ui-components-rpRyPe3l.js +0 -2235
  95. /package/lib/containers/{source-drawer → _v2/_drawers/edit-source-drawer}/profiling/flame-graph-canvas.d.ts +0 -0
  96. /package/lib/containers/{source-drawer → _v2/_drawers/edit-source-drawer}/profiling/flamebearer.d.ts +0 -0
  97. /package/lib/containers/{source-drawer → _v2/_drawers/edit-source-drawer}/profiling/index.d.ts +0 -0
  98. /package/lib/containers/{source-drawer → _v2/_drawers/edit-source-drawer}/profiling/symbol-table.d.ts +0 -0
@@ -1,6 +1,7 @@
1
1
  import { type ReactNode, type FC, type CSSProperties } from 'react';
2
2
  import { type BadgeProps } from '../../badge';
3
3
  import { DefaultTheme } from 'styled-components';
4
+ import { type DropDataProps } from '../../drop-data';
4
5
  import { type ActionsProps } from '@/snippets/_v2/actions';
5
6
  import { type RichTitleProps } from '@/snippets/_v2/rich-title';
6
7
  type BgTint = keyof DefaultTheme['v2']['colors']['silver'];
@@ -12,13 +13,17 @@ export interface DataCardProps {
12
13
  richTitle?: RichTitleProps;
13
14
  withCollapse?: boolean;
14
15
  collapseIsDefaultOpen?: boolean;
15
- actions?: ActionsProps['actions'];
16
16
  badges?: (BadgeProps & {
17
17
  key: string;
18
18
  })[];
19
+ actions?: ActionsProps['actions'];
20
+ dropDataActions?: (DropDataProps['items'][number] & {
21
+ onClick: () => void;
22
+ })[];
19
23
  cellsPerRow?: number;
20
24
  items?: {
21
25
  id: string;
26
+ spacer?: boolean;
22
27
  /** Optional. When omitted/empty the small grey title row is not rendered. */
23
28
  title?: string;
24
29
  titleTooltip?: string;
@@ -1,11 +1,13 @@
1
1
  import { type FC } from 'react';
2
2
  import type { SVG } from '@/types';
3
+ import { type BadgeProps } from '../../badge';
3
4
  import { type ToggleProps } from '../../toggle';
4
5
  import { type DropDataProps } from '../../drop-data';
5
6
  export interface HeaderProps {
6
7
  icon?: SVG;
7
8
  iconSrc?: string;
8
9
  title?: string;
10
+ titleBadges?: BadgeProps[];
9
11
  subTitle?: string;
10
12
  toggleProps?: ToggleProps;
11
13
  actions?: (DropDataProps['items'][number] & {
@@ -1,5 +1,5 @@
1
1
  import { type CSSProperties, type ReactNode, type FC } from 'react';
2
- import { HeaderProps } from './header';
2
+ import { type HeaderProps } from './header';
3
3
  import { type FooterProps } from './footer';
4
4
  export interface DrawerProps {
5
5
  isOpen: boolean;
@@ -1,7 +1,6 @@
1
1
  import { type FC, type CSSProperties, type ReactNode, type MouseEvent } from 'react';
2
2
  import type { SVG } from '@/types';
3
3
  import { type ButtonProps } from '../button';
4
- import { type IconButtonProps } from '../icon-button';
5
4
  export declare enum DropDataAlignX {
6
5
  Left = "left",
7
6
  Right = "right"
@@ -32,7 +31,7 @@ export interface DropDataProps {
32
31
  fullWidth?: boolean;
33
32
  maxHeight?: CSSProperties['maxHeight'];
34
33
  buttonProps?: Omit<ButtonProps, 'fullWidth'>;
35
- iconButtonProps?: IconButtonProps;
34
+ iconButtonProps?: Omit<ButtonProps, 'variant' | 'size'>;
36
35
  isLoading?: boolean;
37
36
  emptyMessage?: string;
38
37
  children?: ReactNode | ((props: {
@@ -0,0 +1,10 @@
1
+ import { type FC } from 'react';
2
+ import type { SVG } from '@/types';
3
+ export interface IconGroupProps {
4
+ icons?: SVG[];
5
+ icon?: SVG;
6
+ iconSrc?: string;
7
+ smallIconSize?: number;
8
+ largeIconSize?: number;
9
+ }
10
+ export declare const IconGroup: FC<IconGroupProps>;
@@ -16,6 +16,7 @@ export * from './field-title';
16
16
  export * from './header';
17
17
  export * from './hover-actions';
18
18
  export * from './icon-button';
19
+ export * from './icon-group';
19
20
  export * from './input';
20
21
  export * from './input-list';
21
22
  export * from './input-table';
@@ -1,6 +1,16 @@
1
1
  import { CSSProperties, type FC } from 'react';
2
2
  import { type SVG } from '@/types';
3
+ export declare enum TagVariants {
4
+ Default = "default",
5
+ Purple = "purple",
6
+ Yellow = "yellow",
7
+ Blue = "blue",
8
+ Pink = "pink",
9
+ Green = "green",
10
+ Loader = "loader"
11
+ }
3
12
  export interface TagProps {
13
+ variant?: TagVariants;
4
14
  label: string;
5
15
  leftIcon?: SVG;
6
16
  rightIcon?: SVG;
@@ -1,4 +1,5 @@
1
1
  import React, { type CSSProperties } from 'react';
2
+ import { type DefaultTheme } from 'styled-components';
2
3
  export declare enum TypographyVariants {
3
4
  H1 = "h1",
4
5
  H2 = "h2",
@@ -35,6 +36,7 @@ export declare enum TypographyColor {
35
36
  Link = "link",
36
37
  Success = "success"
37
38
  }
39
+ export declare const resolveTypographyColor: (theme: DefaultTheme, color?: TypographyProps["color"]) => string | undefined;
38
40
  export interface TypographyProps {
39
41
  children: React.ReactNode;
40
42
  variant?: TypographyVariants;
@@ -1 +1 @@
1
- export{fr as Autocomplete,aj as Badge,a6 as Button,B as ButtonSize,hi as ButtonTab,hj as ButtonTabList,a as ButtonVariants,aw as Checkbox,hk as CheckboxList,dD as CheckboxSize,dW as CliCommand,hl as Condition,bB as Conditions,hm as DEFAULT_TIME_UNITS,D as DataCard,r as Drawer,c1 as DropData,c3 as DropDataAlignX,c2 as DropDataAlignY,bg as DropDown,ax as FieldMessage,av as FieldTitle,dZ as GaugeChart,hn as GaugeChartVariant,ho as Header,$ as HoverActions,bh as IconButton,bi as IconButtonSize,ay as Input,aD as InputList,aB as InputTable,ds as Island,ah as Loader,dk as Modal,hp as Navbar,N as NoData,aL as Note,cP as Radio,hq as RadioGroup,cQ as RadioSize,ai as Search,ba as SectionCard,hr as SectionCardSize,ab as Segment,ad as SegmentSize,ac as SegmentVariant,dY as StatusCard,dt as Stepper,af as Table,ag as TableVariant,bI as Tag,aI as TextArea,d_ as TextCard,ex as TimeInput,a3 as Toggle,a5 as ToggleLabelAlign,hs as ToggleList,a4 as ToggleSize,ht as ToggleVariant,dF as TruncatableTypography,a7 as Typography,a8 as TypographyColor,a9 as TypographySize,br as TypographyVariants,a$ as WarningModal}from"../chunks/ui-components-rpRyPe3l.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{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";
package/lib/components.js CHANGED
@@ -1 +1 @@
1
- export{gP as Badge,gQ as Button,K as CancelWarning,b as CenterThis,gR as Checkbox,C as Code,aq as ConditionDetails,_ as DataCard,M as DataCardFieldTypes,gS as DataCardFields,gT as DataTab,J as DeleteWarning,Y as DescribeRow,s as Divider,H as Drawer,gU as DrawerFooter,gV as DrawerHeader,gW as Dropdown,gX as ErrorBoundary,gY as ExtendArrow,V as FadeLoader,gZ as FieldError,g_ as FieldLabel,F as FlexColumn,j as FlexRow,I as IconButton,g$ as IconGroup,h0 as IconWrapped,h1 as ImageControlled,L as Input,h2 as LoadingText,h3 as Modal,h4 as ModalBody,h5 as MonitorsIcons,e as NoDataFound,x as NotificationNote,h6 as Overlay,bA as Padding,dm as PageContent,P as Popup,h7 as PopupForm,h8 as ScrollX,dI as ScrollY,dJ as SkeletonLoader,Q as Status,h9 as TabList,ha as TableContainer,hb as TableTitleWrap,hc as TableWrap,T as Text,hd as ToggleCodeComponent,aa as Tooltip,d$ as UpgradeRequiredWrapper,he as VerticalScroll,as as WarningModal,hf as getLinksFromText,hg as getStrongsFromText,hh as renderText}from"./chunks/ui-components-rpRyPe3l.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{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,5 +1,10 @@
1
1
  import type { DropdownOption } from '@/components';
2
2
  import { OtelDistroName, ProgrammingLanguages } from '@/types';
3
+ /** OpenTelemetry / K8s identifying-attribute names emitted by the agent. */
4
+ export declare const PROCESS_ATTRIBUTE_NAMES: {
5
+ PID: string;
6
+ VPID: string;
7
+ };
3
8
  export declare const DISPLAY_LANGUAGES: Record<ProgrammingLanguages, string>;
4
9
  export declare const LANGUAGE_OPTIONS: DropdownOption<ProgrammingLanguages>[];
5
10
  export declare const OPENTELEMETRY_EBPF_DISTRO_OPTION: DropdownOption<OtelDistroName>;
@@ -96,11 +96,76 @@ export declare const DISPLAY_TITLES: {
96
96
  API_TOKENS: string;
97
97
  DESCRIBE_ODIGOS: string;
98
98
  DESCRIBE_SOURCE: string;
99
+ OVERVIEW: string;
100
+ LIBRARIES: string;
101
+ STANDARD_LIBRARY: string;
102
+ STANDARD: string;
103
+ PEER_SOURCES: string;
104
+ PROFILING: string;
105
+ INBOUND: string;
106
+ OUTBOUND: string;
107
+ INBOUND_DESCRIPTION: (serviceName: string) => string;
108
+ OUTBOUND_DESCRIPTION: (serviceName: string) => string;
109
+ NO_INBOUND_CONNECTIONS: string;
110
+ NO_OUTBOUND_CONNECTIONS: string;
111
+ COULD_NOT_FETCH_PEER_SOURCES: string;
112
+ VIRTUAL: string;
113
+ VIRTUAL_TOOLTIP: string;
114
+ NO_RESULTS: string;
115
+ NO_RESULTS_FOR_FILTER: (filter: string) => string;
116
+ POD: string;
117
+ PODS: string;
118
+ PODS_HEALTHY: string;
119
+ PODS_NOT_HEALTHY: string;
120
+ NO_RUNNING_PODS: string;
121
+ AGENT_INJECTED: string;
122
+ AGENT_NOT_INJECTED: string;
123
+ KUBERNETES_HEALTHY: string;
124
+ ODIGOS_HEALTHY: string;
125
+ HEALTHY: string;
126
+ UNHEALTHY: string;
127
+ NOT_HEALTHY: string;
128
+ NODE: string;
129
+ START_TIME: string;
130
+ RESTARTS: string;
131
+ LATEST_REVISION: string;
132
+ OLD_REVISION: string;
133
+ READY: string;
134
+ NOT_READY: string;
135
+ STARTED: string;
136
+ NOT_STARTED: string;
137
+ CRASHLOOP: string;
138
+ NO_CRASHLOOP: string;
139
+ CRASHLOOP_BACKOFF: string;
140
+ CANNOT_POOL_IMAGE: string;
141
+ DEVICE_NAME: string;
142
+ INSTRUMENTED: string;
143
+ UNINSTRUMENTED: string;
144
+ INSTRUMENTED_WITH_DISTRO: (otelDistroName: string) => string;
145
+ DEBUG_COMMANDS: string;
146
+ GET_POD: string;
147
+ GET_POD_YAML: string;
148
+ GET_POD_JSON: string;
149
+ GET_POD_DESCRIBE: string;
150
+ GET_POD_LOGS: string;
151
+ CONTAINER: string;
152
+ CONTAINERS: string;
99
153
  DETECTED_CONTAINERS: string;
100
154
  DETECTED_CONTAINERS_DESCRIPTION: string;
155
+ NO_CONTAINERS_DETECTED: string;
101
156
  DETECTED_PROCESSES: string;
102
157
  DETECTED_PROCESSES_DESCRIPTION: string;
158
+ NO_PROCESSES_DETECTED: string;
103
159
  CONTAINER_NAME: string;
160
+ PROCESS: string;
161
+ PROCESSES: string;
162
+ PROCESS_FALLBACK_NAME: string;
163
+ OPEN_IN_POD_TAB: string;
164
+ ALL_CONTAINERS_HEALTHY: (count: number) => string;
165
+ ALL_PROCESSES_HEALTHY: (count: number) => string;
166
+ PID: (pid: string) => string;
167
+ IDENTIFYING_ATTRIBUTES: string;
168
+ INSTRUMENTATION_LIBRARIES: string;
104
169
  FILTERED_COUNT_TOOLTIP: string;
105
170
  SEARCH_NAMESPACES: string;
106
171
  SEARCH_SOURCES: string;
@@ -122,6 +187,12 @@ export declare const DISPLAY_TITLES: {
122
187
  OVERIDDEN: string;
123
188
  OVERRIDE_RUNTIME_DETAILS: string;
124
189
  OVERRIDE_RUNTIME_WARNING: string;
190
+ OVERRIDE_OTEL_DISTRO_NAME: string;
191
+ OVERRIDE_OTEL_DISTRO_NAME_WARNING: string;
192
+ OTEL_DISTRO_NAME: string;
193
+ WAITING_FOR_RUNTIME_DETECTION: string;
194
+ DETECTING_RUNTIME_INFO: string;
195
+ NO_AVAILABLE_AGENT: string;
125
196
  ACTIVE: string;
126
197
  INACTIVE: string;
127
198
  ENABLED: string;
@@ -130,7 +201,21 @@ export declare const DISPLAY_TITLES: {
130
201
  ARE_SERVICES_INSTRUMENTED_AND_PRODUCING_TRAFFIC: string;
131
202
  JAVA_CUSTOM_PROBES: string;
132
203
  GOLANG_CUSTOM_PROBES: string;
204
+ ROLLOUT: string;
205
+ ROLLOUT_RESTART: string;
206
+ ROLLOUT_NOT_REQUIRED: string;
207
+ ROLLOUT_NOT_REQUIRED_MESSAGE: string;
208
+ ROLLOUT_FAILED: string;
209
+ ROLLOUT_PREVIOUS_ONGOING: string;
210
+ ROLLOUT_PREVIOUS_ONGOING_MESSAGE: string;
211
+ ROLLOUT_AUTO_DISABLED: string;
212
+ ROLLOUT_AUTO_DISABLED_MESSAGE: string;
213
+ ROLLOUT_FINISHED: string;
214
+ ROLLOUT_FINISHED_MESSAGE: string;
215
+ ROLLBACK: string;
216
+ ROLLBACK_OCCURRED: string;
133
217
  ROLLBACK_OCCURRED_MESSAGE: string;
218
+ ROLLBACK_SUCCESS: string;
134
219
  ROLLBACK_RECOVER: string;
135
220
  FETCHING_NAMESPACES: string;
136
221
  FETCHING_NAMESPACES_SUBTITLE: string;
@@ -148,6 +233,7 @@ export declare const DISPLAY_TITLES: {
148
233
  CREATING_DESTINATION: string;
149
234
  CREATING_DESTINATION_SUBTITLE: string;
150
235
  ADD_DESTINATION_DRAWER_DESCRIPTION: string;
236
+ THROUGHPUT_LAST_10_SECONDS: string;
151
237
  };
152
238
  export declare const BUTTON_TEXTS: {
153
239
  GET_STARTED: string;
@@ -159,6 +245,9 @@ export declare const BUTTON_TEXTS: {
159
245
  UPDATE: string;
160
246
  EDIT: string;
161
247
  DELETE: string;
248
+ RESTART: string;
249
+ RESTART_POD: string;
250
+ REFRESH: string;
162
251
  CANCEL: string;
163
252
  DONE: string;
164
253
  SAVE: string;
package/lib/constants.js CHANGED
@@ -1 +1 @@
1
- export{bd as ACTION_ATTRIBUTE_OPTIONS,gl as ACTION_OPTIONS,be as ACTION_SAMPLER_OPTIONS,gm as ALL_SOURCES,bK as BTN_CANCEL,e3 as BTN_CREATE_FIRST_RULE,bS as BTN_CREATE_RULE,bN as BTN_DELETE_RULE,fc as BTN_EDIT_AUTO_RULE,bM as BTN_EDIT_RULE,b_ as BTN_SAVE,bL as BTN_SAVE_RULE,G as BUTTON_TEXTS,bP as CATEGORY_DESCRIPTIONS,f9 as CATEGORY_LABELS,bT as CATEGORY_TITLES,gn as CREATE_COST_REDUCTION_AUTO_RULE_DRAWER_TITLE,go as CREATE_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_TITLE,gp as CREATE_NOISY_AUTO_RULE_DRAWER_TITLE,by as DEFAULT_CLUSTER_ID,bx as DEFAULT_CLUSTER_NAME,dS as DEFAULT_DATA_STREAM_NAME,eD as DESC_DURATION,eC as DESC_ERRORS,eG as DESC_OPERATION,gq as DESC_PERCENTAGE_HIGHLY_RELEVANT,b6 as DESC_PERCENTAGE_NOISY,fa as DESC_RULE_TYPE,fp as DESC_SOURCE_SCOPE,bj as DESTINATION_CATEGORIES,aY as DISPLAY_LANGUAGES,n as DISPLAY_TITLES,aH as DOCS_BASE_URL,bf as DestinationCategoryTypes,bW as EDIT_COST_REDUCTION_AUTO_RULE_DRAWER_SUBTITLE,bX as EDIT_COST_REDUCTION_AUTO_RULE_DRAWER_TITLE,bU as EDIT_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_SUBTITLE,bV as EDIT_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_TITLE,bY as EDIT_NOISY_AUTO_RULE_DRAWER_SUBTITLE,bZ as EDIT_NOISY_AUTO_RULE_DRAWER_TITLE,bQ as EDIT_TITLES,eS as EMPTY_VALUE,e1 as FILTER_TYPE_ALL,bH as FORM_ALERTS,bm as INSTRUMENTATION_RULE_OPTIONS,eE as LABEL_CUSTOM_DURATION,bb as LABEL_CUSTOM_PERCENTAGE,b9 as LABEL_DISABLED,e0 as LABEL_DISABLED_RULE,f1 as LABEL_DROP_ALL,b3 as LABEL_DROP_AT_MOST,b8 as LABEL_ENABLED,eL as LABEL_HTTP_ROUTE,eN as LABEL_HTTP_ROUTE_PREFIX,eP as LABEL_KAFKA_TOPIC,f2 as LABEL_KEEP_ALL,eZ as LABEL_KEEP_AT_LEAST,e_ as LABEL_KEEP_AT_MOST,eY as LABEL_KEEP_PERCENTAGE,eB as LABEL_KEEP_TRACES_DURATION,ez as LABEL_KEEP_TRACES_ERRORS,eO as LABEL_METHOD,f5 as LABEL_NOTE,fh as LABEL_NO_PREVIEW,eR as LABEL_OPERATION_TYPE,gr as LABEL_RULE_DISABLED,gs as LABEL_RULE_ENABLED,f3 as LABEL_RULE_NAME,f4 as LABEL_RULE_TYPE,e$ as LABEL_SAMPLE,eI as LABEL_SERVER_ADDRESS,eK as LABEL_TEMPLATED_PATH,eM as LABEL_TEMPLATED_PATH_PREFIX,gt as LANGUAGE_OPTIONS,dx as MONITORS_OPTIONS,fn as NOTE_ENTIRE_CLUSTER,fq as NOTE_SOURCE_SCOPE_LOGIC,gu as OPENTELEMETRY_EBPF_DISTRO_OPTION,eU as OPERATION_ALL,eT as OPERATION_HTTP_CLIENT,eQ as OPERATION_HTTP_SERVER,eV as OPERATION_KAFKA_CONSUMER,eW as OPERATION_KAFKA_PRODUCER,gv as OTEL_DISTRO_NAME_OPTIONS,eX as PERCENTAGE_SECTION_DESCRIPTIONS,f7 as PLACEHOLDER_NOTE,eJ as PLACEHOLDER_ROUTE,f6 as PLACEHOLDER_RULE_NAME,fs as PLACEHOLDER_SEARCH_SOURCE,eH as PLACEHOLDER_SERVER_ADDRESS,b7 as SAMPLING_AUTO_RULE_TITLE,em as SAMPLING_BTN_CREATE_RULE,ek as SAMPLING_BTN_DOCS,el as SAMPLING_BTN_REFRESH,b5 as SAMPLING_COST_REDUCTION_AUTO_RULE_TITLE,es as SAMPLING_DELETE_MODAL_APPROVE,et as SAMPLING_DELETE_MODAL_CANCEL,eu as SAMPLING_DELETE_MODAL_DESCRIPTION,ev as SAMPLING_DELETE_MODAL_TITLE,b$ as SAMPLING_DRAWER_WIDTH,ej as SAMPLING_DUPLICATE_RULE_WARNING,b2 as SAMPLING_HIGHLY_RELEVANT_AUTO_RULE_TITLE,cS as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_1,cT as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_2,cU as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_3,cV as SAMPLING_ONBOARDING_ADVANCED_LEFT_TITLE,cW as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_1,cX as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_2,cY as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_3,cZ as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_4,c_ as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_5,c$ as SAMPLING_ONBOARDING_ADVANCED_RIGHT_TITLE,d1 as SAMPLING_ONBOARDING_ADVANCED_SUBTITLE,d0 as SAMPLING_ONBOARDING_ADVANCED_TITLE,dj as SAMPLING_ONBOARDING_AMBIENT_LABEL,cm as SAMPLING_ONBOARDING_BTN_GO_TO,c6 as SAMPLING_ONBOARDING_BTN_NEXT,cR as SAMPLING_ONBOARDING_BTN_READ_MORE,cx as SAMPLING_ONBOARDING_BTN_SKIP,cy as SAMPLING_ONBOARDING_BTN_START,d2 as SAMPLING_ONBOARDING_COMMON_BANNER,di as SAMPLING_ONBOARDING_COMMON_RULES_SECTION,d6 as SAMPLING_ONBOARDING_DROP_DESCRIPTION,d5 as SAMPLING_ONBOARDING_DROP_SUBTITLE,d4 as SAMPLING_ONBOARDING_DROP_TITLE,d9 as SAMPLING_ONBOARDING_ERROR_PRESET_NAME,d8 as SAMPLING_ONBOARDING_ERROR_PRESET_TOGGLE_LABEL,dc as SAMPLING_ONBOARDING_KEEP_DESCRIPTION,db as SAMPLING_ONBOARDING_KEEP_SUBTITLE,da as SAMPLING_ONBOARDING_KEEP_TITLE,dd as SAMPLING_ONBOARDING_KEEP_USE_CASE_1,de as SAMPLING_ONBOARDING_KEEP_USE_CASE_2,df as SAMPLING_ONBOARDING_KEEP_USE_CASE_3,dg as SAMPLING_ONBOARDING_KEEP_USE_CASE_4,dh as SAMPLING_ONBOARDING_KEEP_USE_CASE_5,ce as SAMPLING_ONBOARDING_NOISY_BANNER,ca as SAMPLING_ONBOARDING_NOISY_DESCRIPTION,cd as SAMPLING_ONBOARDING_NOISY_PRESET_NAME,cb as SAMPLING_ONBOARDING_NOISY_PRESET_SECTION,cc as SAMPLING_ONBOARDING_NOISY_PRESET_TOGGLE_LABEL,c9 as SAMPLING_ONBOARDING_NOISY_SUBTITLE,c8 as SAMPLING_ONBOARDING_NOISY_TITLE,d7 as SAMPLING_ONBOARDING_PRESET_RULES_SECTION,c4 as SAMPLING_ONBOARDING_RECOMMENDED_BADGE,cM as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_BADGE,cN as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_DESC,cO as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_NAME,cJ as SAMPLING_ONBOARDING_STRATEGY_DROP_BADGE,cH as SAMPLING_ONBOARDING_STRATEGY_DROP_BULLET_1,cI as SAMPLING_ONBOARDING_STRATEGY_DROP_BULLET_2,cK as SAMPLING_ONBOARDING_STRATEGY_DROP_DESC,cL as SAMPLING_ONBOARDING_STRATEGY_DROP_NAME,cE as SAMPLING_ONBOARDING_STRATEGY_KEEP_BADGE,cC as SAMPLING_ONBOARDING_STRATEGY_KEEP_BULLET_1,cD as SAMPLING_ONBOARDING_STRATEGY_KEEP_BULLET_2,cF as SAMPLING_ONBOARDING_STRATEGY_KEEP_DESC,cG as SAMPLING_ONBOARDING_STRATEGY_KEEP_NAME,cB as SAMPLING_ONBOARDING_STRATEGY_KEEP_WARNING,cA as SAMPLING_ONBOARDING_STRATEGY_SUBTITLE,cz as SAMPLING_ONBOARDING_STRATEGY_TITLE,cj as SAMPLING_ONBOARDING_SUCCESS_BULLET_1,ck as SAMPLING_ONBOARDING_SUCCESS_BULLET_2,cl as SAMPLING_ONBOARDING_SUCCESS_BULLET_3,ci as SAMPLING_ONBOARDING_SUCCESS_INTRO,ch as SAMPLING_ONBOARDING_SUCCESS_SUBTITLE,cg as SAMPLING_ONBOARDING_SUCCESS_TITLE,cw as SAMPLING_ONBOARDING_WELCOME_BANNER,cp as SAMPLING_ONBOARDING_WELCOME_INTRO,cq as SAMPLING_ONBOARDING_WELCOME_STAGE_1_DESC,cr as SAMPLING_ONBOARDING_WELCOME_STAGE_1_TITLE,cs as SAMPLING_ONBOARDING_WELCOME_STAGE_2_DESC,ct as SAMPLING_ONBOARDING_WELCOME_STAGE_2_TITLE,cu as SAMPLING_ONBOARDING_WELCOME_STAGE_3_DESC,cv as SAMPLING_ONBOARDING_WELCOME_STAGE_3_TITLE,co as SAMPLING_ONBOARDING_WELCOME_SUBTITLE,cn as SAMPLING_ONBOARDING_WELCOME_TITLE,en as SAMPLING_PAGE_DESCRIPTION,eo as SAMPLING_PAGE_TITLE,eA as SECTION_DURATION,ey as SECTION_ERRORS,b4 as SECTION_KEEP_PERCENTAGE,eF as SECTION_OPERATION,fg as SECTION_SAMPLING_PREVIEW,fm as SECTION_SOURCE_SCOPE,dv as STORAGE_KEYS,e2 as TITLE_NO_RESULTS,e4 as TITLE_NO_RULES,gw as TOKEN_ABOUT_TO_EXPIRE,f8 as TOOLTIP_NOTE,fo as UNKNOWN_SOURCE_LABEL,bR as UNNAMED_RULE,e5 as getNoResultsSubTitle}from"./chunks/ui-components-rpRyPe3l.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{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";
@@ -0,0 +1 @@
1
+ export * from './pods-header';
@@ -0,0 +1,8 @@
1
+ import { type FC } from 'react';
2
+ import { type DesiredConditionStatus, type K8sWorkloadPod } from '@/types';
3
+ export interface PodsHeaderProps {
4
+ podsHealthStatus?: DesiredConditionStatus | null;
5
+ pods?: K8sWorkloadPod[] | null;
6
+ noPadding?: boolean;
7
+ }
8
+ export declare const PodsHeader: FC<PodsHeaderProps>;
@@ -0,0 +1,12 @@
1
+ import { type DataCardProps } from '@/components/_v2';
2
+ import { type Source } from '@/types';
3
+ /**
4
+ * Build the items shown in the view-mode `Source Details` `DataCard`.
5
+ * In VM mode the namespace is hidden and the kubectl command is omitted (handled separately).
6
+ */
7
+ export declare const buildDataCard: (source: Source, isVm: boolean) => DataCardProps["items"];
8
+ /**
9
+ * Build the kubectl command that targets this source. Returns `null` for VM sources
10
+ * (they don't have a workload to address with kubectl).
11
+ */
12
+ export declare const buildKubectlCommand: (source: Source, isVm: boolean) => string | null;
@@ -0,0 +1,19 @@
1
+ import { type FC } from 'react';
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';
4
+ export interface EditSourceDrawerProps {
5
+ onClose: () => void;
6
+ sourceId: WorkloadId;
7
+ fetchSourceById: (id: WorkloadId, bypassPaginationLoader?: boolean) => Promise<Source | undefined>;
8
+ persistSources: PersistSourcesFunc;
9
+ updateSource: UpdateSourceFunc;
10
+ restartWorkloads: RestartWorkloadsFunc;
11
+ restartPod: RestartPodFunc;
12
+ recoverFromRollback: RecoverFromRollbackFunc;
13
+ fetchPeerSources: FetchPeerSourcesFunc;
14
+ profilingFeatureIsConfigured: boolean;
15
+ enableProfiling: ProfilingProps['enableProfiling'];
16
+ fetchProfilingSlots: ProfilingProps['fetchProfilingSlots'];
17
+ fetchSourceProfiling: ProfilingProps['fetchSourceProfiling'];
18
+ }
19
+ export declare const EditSourceDrawer: FC<EditSourceDrawerProps>;
@@ -0,0 +1,11 @@
1
+ import { type FC } from 'react';
2
+ import { type SourceFormData, ProgrammingLanguages } from '@/types';
3
+ type FormValues = Pick<SourceFormData, 'otelDistroName'>;
4
+ export interface DistroOverrideProps {
5
+ language: ProgrammingLanguages | null;
6
+ overridden: boolean;
7
+ onOverride: (payload: FormValues) => Promise<void>;
8
+ defaultValues: FormValues;
9
+ }
10
+ export declare const DistroOverride: FC<DistroOverrideProps>;
11
+ export {};
@@ -0,0 +1,7 @@
1
+ import { type FC } from 'react';
2
+ import { type Source, type SourceFormData } from '@/types';
3
+ export interface ContainersCardProps {
4
+ source: Source;
5
+ onOverride: (payload: Pick<SourceFormData, 'containerName' | 'language' | 'version' | 'otelDistroName'>) => Promise<void>;
6
+ }
7
+ export declare const ContainersCard: FC<ContainersCardProps>;
@@ -0,0 +1,15 @@
1
+ import React, { type FC, type CSSProperties } from 'react';
2
+ interface PopupFormProps {
3
+ width: CSSProperties['width'];
4
+ onClose: () => void;
5
+ onSave: () => void;
6
+ onDelete: () => void;
7
+ title: string;
8
+ warning: string;
9
+ children: React.ReactNode;
10
+ }
11
+ export declare const Relative: FC<{
12
+ children: React.ReactNode;
13
+ }>;
14
+ export declare const PopupForm: FC<PopupFormProps>;
15
+ export {};
@@ -0,0 +1,10 @@
1
+ import { type FC } from 'react';
2
+ import { type SourceFormData } from '@/types';
3
+ type FormValues = Pick<SourceFormData, 'language' | 'version'>;
4
+ export interface RuntimeOverrideProps {
5
+ overridden: boolean;
6
+ onOverride: (payload: FormValues) => Promise<void>;
7
+ defaultValues: FormValues;
8
+ }
9
+ export declare const RuntimeOverride: FC<RuntimeOverrideProps>;
10
+ export {};
@@ -0,0 +1,6 @@
1
+ import { type FC } from 'react';
2
+ import type { Source } from '@/types';
3
+ export interface HealthCardProps {
4
+ source: Source;
5
+ }
6
+ export declare const HealthCard: FC<HealthCardProps>;
@@ -0,0 +1,10 @@
1
+ import { type FC } from 'react';
2
+ import type { Source } from '@/types';
3
+ import { type ContainersCardProps } from './containers-card';
4
+ export interface OverviewProps {
5
+ source: Source;
6
+ onClickRollout: () => void;
7
+ onClickRollback: () => void;
8
+ onOverride: ContainersCardProps['onOverride'];
9
+ }
10
+ export declare const Overview: FC<OverviewProps>;
@@ -0,0 +1,6 @@
1
+ import { type FC } from 'react';
2
+ import type { Source } from '@/types';
3
+ export interface MainCardProps {
4
+ source: Source;
5
+ }
6
+ export declare const MainCard: FC<MainCardProps>;
@@ -0,0 +1,6 @@
1
+ import { type FC } from 'react';
2
+ import type { Source } from '@/types';
3
+ export interface PodsCardProps {
4
+ source: Source;
5
+ }
6
+ export declare const PodsCard: FC<PodsCardProps>;
@@ -0,0 +1,9 @@
1
+ import { type FC } from 'react';
2
+ import type { OnJumpToProcess } from './types';
3
+ import { type K8sWorkloadPod, type K8sWorkloadPodContainer } from '@/types';
4
+ export interface ContainerRowProps {
5
+ pod: K8sWorkloadPod;
6
+ container: K8sWorkloadPodContainer;
7
+ onJumpToProcess?: OnJumpToProcess;
8
+ }
9
+ export declare const ContainerRow: FC<ContainerRowProps>;
@@ -0,0 +1,16 @@
1
+ import type { K8sWorkloadPodContainerProcess } from '@/types';
2
+ /** Inner horizontal padding of the silver/800 (pod) and silver/750 (container) background cards. */
3
+ export declare const SECTION_PADDING: {
4
+ pod: number;
5
+ container: number;
6
+ };
7
+ /**
8
+ * Left padding of each row header, relative to its parent section. These add to the
9
+ * `SECTION_PADDING` of any ancestors to produce the figma's stair-step indentation.
10
+ */
11
+ export declare const ROW_PADDING_LEFT: {
12
+ pod: number;
13
+ container: number;
14
+ process: number;
15
+ };
16
+ export declare const getProcessPid: (process: Pick<K8sWorkloadPodContainerProcess, "identifyingAttributes">) => string | null;
@@ -0,0 +1,12 @@
1
+ import { type FC } from 'react';
2
+ import type { K8sWorkloadPod } from '@/types';
3
+ import type { OnJumpToProcess } from './types';
4
+ export interface PodsListProps {
5
+ pods?: K8sWorkloadPod[] | null;
6
+ /**
7
+ * Optional handler invoked when the "jump to pod" action is triggered for a process.
8
+ * Should navigate the user to the relevant spot in the Pod tab.
9
+ */
10
+ onJumpToProcess?: OnJumpToProcess;
11
+ }
12
+ export declare const PodsList: FC<PodsListProps>;
@@ -0,0 +1,8 @@
1
+ import { type FC } from 'react';
2
+ import type { OnJumpToProcess } from './types';
3
+ import { type K8sWorkloadPod } from '@/types';
4
+ export interface PodRowProps {
5
+ pod: K8sWorkloadPod;
6
+ onJumpToProcess?: OnJumpToProcess;
7
+ }
8
+ export declare const PodRow: FC<PodRowProps>;
@@ -0,0 +1,10 @@
1
+ import { type FC } from 'react';
2
+ import type { OnJumpToProcess } from './types';
3
+ import { type K8sWorkloadPod, type K8sWorkloadPodContainer, type K8sWorkloadPodContainerProcess } from '@/types';
4
+ export interface ProcessRowProps {
5
+ pod: K8sWorkloadPod;
6
+ container: K8sWorkloadPodContainer;
7
+ process: K8sWorkloadPodContainerProcess;
8
+ onJumpToProcess?: OnJumpToProcess;
9
+ }
10
+ export declare const ProcessRow: FC<ProcessRowProps>;
@@ -0,0 +1,13 @@
1
+ import { type FC } from 'react';
2
+ import { type SVG } from '@/types';
3
+ import type { BadgeDescriptor, RowAction } from './types';
4
+ export interface RowHeaderProps {
5
+ chevron?: SVG;
6
+ onClick?: () => void;
7
+ label: string;
8
+ name: string;
9
+ badges: BadgeDescriptor[];
10
+ action?: RowAction;
11
+ paddingLeft: number;
12
+ }
13
+ export declare const RowHeader: FC<RowHeaderProps>;
@@ -0,0 +1,18 @@
1
+ import type { K8sWorkloadPod, K8sWorkloadPodContainer, K8sWorkloadPodContainerProcess, OtherStatus, StatusType, SVG } from '@/types';
2
+ /**
3
+ * Handler invoked when the "jump to pod" action is triggered for a process.
4
+ * Should navigate the user to the relevant spot in the Pod tab.
5
+ */
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
+ export interface RowAction {
15
+ icon: SVG;
16
+ onClick: () => void;
17
+ tooltip?: string;
18
+ }
@@ -0,0 +1,8 @@
1
+ import { type FC } from 'react';
2
+ import { type Source } from '@/types';
3
+ export interface StatusesCardProps {
4
+ source: Source;
5
+ onClickRollout: () => void;
6
+ onClickRollback: () => void;
7
+ }
8
+ export declare const StatusesCard: FC<StatusesCardProps>;
@@ -0,0 +1,11 @@
1
+ import { type FC } from 'react';
2
+ import type { PeerSources, Source } from '@/types';
3
+ export interface PeersProps {
4
+ source: Source;
5
+ fetchPeerSources: (serviceName: string) => Promise<{
6
+ data?: {
7
+ peerSources: PeerSources;
8
+ };
9
+ }>;
10
+ }
11
+ export declare const Peers: FC<PeersProps>;
@@ -0,0 +1,7 @@
1
+ import { type FC } from 'react';
2
+ import { type K8sWorkloadPodContainer, type SourceContainer } from '@/types';
3
+ export interface ContainersCardProps {
4
+ podContainers?: K8sWorkloadPodContainer[] | null;
5
+ sourceContainers?: SourceContainer[] | null;
6
+ }
7
+ export declare const ContainersCard: FC<ContainersCardProps>;
@@ -0,0 +1,3 @@
1
+ import { type FC } from 'react';
2
+ import { type K8sWorkloadPodContainerProcess } from '@/types';
3
+ export declare const ProcessCard: FC<K8sWorkloadPodContainerProcess>;
@@ -0,0 +1,6 @@
1
+ import { type FC } from 'react';
2
+ export interface DebugCommandsProps {
3
+ podName: string;
4
+ namespace: string;
5
+ }
6
+ export declare const DebugCommands: FC<DebugCommandsProps>;
@@ -0,0 +1,7 @@
1
+ import { type FC } from 'react';
2
+ import { type Source } from '@/types';
3
+ export interface PodsProps {
4
+ source: Source;
5
+ onClickRestartPod?: (namespace: string, name: string) => void;
6
+ }
7
+ export declare const Pods: FC<PodsProps>;
@@ -0,0 +1,8 @@
1
+ import { ReactNode, type FC } from 'react';
2
+ import { type K8sWorkloadPod } from '@/types';
3
+ export interface PodCardProps extends K8sWorkloadPod {
4
+ children?: ReactNode;
5
+ namespace: string;
6
+ onClickRestartPod?: (namespace: string, name: string) => void;
7
+ }
8
+ export declare const PodCard: FC<PodCardProps>;
@@ -6,5 +6,6 @@ export * from './edit-action-drawer';
6
6
  export * from './edit-config-drawer';
7
7
  export * from './edit-destination-drawer';
8
8
  export * from './edit-rule-drawer';
9
+ export * from './edit-source-drawer';
9
10
  export * from './sampling-rule-drawer';
10
11
  export * from './system-drawer';
@@ -0,0 +1,2 @@
1
+ import { type FC } from 'react';
2
+ export declare const EditSourceForm: FC;