@odigos/ui-kit 0.0.264 → 0.0.266

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 (72) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/lib/chunks/index-DUhfkGj1.js +155 -0
  3. package/lib/chunks/{odigos-context-_YAZF63s.js → odigos-context-DzuZq_D5.js} +2 -2
  4. package/lib/chunks/source-instrument-form-context-DnvGijkN.js +5 -0
  5. package/lib/chunks/ui-components-Dq_j4_BI.js +1591 -0
  6. package/lib/components/condition/index.d.ts +10 -1
  7. package/lib/components/index.d.ts +1 -0
  8. package/lib/components/radio-card/index.d.ts +16 -0
  9. package/lib/components/skeleton-loader/index.d.ts +2 -1
  10. package/lib/components.js +1 -1
  11. package/lib/constants/strings/index.d.ts +78 -1
  12. package/lib/constants.js +1 -1
  13. package/lib/containers/_drawers/add-source-drawer/strings.d.ts +8 -6
  14. package/lib/containers/_drawers/create-cloud-connector-drawer/index.d.ts +15 -0
  15. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/select-provider/custom-resource-table.d.ts +9 -0
  16. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/select-provider/helpers.d.ts +5 -0
  17. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/select-provider/index.d.ts +2 -0
  18. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/select-provider/permission-list.d.ts +12 -0
  19. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/select-provider/permissions.d.ts +25 -0
  20. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/select-provider/policy-preview.d.ts +5 -0
  21. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/select-provider/provider-list.d.ts +8 -0
  22. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/setup-credentials/create-role-section.d.ts +6 -0
  23. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/setup-credentials/enter-arn-section.d.ts +5 -0
  24. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/setup-credentials/index.d.ts +5 -0
  25. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/setup-credentials/methods.d.ts +30 -0
  26. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/setup-credentials/section.d.ts +9 -0
  27. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/validate-connection/index.d.ts +8 -0
  28. package/lib/containers/_drawers/edit-source-drawer/helpers.d.ts +9 -5
  29. package/lib/containers/_drawers/edit-source-drawer/libraries/index.d.ts +6 -0
  30. package/lib/containers/_drawers/edit-source-drawer/overview/runtime-card.d.ts +14 -0
  31. package/lib/containers/_drawers/edit-source-drawer/overview/vm-processes.d.ts +10 -0
  32. package/lib/containers/_drawers/edit-source-drawer/pods/containers-card/process-card.d.ts +7 -1
  33. package/lib/containers/_drawers/edit-source-drawer/profiling/flamebearer.d.ts +18 -0
  34. package/lib/containers/_drawers/edit-source-drawer/tabs.d.ts +1 -0
  35. package/lib/containers/_drawers/index.d.ts +1 -0
  36. package/lib/containers/central-connections/helpers.d.ts +11 -1
  37. package/lib/containers/central-connections/index.d.ts +6 -1
  38. package/lib/containers.js +610 -170
  39. package/lib/contexts/cloud-connector-form-context.d.ts +35 -0
  40. package/lib/contexts/index.d.ts +1 -0
  41. package/lib/contexts/odigos-api/capabilities.d.ts +5 -1
  42. package/lib/contexts/odigos-api/hooks/use-sources-api.d.ts +1 -0
  43. package/lib/contexts/odigos-api/types.d.ts +1 -0
  44. package/lib/contexts/odigos-context.d.ts +2 -0
  45. package/lib/contexts.js +1 -1
  46. package/lib/functions/get-source-kind-label/index.d.ts +8 -0
  47. package/lib/functions/index.d.ts +1 -0
  48. package/lib/functions.js +1 -1
  49. package/lib/hooks.js +1 -1
  50. package/lib/icons/compute-platform/cloud-connector-icon/index.d.ts +2 -0
  51. package/lib/icons/compute-platform/cloud-connector-policy-icon/index.d.ts +2 -0
  52. package/lib/icons/compute-platform/index.d.ts +2 -0
  53. package/lib/icons.js +1 -1
  54. package/lib/snippets/connector-created-modal/index.d.ts +7 -0
  55. package/lib/snippets/index.d.ts +1 -0
  56. package/lib/snippets.js +1 -1
  57. package/lib/store.js +1 -1
  58. package/lib/theme/palettes/index.d.ts +1 -0
  59. package/lib/theme.js +1 -1
  60. package/lib/types/actions/index.d.ts +1 -4
  61. package/lib/types/cloud-connectors/index.d.ts +88 -0
  62. package/lib/types/common/index.d.ts +2 -1
  63. package/lib/types/index.d.ts +1 -0
  64. package/lib/types/snapshot/index.d.ts +1 -0
  65. package/lib/types/sources/index.d.ts +1 -0
  66. package/lib/types/workload/index.d.ts +68 -0
  67. package/lib/types.js +1 -1
  68. package/lib/visuals.js +1 -1
  69. package/package.json +1 -1
  70. package/lib/chunks/index-B-zICLj7.js +0 -155
  71. package/lib/chunks/source-instrument-form-context-CZQIaTUV.js +0 -5
  72. package/lib/chunks/ui-components-CAPnizLR.js +0 -1543
@@ -1,4 +1,4 @@
1
- import { type CSSProperties, type FC } from 'react';
1
+ import React, { type CSSProperties, type FC } from 'react';
2
2
  import { type SVG, StatusType } from '../../types';
3
3
  interface ConditionAction {
4
4
  'data-id'?: string;
@@ -6,6 +6,14 @@ interface ConditionAction {
6
6
  tooltip: string;
7
7
  onClick: () => void;
8
8
  }
9
+ export interface ConditionActionButton {
10
+ 'data-id'?: string;
11
+ label: string;
12
+ tooltip?: string;
13
+ leftIcon?: SVG;
14
+ disabled?: boolean;
15
+ onClick: (e: React.MouseEvent) => void;
16
+ }
9
17
  export interface ConditionProps {
10
18
  status: StatusType;
11
19
  title: string;
@@ -13,6 +21,7 @@ export interface ConditionProps {
13
21
  badgeLabel?: string;
14
22
  loading?: boolean;
15
23
  action?: ConditionAction;
24
+ actionButtons?: ConditionActionButton[];
16
25
  isExtended?: boolean;
17
26
  toggleExtended?: () => void;
18
27
  invertColors?: boolean;
@@ -30,6 +30,7 @@ export * from './navbar';
30
30
  export * from './no-data';
31
31
  export * from './note';
32
32
  export * from './radio';
33
+ export * from './radio-card';
33
34
  export * from './scroll-y';
34
35
  export * from './search';
35
36
  export * from './segment';
@@ -0,0 +1,16 @@
1
+ import { type FC, type ReactNode } from 'react';
2
+ export interface RadioCardProps {
3
+ 'data-id'?: string;
4
+ /** Bold title shown next to the radio. */
5
+ title: string;
6
+ /** Optional supporting copy under the title. */
7
+ description?: ReactNode;
8
+ /** Optional rich content rendered below the header (e.g. a policy preview). */
9
+ body?: ReactNode;
10
+ /** Optional note rendered at the bottom of the card (e.g. a contextual banner). */
11
+ footerNote?: ReactNode;
12
+ checked: boolean;
13
+ onChange: (checked: boolean) => void;
14
+ disabled?: boolean;
15
+ }
16
+ export declare const RadioCard: FC<RadioCardProps>;
@@ -1,6 +1,7 @@
1
1
  import { type CSSProperties, type FC } from 'react';
2
2
  export interface SkeletonLoaderProps {
3
- maxWidth?: CSSProperties['maxWidth'];
4
3
  size?: number;
4
+ maxWidth?: CSSProperties['maxWidth'];
5
+ maxHeight?: CSSProperties['maxHeight'];
5
6
  }
6
7
  export declare const SkeletonLoader: FC<SkeletonLoaderProps>;
package/lib/components.js CHANGED
@@ -1 +1 @@
1
- export{aI as Autocomplete,bE as Badge,k as Button,l as ButtonSize,g5 as ButtonTab,g6 as ButtonTabList,B as ButtonVariants,aT as CenterThis,C as Checkbox,g7 as CheckboxList,aK as CheckboxSize,ce as CliCommand,a_ as Code,c9 as Condition,b$ as Conditions,g8 as DEFAULT_TIME_UNITS,av as DataCard,bx as Divider,aV as Drawer,a4 as DropData,cV as DropDataAlignX,cU as DropDataAlignY,D as DropDown,g9 as ErrorBoundary,aQ as FieldMessage,v as FieldTitle,u as FlexColumn,w as FlexRow,eu as GaugeChart,ga as GaugeChartVariant,gb as Header,gc as HoverActions,bT as IconButton,bU as IconButtonSize,cj as IconGroup,i as Input,bz as InputCardTable,h as InputList,I as InputTable,cv as Island,aW as Loader,cW as Modal,gd as ModalBody,ge as Navbar,aU as NoData,aw as Note,gf as Overlay,bR as Padding,e8 as PageContent,_ as Radio,gg as RadioGroup,bw as RadioSize,aS as ScrollY,aX as Search,x as SectionCard,gh as SectionCardSize,S as Segment,bB as SegmentSize,cs as SegmentVariant,bS as SkeletonLoader,et as StatusCard,e9 as Stepper,ct as Table,gi as TableContainer,gj as TableTitleWrap,cu as TableVariant,gk as TableWrap,aA as Tag,cd as TagVariants,g as TextArea,ev as TextCard,f as TimeInput,c as Toggle,gl as ToggleCodeComponent,d as ToggleLabelAlign,gm as ToggleList,e as ToggleSize,gn as ToggleVariant,T as Tooltip,bA as TruncatableTypography,K as Typography,N as TypographyColor,O as TypographySize,bX as TypographyVariants,ew as UpgradeRequiredWrapper,go as VerticalScroll,W as WarningModal,gp as resolveTypographyColor}from"./chunks/ui-components-CAPnizLR.js";import"react/jsx-runtime";import"styled-components";import"./icons.js";import"zustand";import"react";import"javascript-time-ago";import"javascript-time-ago/locale/en";import"react-dom";import"prism-react-renderer";import"zustand/middleware";import"react-error-boundary";import"virtua";
1
+ export{aL as Autocomplete,bF as Badge,m as Button,n as ButtonSize,g9 as ButtonTab,ga as ButtonTabList,B as ButtonVariants,aV as CenterThis,C as Checkbox,gb as CheckboxList,aN as CheckboxSize,cg as CliCommand,b0 as Code,cb as Condition,c1 as Conditions,gc as DEFAULT_TIME_UNITS,ay as DataCard,by as Divider,aX as Drawer,a7 as DropData,cZ as DropDataAlignX,cY as DropDataAlignY,h as DropDown,gd as ErrorBoundary,aT as FieldMessage,x as FieldTitle,w as FlexColumn,y as FlexRow,ez as GaugeChart,ge as GaugeChartVariant,gf as Header,gg as HoverActions,bU as IconButton,bV as IconButtonSize,cl as IconGroup,k as Input,bA as InputCardTable,j as InputList,I as InputTable,cz as Island,aY as Loader,c_ as Modal,gh as ModalBody,gi as Navbar,aW as NoData,az as Note,gj as Overlay,bS as Padding,ed as PageContent,a1 as Radio,c0 as RadioCard,gk as RadioGroup,bx as RadioSize,aU as ScrollY,aZ as Search,z as SectionCard,gl as SectionCardSize,S as Segment,bC as SegmentSize,cw as SegmentVariant,bT as SkeletonLoader,ey as StatusCard,ee as Stepper,cx as Table,gm as TableContainer,gn as TableTitleWrap,cy as TableVariant,go as TableWrap,aD as Tag,cf as TagVariants,i as TextArea,eA as TextCard,g as TimeInput,d as Toggle,gp as ToggleCodeComponent,e as ToggleLabelAlign,gq as ToggleList,f as ToggleSize,gr as ToggleVariant,T as Tooltip,bB as TruncatableTypography,N as Typography,Q as TypographyColor,U as TypographySize,bY as TypographyVariants,eB as UpgradeRequiredWrapper,gs as VerticalScroll,W as WarningModal,gt as resolveTypographyColor}from"./chunks/ui-components-Dq_j4_BI.js";import"react/jsx-runtime";import"styled-components";import"./icons.js";import"zustand";import"react";import"javascript-time-ago";import"javascript-time-ago/locale/en";import"react-dom";import"prism-react-renderer";import"zustand/middleware";import"react-error-boundary";import"virtua";
@@ -25,8 +25,67 @@ export declare const DISPLAY_TITLES: {
25
25
  NAMESPACE: string;
26
26
  NAME: string;
27
27
  KIND: string;
28
+ REGION: string;
29
+ SERVICE_NAME: string;
28
30
  CONNECTION: string;
29
31
  CONNECTIONS: string;
32
+ CLOUD_CONNECTOR: string;
33
+ CREATE_CLOUD_CONNECTOR: string;
34
+ CLOUD_CONNECTOR_SELECT_PROVIDER_TITLE: string;
35
+ CLOUD_CONNECTOR_SELECT_PROVIDER_SUBTITLE: string;
36
+ CLOUD_CONNECTOR_PERMISSIONS_NOTE: string;
37
+ CLOUD_CONNECTOR_PERMISSION_DISCOVERY_ONLY_TITLE: string;
38
+ CLOUD_CONNECTOR_PERMISSION_DISCOVERY_ONLY_DESC: string;
39
+ CLOUD_CONNECTOR_PERMISSION_DISCOVERY_INSTRUMENTATION_TITLE: string;
40
+ CLOUD_CONNECTOR_PERMISSION_DISCOVERY_INSTRUMENTATION_DESC: string;
41
+ CLOUD_CONNECTOR_PERMISSION_CUSTOM_TITLE: string;
42
+ CLOUD_CONNECTOR_PERMISSION_CUSTOM_DESC: string;
43
+ CLOUD_CONNECTOR_POLICY_PREVIEW: string;
44
+ CLOUD_CONNECTOR_POLICY_NOTE: string;
45
+ CLOUD_CONNECTOR_POLICY_NOTE_CUSTOM: string;
46
+ CLOUD_CONNECTOR_CUSTOM_COL_TYPE: string;
47
+ CLOUD_CONNECTOR_CUSTOM_COL_DISCOVERY: string;
48
+ CLOUD_CONNECTOR_CUSTOM_COL_INSTRUMENTATION: string;
49
+ CLOUD_CONNECTOR_SETUP_CREDENTIALS_TITLE: string;
50
+ CLOUD_CONNECTOR_SETUP_CREDENTIALS_SUBTITLE: string;
51
+ CLOUD_CONNECTOR_AUTH_TITLE: string;
52
+ CLOUD_CONNECTOR_AUTH_SUBTITLE: string;
53
+ CLOUD_CONNECTOR_AUTH_ASSUME_ROLE: string;
54
+ CLOUD_CONNECTOR_AUTH_STATIC_KEYS: string;
55
+ CLOUD_CONNECTOR_AUTH_ASSUME_ROLE_NOTE: string;
56
+ CLOUD_CONNECTOR_AUTH_STATIC_KEYS_NOTE: string;
57
+ CLOUD_CONNECTOR_SETUP_METHOD_TITLE: string;
58
+ CLOUD_CONNECTOR_SETUP_METHOD_SUBTITLE: string;
59
+ CLOUD_CONNECTOR_SETUP_METHOD_CLOUDFORMATION: string;
60
+ CLOUD_CONNECTOR_SETUP_METHOD_TERRAFORM: string;
61
+ CLOUD_CONNECTOR_SETUP_METHOD_AWS_CLI: string;
62
+ CLOUD_CONNECTOR_SETUP_METHOD_MANUAL: string;
63
+ CLOUD_CONNECTOR_CREATE_ROLE_TITLE: string;
64
+ CLOUD_CONNECTOR_CREATE_ROLE_STEPS_HEADING: string;
65
+ CLOUD_CONNECTOR_ENTER_ARN_TITLE: string;
66
+ CLOUD_CONNECTOR_ENTER_ARN_SUBTITLE: string;
67
+ CLOUD_CONNECTOR_FIELD_ACCOUNT_ID_LABEL: string;
68
+ CLOUD_CONNECTOR_FIELD_ACCOUNT_ID_PLACEHOLDER: string;
69
+ CLOUD_CONNECTOR_FIELD_ACCOUNT_ID_HELP: string;
70
+ CLOUD_CONNECTOR_FIELD_ACCESS_TOKEN_LABEL: string;
71
+ CLOUD_CONNECTOR_FIELD_ACCESS_TOKEN_PLACEHOLDER: string;
72
+ CLOUD_CONNECTOR_FIELD_ACCESS_TOKEN_HELP: string;
73
+ CLOUD_CONNECTOR_FIELD_SECRET_ID_LABEL: string;
74
+ CLOUD_CONNECTOR_FIELD_SECRET_ID_PLACEHOLDER: string;
75
+ CLOUD_CONNECTOR_FIELD_SECRET_ID_HELP: string;
76
+ CLOUD_CONNECTOR_VALIDATE_TITLE: string;
77
+ CLOUD_CONNECTOR_VALIDATE_SUBTITLE: string;
78
+ CLOUD_CONNECTOR_VALIDATE_SUCCESS: string;
79
+ CLOUD_CONNECTOR_VALIDATE_FAILURE: string;
80
+ CLOUD_CONNECTOR_VALIDATE_EMPTY: string;
81
+ CLOUD_CONNECTOR_VALIDATE_ACCOUNT: string;
82
+ CLOUD_CONNECTOR_VALIDATE_IDENTITY: string;
83
+ CLOUD_CONNECTOR_TESTING_TITLE: string;
84
+ CLOUD_CONNECTOR_CONNECTION_FAILED_TITLE: string;
85
+ CLOUD_CONNECTOR_CONNECTION_FAILED_DEFAULT: string;
86
+ CLOUD_CONNECTOR_CREATED_SUCCESS: string;
87
+ CLOUD_CONNECTOR_CREATED_MODAL_TITLE: string;
88
+ CLOUD_CONNECTOR_CREATED_MODAL_DESC: string;
30
89
  DATA_STREAM: string;
31
90
  DATA_STREAMS: string;
32
91
  STREAM_NAME: string;
@@ -79,6 +138,14 @@ export declare const DISPLAY_TITLES: {
79
138
  TYPE: string;
80
139
  NOTES: string;
81
140
  STATUS: string;
141
+ INSTRUMENTATION_STATUS: string;
142
+ INSTRUMENTATION: string;
143
+ INSTRUMENTATION_DESCRIPTION: string;
144
+ PROGRESS: string;
145
+ RUNTIME: string;
146
+ LAST_UPDATED: string;
147
+ ISSUES: string;
148
+ WAITING_FOR: string;
82
149
  READONLY: string;
83
150
  LANGUAGE: string;
84
151
  VERSION: string;
@@ -122,7 +189,6 @@ export declare const DISPLAY_TITLES: {
122
189
  NO_RUNNING_PODS: string;
123
190
  NO_RUNNING_PODS_SUBTITLE: string;
124
191
  AGENT_INJECTED: string;
125
- INJECTIONS_AS_EXPECTED: string;
126
192
  AGENT_NOT_INJECTED: string;
127
193
  KUBERNETES_HEALTHY: string;
128
194
  ODIGOS_HEALTHY: string;
@@ -167,6 +233,9 @@ export declare const DISPLAY_TITLES: {
167
233
  PROCESS: string;
168
234
  PROCESSES: string;
169
235
  PROCESS_FALLBACK_NAME: string;
236
+ PROCESS_PID: string;
237
+ EXECUTABLE: string;
238
+ COMMAND: string;
170
239
  OPEN_IN_POD_TAB: string;
171
240
  OPEN_IN_SAMPLING_PAGE: string;
172
241
  ALL_CONTAINERS_HEALTHY: (count: number) => string;
@@ -174,6 +243,7 @@ export declare const DISPLAY_TITLES: {
174
243
  PID: (pid: string) => string;
175
244
  IDENTIFYING_ATTRIBUTES: string;
176
245
  INSTRUMENTATION_LIBRARIES: string;
246
+ INSTRUMENTED_LIBRARIES: string;
177
247
  FILTERED_COUNT_TOOLTIP: string;
178
248
  SEARCH_NAMESPACES: string;
179
249
  SEARCH_SOURCES: string;
@@ -263,6 +333,7 @@ export declare const BUTTON_TEXTS: {
263
333
  GET_STARTED: string;
264
334
  ADD: string;
265
335
  ADD_NEW: string;
336
+ CREATE_NEW: string;
266
337
  NEW: string;
267
338
  SELECT: string;
268
339
  CREATE: string;
@@ -273,11 +344,17 @@ export declare const BUTTON_TEXTS: {
273
344
  RESTART_POD: string;
274
345
  REFRESH: string;
275
346
  CANCEL: string;
347
+ CLOSE: string;
276
348
  DONE: string;
277
349
  SAVE: string;
278
350
  BACK: string;
279
351
  CONFIRM: string;
280
352
  NEXT: string;
353
+ VERIFY: string;
354
+ VERIFY_AND_CREATE_CONNECTOR: string;
355
+ STAY_ON_CONNECTIONS: string;
356
+ GO_TO_CONNECTOR_OVERVIEW: string;
357
+ RETRY: string;
281
358
  TEST: string;
282
359
  TEST_CONNECTION: string;
283
360
  INSTRUMENT: string;
package/lib/constants.js CHANGED
@@ -1 +1 @@
1
- export{bg as ACTION_OPTIONS,fH as ALL_SOURCES,cz as BTN_CANCEL,cG as BTN_CONTINUE_EDITING,ez as BTN_CREATE_FIRST_RULE,cx as BTN_CREATE_RULE,cC as BTN_DELETE_RULE,m as BTN_EDIT_AUTO_RULE,cB as BTN_EDIT_RULE,cQ as BTN_SAVE,cA as BTN_SAVE_RULE,b_ as BUTTON_TEXTS,cD as CATEGORY_DESCRIPTIONS,as as CATEGORY_LABELS,cF as CATEGORY_TITLES,fI as CREATE_COST_REDUCTION_AUTO_RULE_DRAWER_TITLE,fJ as CREATE_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_TITLE,fK as CREATE_NOISY_AUTO_RULE_DRAWER_TITLE,bZ as DEFAULT_CLUSTER_ID,bY as DEFAULT_CLUSTER_NAME,eq as DEFAULT_DATA_STREAM_NAME,Q as DESC_DURATION,fL as DESC_ERRORS,X as DESC_OPERATION,fM as DESC_PERCENTAGE_HIGHLY_RELEVANT,bK as DESC_PERCENTAGE_NOISY,at as DESC_RULE_TYPE,aH as DESC_SOURCE_SCOPE,bV as DESTINATION_CATEGORIES,bF as DISPLAY_LANGUAGES,b1 as DISPLAY_TITLES,bC as DOCS_BASE_URL,bl as DestinationCategoryTypes,cM as EDIT_COST_REDUCTION_AUTO_RULE_DRAWER_SUBTITLE,cN as EDIT_COST_REDUCTION_AUTO_RULE_DRAWER_TITLE,cK as EDIT_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_SUBTITLE,cL as EDIT_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_TITLE,cO as EDIT_NOISY_AUTO_RULE_DRAWER_SUBTITLE,cP as EDIT_NOISY_AUTO_RULE_DRAWER_TITLE,cE as EDIT_TITLES,a9 as EMPTY_VALUE,bv as EXTRACTION_FORMAT_COPY,bt as EXTRACT_ATTRIBUTE_FORM,ex as FILTER_TYPE_ALL,b0 as FORM_ALERTS,bp as INSTRUMENTATION_RULE_OPTIONS,U as LABEL_CUSTOM_DURATION,bO as LABEL_CUSTOM_PERCENTAGE,bN as LABEL_DISABLED,cw as LABEL_DISABLED_RULE,aj as LABEL_DROP_ALL,bH as LABEL_DROP_AT_MOST,bM as LABEL_ENABLED,a1 as LABEL_HTTP_ROUTE,a3 as LABEL_HTTP_ROUTE_PREFIX,a6 as LABEL_KAFKA_TOPIC,ak as LABEL_KEEP_ALL,ag as LABEL_KEEP_AT_LEAST,ah as LABEL_KEEP_AT_MOST,af as LABEL_KEEP_PERCENTAGE,M as LABEL_KEEP_TRACES_DURATION,z as LABEL_KEEP_TRACES_ERRORS,a5 as LABEL_METHOD,ao as LABEL_NOTE,L as LABEL_NO_PREVIEW,a8 as LABEL_OPERATION_TYPE,fN as LABEL_RULE_DISABLED,fO as LABEL_RULE_ENABLED,am as LABEL_RULE_NAME,an as LABEL_RULE_TYPE,ai as LABEL_SAMPLE,Z as LABEL_SERVER_ADDRESS,a0 as LABEL_TEMPLATED_PATH,a2 as LABEL_TEMPLATED_PATH_PREFIX,cp as LANGUAGE_OPTIONS,aP as MONITORS_OPTIONS,ax as NOTE_ENTIRE_CLUSTER,aE as NOTE_SOURCE_SCOPE_LOGIC,fP as OPENTELEMETRY_EBPF_DISTRO_OPTION,ab as OPERATION_ALL,aa as OPERATION_HTTP_CLIENT,a7 as OPERATION_HTTP_SERVER,ac as OPERATION_KAFKA_CONSUMER,ad as OPERATION_KAFKA_PRODUCER,co as OTEL_DISTRO_NAME_OPTIONS,ae as PERCENTAGE_SECTION_DESCRIPTIONS,aq as PLACEHOLDER_NOTE,$ as PLACEHOLDER_ROUTE,ap as PLACEHOLDER_RULE_NAME,aJ as PLACEHOLDER_SEARCH_SOURCE,Y as PLACEHOLDER_SERVER_ADDRESS,cb as PROCESS_ATTRIBUTE_NAMES,bs as REGEX_TESTER_DRAWER,bL as SAMPLING_AUTO_RULE_TITLE,eF as SAMPLING_BTN_CREATE_RULE,eD as SAMPLING_BTN_DOCS,eE as SAMPLING_BTN_REFRESH,bJ as SAMPLING_COST_REDUCTION_AUTO_RULE_TITLE,cH as SAMPLING_DEFAULT_CONFIRM_DESCRIPTION,cJ as SAMPLING_DEFAULT_CONFIRM_PREVIEW_LABEL,cI as SAMPLING_DEFAULT_CONFIRM_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,cR as SAMPLING_DRAWER_WIDTH,eC as SAMPLING_DUPLICATE_RULE_WARNING,bG as SAMPLING_HIGHLY_RELEVANT_AUTO_RULE_TITLE,dH as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_1,dI as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_2,dJ as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_3,dK as SAMPLING_ONBOARDING_ADVANCED_LEFT_TITLE,dL as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_1,dM as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_2,dN as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_3,dO as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_4,dP as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_5,dQ as SAMPLING_ONBOARDING_ADVANCED_RIGHT_TITLE,dS as SAMPLING_ONBOARDING_ADVANCED_SUBTITLE,dR as SAMPLING_ONBOARDING_ADVANCED_TITLE,e7 as SAMPLING_ONBOARDING_AMBIENT_LABEL,dc as SAMPLING_ONBOARDING_BTN_GO_TO,cZ as SAMPLING_ONBOARDING_BTN_NEXT,dG as SAMPLING_ONBOARDING_BTN_READ_MORE,dn as SAMPLING_ONBOARDING_BTN_SKIP,dp as SAMPLING_ONBOARDING_BTN_START,dT as SAMPLING_ONBOARDING_COMMON_BANNER,e6 as SAMPLING_ONBOARDING_COMMON_RULES_SECTION,dW as SAMPLING_ONBOARDING_DROP_DESCRIPTION,dV as SAMPLING_ONBOARDING_DROP_SUBTITLE,dU as SAMPLING_ONBOARDING_DROP_TITLE,dZ as SAMPLING_ONBOARDING_ERROR_PRESET_NAME,dY as SAMPLING_ONBOARDING_ERROR_PRESET_TOGGLE_LABEL,e0 as SAMPLING_ONBOARDING_KEEP_DESCRIPTION,d$ as SAMPLING_ONBOARDING_KEEP_SUBTITLE,d_ as SAMPLING_ONBOARDING_KEEP_TITLE,e1 as SAMPLING_ONBOARDING_KEEP_USE_CASE_1,e2 as SAMPLING_ONBOARDING_KEEP_USE_CASE_2,e3 as SAMPLING_ONBOARDING_KEEP_USE_CASE_3,e4 as SAMPLING_ONBOARDING_KEEP_USE_CASE_4,e5 as SAMPLING_ONBOARDING_KEEP_USE_CASE_5,d4 as SAMPLING_ONBOARDING_NOISY_BANNER,d0 as SAMPLING_ONBOARDING_NOISY_DESCRIPTION,d3 as SAMPLING_ONBOARDING_NOISY_PRESET_NAME,d1 as SAMPLING_ONBOARDING_NOISY_PRESET_SECTION,d2 as SAMPLING_ONBOARDING_NOISY_PRESET_TOGGLE_LABEL,c$ as SAMPLING_ONBOARDING_NOISY_SUBTITLE,c_ as SAMPLING_ONBOARDING_NOISY_TITLE,dX as SAMPLING_ONBOARDING_PRESET_RULES_SECTION,cY as SAMPLING_ONBOARDING_RECOMMENDED_BADGE,dD as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_BADGE,dE as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_DESC,dF as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_NAME,dA as SAMPLING_ONBOARDING_STRATEGY_DROP_BADGE,dy as SAMPLING_ONBOARDING_STRATEGY_DROP_BULLET_1,dz as SAMPLING_ONBOARDING_STRATEGY_DROP_BULLET_2,dB as SAMPLING_ONBOARDING_STRATEGY_DROP_DESC,dC as SAMPLING_ONBOARDING_STRATEGY_DROP_NAME,dv as SAMPLING_ONBOARDING_STRATEGY_KEEP_BADGE,dt as SAMPLING_ONBOARDING_STRATEGY_KEEP_BULLET_1,du as SAMPLING_ONBOARDING_STRATEGY_KEEP_BULLET_2,dw as SAMPLING_ONBOARDING_STRATEGY_KEEP_DESC,dx as SAMPLING_ONBOARDING_STRATEGY_KEEP_NAME,ds as SAMPLING_ONBOARDING_STRATEGY_KEEP_WARNING,dr as SAMPLING_ONBOARDING_STRATEGY_SUBTITLE,dq as SAMPLING_ONBOARDING_STRATEGY_TITLE,d9 as SAMPLING_ONBOARDING_SUCCESS_BULLET_1,da as SAMPLING_ONBOARDING_SUCCESS_BULLET_2,db as SAMPLING_ONBOARDING_SUCCESS_BULLET_3,d8 as SAMPLING_ONBOARDING_SUCCESS_INTRO,d7 as SAMPLING_ONBOARDING_SUCCESS_SUBTITLE,d6 as SAMPLING_ONBOARDING_SUCCESS_TITLE,dm as SAMPLING_ONBOARDING_WELCOME_BANNER,df as SAMPLING_ONBOARDING_WELCOME_INTRO,dg as SAMPLING_ONBOARDING_WELCOME_STAGE_1_DESC,dh as SAMPLING_ONBOARDING_WELCOME_STAGE_1_TITLE,di as SAMPLING_ONBOARDING_WELCOME_STAGE_2_DESC,dj as SAMPLING_ONBOARDING_WELCOME_STAGE_2_TITLE,dk as SAMPLING_ONBOARDING_WELCOME_STAGE_3_DESC,dl as SAMPLING_ONBOARDING_WELCOME_STAGE_3_TITLE,de as SAMPLING_ONBOARDING_WELCOME_SUBTITLE,dd as SAMPLING_ONBOARDING_WELCOME_TITLE,eG as SAMPLING_PAGE_DESCRIPTION,eH as SAMPLING_PAGE_TITLE,aM as SCOPE_AND_LABEL,aL as SCOPE_GROUP_ANY_OF_HINT,aD as SCOPE_GROUP_LANGUAGES_TITLE,aC as SCOPE_GROUP_NAMESPACES_TITLE,az as SCOPE_GROUP_SOURCES_TITLE,E as SECTION_DURATION,y as SECTION_ERRORS,bI as SECTION_KEEP_PERCENTAGE,V as SECTION_OPERATION,au as SECTION_SAMPLING_PREVIEW,aN as SECTION_SOURCE_SCOPE,ec as STORAGE_KEYS,ey as TITLE_NO_RESULTS,eA as TITLE_NO_RULES,fQ as TOKEN_ABOUT_TO_EXPIRE,ar as TOOLTIP_NOTE,aB as UNKNOWN_SOURCE_LABEL,al as UNNAMED_RULE,eB as getNoResultsSubTitle,bQ as getSupportedActionOptions,fR as isActionSupportedOnPlatform,fS as isActionSupportedOnVersion,ba as mapActionTypesToOptions,bd as mapRuleTypesToOptions}from"./chunks/ui-components-CAPnizLR.js";import"react/jsx-runtime";import"styled-components";import"./icons.js";import"zustand";import"react";import"javascript-time-ago";import"javascript-time-ago/locale/en";import"react-dom";import"prism-react-renderer";import"zustand/middleware";import"react-error-boundary";import"virtua";
1
+ export{bh as ACTION_OPTIONS,fL as ALL_SOURCES,cD as BTN_CANCEL,cK as BTN_CONTINUE_EDITING,eE as BTN_CREATE_FIRST_RULE,cB as BTN_CREATE_RULE,cG as BTN_DELETE_RULE,o as BTN_EDIT_AUTO_RULE,cF as BTN_EDIT_RULE,cU as BTN_SAVE,cE as BTN_SAVE_RULE,c as BUTTON_TEXTS,cH as CATEGORY_DESCRIPTIONS,av as CATEGORY_LABELS,cJ as CATEGORY_TITLES,fM as CREATE_COST_REDUCTION_AUTO_RULE_DRAWER_TITLE,fN as CREATE_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_TITLE,fO as CREATE_NOISY_AUTO_RULE_DRAWER_TITLE,b_ as DEFAULT_CLUSTER_ID,bZ as DEFAULT_CLUSTER_NAME,ev as DEFAULT_DATA_STREAM_NAME,X as DESC_DURATION,fP as DESC_ERRORS,_ as DESC_OPERATION,fQ as DESC_PERCENTAGE_HIGHLY_RELEVANT,bL as DESC_PERCENTAGE_NOISY,aw as DESC_RULE_TYPE,aK as DESC_SOURCE_SCOPE,bW as DESTINATION_CATEGORIES,bG as DISPLAY_LANGUAGES,D as DISPLAY_TITLES,bD as DOCS_BASE_URL,bm as DestinationCategoryTypes,cQ as EDIT_COST_REDUCTION_AUTO_RULE_DRAWER_SUBTITLE,cR as EDIT_COST_REDUCTION_AUTO_RULE_DRAWER_TITLE,cO as EDIT_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_SUBTITLE,cP as EDIT_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_TITLE,cS as EDIT_NOISY_AUTO_RULE_DRAWER_SUBTITLE,cT as EDIT_NOISY_AUTO_RULE_DRAWER_TITLE,cI as EDIT_TITLES,ac as EMPTY_VALUE,bw as EXTRACTION_FORMAT_COPY,bu as EXTRACT_ATTRIBUTE_FORM,eC as FILTER_TYPE_ALL,b2 as FORM_ALERTS,bq as INSTRUMENTATION_RULE_OPTIONS,Y as LABEL_CUSTOM_DURATION,bP as LABEL_CUSTOM_PERCENTAGE,bO as LABEL_DISABLED,cA as LABEL_DISABLED_RULE,am as LABEL_DROP_ALL,bI as LABEL_DROP_AT_MOST,bN as LABEL_ENABLED,a4 as LABEL_HTTP_ROUTE,a6 as LABEL_HTTP_ROUTE_PREFIX,a9 as LABEL_KAFKA_TOPIC,an as LABEL_KEEP_ALL,aj as LABEL_KEEP_AT_LEAST,ak as LABEL_KEEP_AT_MOST,ai as LABEL_KEEP_PERCENTAGE,O as LABEL_KEEP_TRACES_DURATION,K as LABEL_KEEP_TRACES_ERRORS,a8 as LABEL_METHOD,ar as LABEL_NOTE,L as LABEL_NO_PREVIEW,ab as LABEL_OPERATION_TYPE,fR as LABEL_RULE_DISABLED,fS as LABEL_RULE_ENABLED,ap as LABEL_RULE_NAME,aq as LABEL_RULE_TYPE,al as LABEL_SAMPLE,a0 as LABEL_SERVER_ADDRESS,a3 as LABEL_TEMPLATED_PATH,a5 as LABEL_TEMPLATED_PATH_PREFIX,ct as LANGUAGE_OPTIONS,aS as MONITORS_OPTIONS,aA as NOTE_ENTIRE_CLUSTER,aH as NOTE_SOURCE_SCOPE_LOGIC,fT as OPENTELEMETRY_EBPF_DISTRO_OPTION,ae as OPERATION_ALL,ad as OPERATION_HTTP_CLIENT,aa as OPERATION_HTTP_SERVER,af as OPERATION_KAFKA_CONSUMER,ag as OPERATION_KAFKA_PRODUCER,cs as OTEL_DISTRO_NAME_OPTIONS,ah as PERCENTAGE_SECTION_DESCRIPTIONS,at as PLACEHOLDER_NOTE,a2 as PLACEHOLDER_ROUTE,as as PLACEHOLDER_RULE_NAME,aM as PLACEHOLDER_SEARCH_SOURCE,$ as PLACEHOLDER_SERVER_ADDRESS,cd as PROCESS_ATTRIBUTE_NAMES,bt as REGEX_TESTER_DRAWER,bM as SAMPLING_AUTO_RULE_TITLE,eK as SAMPLING_BTN_CREATE_RULE,eI as SAMPLING_BTN_DOCS,eJ as SAMPLING_BTN_REFRESH,bK as SAMPLING_COST_REDUCTION_AUTO_RULE_TITLE,cL as SAMPLING_DEFAULT_CONFIRM_DESCRIPTION,cN as SAMPLING_DEFAULT_CONFIRM_PREVIEW_LABEL,cM as SAMPLING_DEFAULT_CONFIRM_TITLE,eN as SAMPLING_DELETE_MODAL_APPROVE,eO as SAMPLING_DELETE_MODAL_CANCEL,eP as SAMPLING_DELETE_MODAL_DESCRIPTION,eQ as SAMPLING_DELETE_MODAL_TITLE,cV as SAMPLING_DRAWER_WIDTH,eH as SAMPLING_DUPLICATE_RULE_WARNING,bH as SAMPLING_HIGHLY_RELEVANT_AUTO_RULE_TITLE,dL as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_1,dM as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_2,dN as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_3,dO as SAMPLING_ONBOARDING_ADVANCED_LEFT_TITLE,dP as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_1,dQ as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_2,dR as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_3,dS as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_4,dT as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_5,dU as SAMPLING_ONBOARDING_ADVANCED_RIGHT_TITLE,dW as SAMPLING_ONBOARDING_ADVANCED_SUBTITLE,dV as SAMPLING_ONBOARDING_ADVANCED_TITLE,eb as SAMPLING_ONBOARDING_AMBIENT_LABEL,dg as SAMPLING_ONBOARDING_BTN_GO_TO,d1 as SAMPLING_ONBOARDING_BTN_NEXT,dK as SAMPLING_ONBOARDING_BTN_READ_MORE,ds as SAMPLING_ONBOARDING_BTN_SKIP,dt as SAMPLING_ONBOARDING_BTN_START,dX as SAMPLING_ONBOARDING_COMMON_BANNER,ea as SAMPLING_ONBOARDING_COMMON_RULES_SECTION,d_ as SAMPLING_ONBOARDING_DROP_DESCRIPTION,dZ as SAMPLING_ONBOARDING_DROP_SUBTITLE,dY as SAMPLING_ONBOARDING_DROP_TITLE,e1 as SAMPLING_ONBOARDING_ERROR_PRESET_NAME,e0 as SAMPLING_ONBOARDING_ERROR_PRESET_TOGGLE_LABEL,e4 as SAMPLING_ONBOARDING_KEEP_DESCRIPTION,e3 as SAMPLING_ONBOARDING_KEEP_SUBTITLE,e2 as SAMPLING_ONBOARDING_KEEP_TITLE,e5 as SAMPLING_ONBOARDING_KEEP_USE_CASE_1,e6 as SAMPLING_ONBOARDING_KEEP_USE_CASE_2,e7 as SAMPLING_ONBOARDING_KEEP_USE_CASE_3,e8 as SAMPLING_ONBOARDING_KEEP_USE_CASE_4,e9 as SAMPLING_ONBOARDING_KEEP_USE_CASE_5,d8 as SAMPLING_ONBOARDING_NOISY_BANNER,d4 as SAMPLING_ONBOARDING_NOISY_DESCRIPTION,d7 as SAMPLING_ONBOARDING_NOISY_PRESET_NAME,d5 as SAMPLING_ONBOARDING_NOISY_PRESET_SECTION,d6 as SAMPLING_ONBOARDING_NOISY_PRESET_TOGGLE_LABEL,d3 as SAMPLING_ONBOARDING_NOISY_SUBTITLE,d2 as SAMPLING_ONBOARDING_NOISY_TITLE,d$ as SAMPLING_ONBOARDING_PRESET_RULES_SECTION,d0 as SAMPLING_ONBOARDING_RECOMMENDED_BADGE,dH as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_BADGE,dI as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_DESC,dJ as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_NAME,dE as SAMPLING_ONBOARDING_STRATEGY_DROP_BADGE,dC as SAMPLING_ONBOARDING_STRATEGY_DROP_BULLET_1,dD as SAMPLING_ONBOARDING_STRATEGY_DROP_BULLET_2,dF as SAMPLING_ONBOARDING_STRATEGY_DROP_DESC,dG as SAMPLING_ONBOARDING_STRATEGY_DROP_NAME,dz as SAMPLING_ONBOARDING_STRATEGY_KEEP_BADGE,dx as SAMPLING_ONBOARDING_STRATEGY_KEEP_BULLET_1,dy as SAMPLING_ONBOARDING_STRATEGY_KEEP_BULLET_2,dA as SAMPLING_ONBOARDING_STRATEGY_KEEP_DESC,dB as SAMPLING_ONBOARDING_STRATEGY_KEEP_NAME,dw as SAMPLING_ONBOARDING_STRATEGY_KEEP_WARNING,dv as SAMPLING_ONBOARDING_STRATEGY_SUBTITLE,du as SAMPLING_ONBOARDING_STRATEGY_TITLE,dd as SAMPLING_ONBOARDING_SUCCESS_BULLET_1,de as SAMPLING_ONBOARDING_SUCCESS_BULLET_2,df as SAMPLING_ONBOARDING_SUCCESS_BULLET_3,dc as SAMPLING_ONBOARDING_SUCCESS_INTRO,db as SAMPLING_ONBOARDING_SUCCESS_SUBTITLE,da as SAMPLING_ONBOARDING_SUCCESS_TITLE,dr as SAMPLING_ONBOARDING_WELCOME_BANNER,dj as SAMPLING_ONBOARDING_WELCOME_INTRO,dk as SAMPLING_ONBOARDING_WELCOME_STAGE_1_DESC,dl as SAMPLING_ONBOARDING_WELCOME_STAGE_1_TITLE,dm as SAMPLING_ONBOARDING_WELCOME_STAGE_2_DESC,dn as SAMPLING_ONBOARDING_WELCOME_STAGE_2_TITLE,dp as SAMPLING_ONBOARDING_WELCOME_STAGE_3_DESC,dq as SAMPLING_ONBOARDING_WELCOME_STAGE_3_TITLE,di as SAMPLING_ONBOARDING_WELCOME_SUBTITLE,dh as SAMPLING_ONBOARDING_WELCOME_TITLE,eL as SAMPLING_PAGE_DESCRIPTION,eM as SAMPLING_PAGE_TITLE,aP as SCOPE_AND_LABEL,aO as SCOPE_GROUP_ANY_OF_HINT,aG as SCOPE_GROUP_LANGUAGES_TITLE,aF as SCOPE_GROUP_NAMESPACES_TITLE,aC as SCOPE_GROUP_SOURCES_TITLE,M as SECTION_DURATION,E as SECTION_ERRORS,bJ as SECTION_KEEP_PERCENTAGE,Z as SECTION_OPERATION,ax as SECTION_SAMPLING_PREVIEW,aQ as SECTION_SOURCE_SCOPE,eh as STORAGE_KEYS,eD as TITLE_NO_RESULTS,eF as TITLE_NO_RULES,fU as TOKEN_ABOUT_TO_EXPIRE,au as TOOLTIP_NOTE,aE as UNKNOWN_SOURCE_LABEL,ao as UNNAMED_RULE,eG as getNoResultsSubTitle,bR as getSupportedActionOptions,fV as isActionSupportedOnPlatform,fW as isActionSupportedOnVersion,bb as mapActionTypesToOptions,be as mapRuleTypesToOptions}from"./chunks/ui-components-Dq_j4_BI.js";import"react/jsx-runtime";import"styled-components";import"./icons.js";import"zustand";import"react";import"javascript-time-ago";import"javascript-time-ago/locale/en";import"react-dom";import"prism-react-renderer";import"zustand/middleware";import"react-error-boundary";import"virtua";
@@ -1,15 +1,17 @@
1
1
  import { EntityTypes } from '../../../types';
2
2
  /**
3
- * Copy used by the Add Source drawer, with K8s/VM variants.
3
+ * Copy used by the Add Source drawer, with K8s / non-K8s (VM + connector) variants.
4
4
  *
5
5
  * The drawer is a generic two-column "group → item" picker:
6
- * - K8s: namespaces (groups) → workloads (items)
7
- * - VM: kinds (groups) → sources (items)
6
+ * - K8s: namespaces (groups) → workloads (items)
7
+ * - VM/Connector: kinds (groups) → sources (items)
8
8
  *
9
- * Components call `getAddSourceDrawerLabels(isVm)` once and read fields off
10
- * the returned object instead of branching on `isVm` inline. Keeps copy
9
+ * Components call `getAddSourceDrawerLabels(useKindGroups)` once and read fields off
10
+ * the returned object instead of branching on platform inline. Keeps copy
11
11
  * centralized and makes adding a third platform (or wiring i18n) a one-file
12
12
  * change.
13
+ *
14
+ * @param useKindGroups - true for VM and cloud connectors (group by kind); false for K8s
13
15
  */
14
16
  export interface AddSourceDrawerLabels {
15
17
  groupSegmentLabel: string;
@@ -32,7 +34,7 @@ export interface AddSourceDrawerLabels {
32
34
  };
33
35
  noItemsInGroupSubTitle: string;
34
36
  }
35
- export declare const getAddSourceDrawerLabels: (isVm: boolean) => AddSourceDrawerLabels;
37
+ export declare const getAddSourceDrawerLabels: (useKindGroups: boolean) => AddSourceDrawerLabels;
36
38
  /**
37
39
  * Copy that is shared between K8s and VM (and between both columns of the drawer).
38
40
  * Centralized here so identical strings don't drift apart across files.
@@ -0,0 +1,15 @@
1
+ import { type FC } from 'react';
2
+ import { type CloudConnectorCreateInput, type CloudConnectorCreateResult } from '../../../types';
3
+ import { type HeaderProps } from '../../../components/drawer/header';
4
+ export declare enum CloudConnectorStep {
5
+ SelectProvider = 1,
6
+ Config = 2,
7
+ Validate = 3
8
+ }
9
+ export interface CreateCloudConnectorDrawerProps {
10
+ onClose: HeaderProps['onClose'];
11
+ withOverlay?: boolean;
12
+ onCreateCloudConnector?: (input: CloudConnectorCreateInput) => Promise<CloudConnectorCreateResult>;
13
+ onCreated?: (connectorId: string) => void;
14
+ }
15
+ export declare const CreateCloudConnectorDrawer: FC<CreateCloudConnectorDrawerProps>;
@@ -0,0 +1,9 @@
1
+ import { type FC } from 'react';
2
+ import type { CloudConnectorProvider } from '../../../../../types';
3
+ import type { CloudConnectorCapabilities } from '../../../../../contexts';
4
+ export interface CustomResourceTableProps {
5
+ provider?: CloudConnectorProvider;
6
+ capabilities: CloudConnectorCapabilities;
7
+ onCapabilitiesChange: (next: CloudConnectorCapabilities) => void;
8
+ }
9
+ export declare const CustomResourceTable: FC<CustomResourceTableProps>;
@@ -0,0 +1,5 @@
1
+ import type { SVG } from '../../../../../types';
2
+ import { type CloudConnectorProvider } from '../../../../../types';
3
+ export declare const getProviderIcon: (provider: CloudConnectorProvider) => SVG;
4
+ export declare const getProviderCapabilitySummary: (provider: CloudConnectorProvider) => string;
5
+ export declare const getProviderLabel: (provider: CloudConnectorProvider) => string;
@@ -0,0 +1,2 @@
1
+ import { type FC } from 'react';
2
+ export declare const SelectProviderStep: FC;
@@ -0,0 +1,12 @@
1
+ import { type FC } from 'react';
2
+ import type { CloudConnectorProvider } from '../../../../../types';
3
+ import type { CloudConnectorCapabilities } from '../../../../../contexts';
4
+ import { CloudConnectorPermissionLevel } from './permissions';
5
+ export interface PermissionListProps {
6
+ provider?: CloudConnectorProvider;
7
+ selectedPermission: string;
8
+ onSelect: (permission: CloudConnectorPermissionLevel) => void;
9
+ capabilities: CloudConnectorCapabilities;
10
+ onCapabilitiesChange: (next: CloudConnectorCapabilities) => void;
11
+ }
12
+ export declare const PermissionList: FC<PermissionListProps>;
@@ -0,0 +1,25 @@
1
+ import type { CloudConnectorCapabilities } from '../../../../../contexts';
2
+ import { CloudConnectorFeatureKey, type CloudConnectorProvider, type CloudConnectorTestCapability } from '../../../../../types';
3
+ export declare enum CloudConnectorPermissionLevel {
4
+ DiscoveryOnly = "discovery-only",
5
+ DiscoveryInstrumentation = "discovery-instrumentation",
6
+ Custom = "custom"
7
+ }
8
+ export interface PermissionLevelOption {
9
+ id: CloudConnectorPermissionLevel;
10
+ title: string;
11
+ description: string;
12
+ featureKeys: CloudConnectorFeatureKey[];
13
+ }
14
+ export declare const PERMISSION_LEVELS: PermissionLevelOption[];
15
+ export interface CustomResourceRow {
16
+ typeName: string;
17
+ displayName: string;
18
+ discoveryPermissions: string[];
19
+ instrumentationPermissions?: string[];
20
+ }
21
+ export declare const getCustomResourceRows: (provider: CloudConnectorProvider | undefined) => CustomResourceRow[];
22
+ export declare const getRequiredPermissions: (provider: CloudConnectorProvider | undefined, level: CloudConnectorPermissionLevel) => string[];
23
+ export declare const getCustomRequiredPermissions: (provider: CloudConnectorProvider | undefined, capabilities: CloudConnectorCapabilities) => string[];
24
+ export declare const getSelectedCapabilities: (provider: CloudConnectorProvider | undefined, level: CloudConnectorPermissionLevel, customCapabilities: CloudConnectorCapabilities) => CloudConnectorTestCapability[];
25
+ export declare const getPolicyPreview: (provider: CloudConnectorProvider | undefined, level: CloudConnectorPermissionLevel, capabilities?: CloudConnectorCapabilities) => string;
@@ -0,0 +1,5 @@
1
+ import { type FC } from 'react';
2
+ export interface PolicyPreviewProps {
3
+ policy: string;
4
+ }
5
+ export declare const PolicyPreview: FC<PolicyPreviewProps>;
@@ -0,0 +1,8 @@
1
+ import { type FC } from 'react';
2
+ import type { CloudConnectorProvider } from '../../../../../types';
3
+ export interface ProviderListProps {
4
+ providers: CloudConnectorProvider[];
5
+ selectedProvider: string;
6
+ onSelect: (provider: string) => void;
7
+ }
8
+ export declare const ProviderList: FC<ProviderListProps>;
@@ -0,0 +1,6 @@
1
+ import { type FC } from 'react';
2
+ export interface CreateRoleSectionProps {
3
+ step: number;
4
+ setupMethod: string;
5
+ }
6
+ export declare const CreateRoleSection: FC<CreateRoleSectionProps>;
@@ -0,0 +1,5 @@
1
+ import { type FC } from 'react';
2
+ export interface EnterArnSectionProps {
3
+ step: number;
4
+ }
5
+ export declare const EnterArnSection: FC<EnterArnSectionProps>;
@@ -0,0 +1,5 @@
1
+ import { type FC } from 'react';
2
+ export interface SetupCredentialsStepProps {
3
+ onBack: () => void;
4
+ }
5
+ export declare const SetupCredentialsStep: FC<SetupCredentialsStepProps>;
@@ -0,0 +1,30 @@
1
+ import type { CloudConnectorField, CloudConnectorProvider } from '../../../../../types';
2
+ export declare enum CloudConnectorAuthMethod {
3
+ AssumeRole = "assume-role",
4
+ StaticKeys = "static-keys"
5
+ }
6
+ export declare enum CloudConnectorSetupMethod {
7
+ CloudFormation = "cloudformation",
8
+ Terraform = "terraform",
9
+ AwsCli = "aws-cli",
10
+ Manual = "manual"
11
+ }
12
+ export interface AuthMethodOption {
13
+ id: CloudConnectorAuthMethod;
14
+ label: string;
15
+ note: string;
16
+ }
17
+ export declare const AUTH_METHODS: AuthMethodOption[];
18
+ export interface SetupMethodOption {
19
+ id: CloudConnectorSetupMethod;
20
+ label: string;
21
+ }
22
+ export declare const SETUP_METHODS: SetupMethodOption[];
23
+ export interface IamRoleInstructions {
24
+ description: string;
25
+ steps: string[];
26
+ code: string;
27
+ }
28
+ export declare const IAM_ROLE_INSTRUCTIONS: Record<CloudConnectorSetupMethod, IamRoleInstructions>;
29
+ export declare const getIamRoleInstructions: (setupMethod: string) => IamRoleInstructions;
30
+ export declare const getCredentialFields: (provider: CloudConnectorProvider | undefined, authMethodId: string) => CloudConnectorField[];
@@ -0,0 +1,9 @@
1
+ import { type FC, type ReactNode } from 'react';
2
+ export interface SectionProps {
3
+ 'data-id'?: string;
4
+ step: number;
5
+ title: string;
6
+ description: string;
7
+ children?: ReactNode;
8
+ }
9
+ export declare const Section: FC<SectionProps>;
@@ -0,0 +1,8 @@
1
+ import { type FC } from 'react';
2
+ import { type CloudConnectorTestResult } from '../../../../../types';
3
+ export interface ValidateConnectionStepProps {
4
+ isTesting: boolean;
5
+ error?: string;
6
+ result?: CloudConnectorTestResult;
7
+ }
8
+ export declare const ValidateConnectionStep: FC<ValidateConnectionStepProps>;
@@ -2,11 +2,15 @@ import { type DataCardProps } from '../../../components';
2
2
  import { type Workload } from '../../../types';
3
3
  /**
4
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).
5
+ * Namespace is K8s-only; region is connector-only; kubectl is omitted for
6
+ * non-K8s platforms.
6
7
  */
7
- export declare const buildDataCard: (source: Workload, isVm: boolean) => DataCardProps["items"];
8
+ export declare const buildDataCard: (source: Workload, opts: {
9
+ isK8s?: boolean;
10
+ isConnector?: boolean;
11
+ } | boolean) => DataCardProps["items"];
8
12
  /**
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).
13
+ * Build the kubectl command that targets this source. Returns `null` for
14
+ * non-K8s sources (they don't have a workload to address with kubectl).
11
15
  */
12
- export declare const buildKubectlCommand: (source: Workload, isVm: boolean) => string | null;
16
+ export declare const buildKubectlCommand: (source: Workload, isVmOrNonK8s: boolean) => string | null;
@@ -0,0 +1,6 @@
1
+ import { type FC } from 'react';
2
+ import { type Workload } from '../../../../types';
3
+ export interface LibrariesProps {
4
+ source: Workload;
5
+ }
6
+ export declare const Libraries: FC<LibrariesProps>;
@@ -0,0 +1,14 @@
1
+ import { type FC } from 'react';
2
+ import { type Workload } from '../../../../types';
3
+ export interface RuntimeCardProps {
4
+ source: Workload;
5
+ }
6
+ /**
7
+ * Connector/VM counterpart to the K8s Containers card row: one instrumentation
8
+ * unit (the source itself) with runtime + instrumented badge and source-level
9
+ * runtime/distro overrides. Does not reuse ContainersCard — that component is
10
+ * scoped to per-container K8s overrides.
11
+ *
12
+ * VM only: nests a per-PID process list from WorkloadReport.instances/processMetadata.
13
+ */
14
+ export declare const RuntimeCard: FC<RuntimeCardProps>;
@@ -0,0 +1,10 @@
1
+ import { type FC } from 'react';
2
+ import type { InstrumentationReportProcess } from '../../../../types';
3
+ export interface VmProcessesProps {
4
+ processes: InstrumentationReportProcess[];
5
+ }
6
+ /**
7
+ * VM-only per-PID breakdown under the Instrumentation card.
8
+ * Joined from agents-api WorkloadReport.instances + processMetadata.
9
+ */
10
+ export declare const VmProcesses: FC<VmProcessesProps>;
@@ -1,6 +1,12 @@
1
1
  import { type FC } from 'react';
2
- import { type K8sWorkloadPodContainerProcess } from '../../../../../types';
2
+ import { type K8sWorkloadPodContainerProcess, type K8sWorkloadPodContainerProcessInstrumentation } from '../../../../../types';
3
3
  export declare const ProcessCard: FC<K8sWorkloadPodContainerProcess & {
4
4
  overrideProcessNum?: number;
5
5
  isJumpToTarget?: boolean;
6
6
  }>;
7
+ interface InfoRowProps extends Pick<K8sWorkloadPodContainerProcessInstrumentation, 'isStandardLibrary' | 'healthy' | 'message'> {
8
+ label: string;
9
+ value?: string | null;
10
+ }
11
+ export declare const InfoRow: FC<InfoRowProps>;
12
+ export {};
@@ -38,6 +38,24 @@ export declare function flattenFlameRects(fb: Flamebearer): FlameRect[];
38
38
  /** Stable identity for a frame in the raw flamebearer (for zoom stack + hit-test). */
39
39
  export declare function flameRectKey(r: Pick<FlameRect, 'level' | 'offset' | 'size' | 'nameIndex'>): string;
40
40
  export declare function flameRectsEqual(a: FlameRect, b: FlameRect): boolean;
41
+ /**
42
+ * Ancestor chain from level 0 through `rect` (inclusive), by horizontal containment.
43
+ * Used to build a stable name-path identity for zoom frames across live profile refreshes (PLAT-1283).
44
+ */
45
+ export declare function flameRectAncestorChain(all: FlameRect[], rect: FlameRect): FlameRect[];
46
+ /** Root-to-frame symbol names for a rect — stable across tick growth when the call tree shape is unchanged. */
47
+ export declare function flameRectNamePath(fb: Pick<Flamebearer, 'names'>, all: FlameRect[], rect: FlameRect): string[];
48
+ /**
49
+ * Find the frame matching a root-to-frame name path in a (possibly updated) flamebearer.
50
+ * At each level picks the widest matching child under the previous match so live profiles that
51
+ * grow sample counts still resolve to the same logical stack frame.
52
+ */
53
+ export declare function findFlameRectByNamePath(fb: Pick<Flamebearer, 'names'>, all: FlameRect[], namePath: string[]): FlameRect | null;
54
+ /**
55
+ * Re-resolve a zoom stack against a new profile so live auto-refresh doesn't wipe the user's zoom (PLAT-1283).
56
+ * Truncates at the first frame that can no longer be found in the updated tree.
57
+ */
58
+ export declare function remapZoomStack(oldFb: Pick<Flamebearer, 'names'>, oldRects: FlameRect[], newFb: Pick<Flamebearer, 'names'>, newRects: FlameRect[], stack: FlameRect[]): FlameRect[];
41
59
  /**
42
60
  * All frames in the subtree under `root` (pprof-style “zoom into this frame”).
43
61
  * Parent/child follows horizontal containment on adjacent levels, matching merged flame graphs.
@@ -1,6 +1,7 @@
1
1
  export declare enum Tabs {
2
2
  Overview = "overview",
3
3
  Pods = "pods",
4
+ Libraries = "libraries",
4
5
  PeerSources = "peer-sources",
5
6
  Profiling = "profiling",
6
7
  Sampling = "sampling",
@@ -2,6 +2,7 @@ export * from './add-action-drawer';
2
2
  export * from './add-destination-drawer';
3
3
  export * from './add-rule-drawer';
4
4
  export * from './add-source-drawer';
5
+ export * from './create-cloud-connector-drawer';
5
6
  export * from './edit-action-drawer';
6
7
  export * from './edit-config-drawer';
7
8
  export * from './edit-destination-drawer';
@@ -1,4 +1,4 @@
1
- import { type Connection, type MinSupportedVersion } from '../../types';
1
+ import { type Connection, type MinSupportedVersion, PlatformType } from '../../types';
2
2
  import { type IslandProps, type TableProps, type TableRowCell } from '../../components';
3
3
  export declare enum DrawerId {
4
4
  BulkConfig = "bulk-config",
@@ -8,6 +8,16 @@ export declare enum DrawerId {
8
8
  BulkInstrumentationRule = "bulk-instrumentation-rule",
9
9
  Delete = "delete"
10
10
  }
11
+ export declare enum CreateNewType {
12
+ K8s = "k8s",
13
+ VmAgent = "vm-agent",
14
+ CloudConnector = "cloud-connector"
15
+ }
16
+ export declare const createNewTypeToPlatform: Record<CreateNewType, PlatformType>;
17
+ export declare const createNewOptions: {
18
+ id: CreateNewType;
19
+ label: string;
20
+ }[];
11
21
  export declare enum Keys {
12
22
  Id = "id",
13
23
  Name = "name",
@@ -1,10 +1,15 @@
1
1
  import { type FC } from 'react';
2
- import { type Connection, type MinSupportedVersion } from '../../types';
2
+ import { CloudConnectorCreateResult, CloudConnectorCreateInput, CloudConnectorProvider, type Connection, type MinSupportedVersion } from '../../types';
3
+ import { CreateNewType } from './helpers';
4
+ export { CreateNewType } from './helpers';
3
5
  export interface CentralConnectionsProps {
4
6
  connections?: Connection[];
5
7
  getConnections: () => Promise<Connection[]>;
6
8
  onClickConnection: (connection: Connection) => void;
7
9
  deleteConnection: (id: string) => Promise<void>;
10
+ onCreateNew?: (type: CreateNewType) => void;
11
+ cloudConnectorProviders?: CloudConnectorProvider[];
12
+ onCreateCloudConnector?: (input: CloudConnectorCreateInput) => Promise<CloudConnectorCreateResult>;
8
13
  configMinSupportedVersion?: MinSupportedVersion;
9
14
  snapshotMinSupportedVersion?: MinSupportedVersion;
10
15
  }