@odigos/ui-kit 0.0.236 → 0.0.238
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/lib/chunks/index-CCaTS6aq.js +145 -0
- package/lib/chunks/{index-CmhFl_vY.js → index-ChkHWnzu.js} +4 -4
- package/lib/chunks/{index-zIhroDGj.js → index-D6SlbWIi.js} +1 -1
- package/lib/chunks/ui-components-rpRyPe3l.js +2235 -0
- package/lib/components/data-card/data-card-fields/index.d.ts +0 -1
- package/lib/components/index.d.ts +0 -20
- package/lib/components/v2.js +1 -1
- package/lib/components.js +1 -1
- package/lib/constants/sampling/index.d.ts +5 -6
- package/lib/constants.js +1 -1
- package/lib/containers/_v2/overview/search/builder.d.ts +1 -1
- package/lib/containers/_v2/sampling-rules/converters.d.ts +2 -0
- package/lib/containers/index.d.ts +0 -32
- package/lib/containers/v2.js +96 -96
- package/lib/containers.js +19 -556
- package/lib/contexts.js +1 -1
- package/lib/functions/decimals-only/index.d.ts +1 -0
- package/lib/functions/index.d.ts +1 -0
- package/lib/functions.js +1 -1
- package/lib/hooks/useActionFormData.d.ts +1 -1
- package/lib/hooks.js +1 -1
- package/lib/snippets/_v2/sampling-rule-form-sections/percentage.d.ts +1 -1
- package/lib/snippets/_v2/sampling-rule-form-sections/preset-with-custom-input.d.ts +5 -2
- package/lib/snippets/index.d.ts +0 -2
- package/lib/snippets/v2.js +1 -1
- package/lib/snippets.js +1 -1
- package/lib/store.js +1 -1
- package/lib/theme.js +1 -1
- package/lib/types/common/index.d.ts +2 -1
- package/lib/types.js +1 -1
- package/lib/visuals.js +1 -1
- package/package.json +1 -1
- package/lib/chunks/index-Cm0_bD--.js +0 -145
- package/lib/chunks/ui-components-DHsbbgZi.js +0 -2708
- package/lib/components/auto-complete-input/index.d.ts +0 -22
- package/lib/components/data-finger/index.d.ts +0 -12
- package/lib/components/docs-button/index.d.ts +0 -8
- package/lib/components/header/index.d.ts +0 -8
- package/lib/components/icon-title-badge/index.d.ts +0 -11
- package/lib/components/icons-nav/index.d.ts +0 -17
- package/lib/components/input-list/index.d.ts +0 -13
- package/lib/components/input-table/index.d.ts +0 -13
- package/lib/components/input-table/map-columns-to-fields/index.d.ts +0 -15
- package/lib/components/input-table/types.d.ts +0 -15
- package/lib/components/interactive-table/index.d.ts +0 -27
- package/lib/components/interactive-table/table-row.d.ts +0 -13
- package/lib/components/key-value-input-list/index.d.ts +0 -20
- package/lib/components/monitors-checkboxes/index.d.ts +0 -13
- package/lib/components/navigation-buttons/index.d.ts +0 -16
- package/lib/components/section-title/index.d.ts +0 -12
- package/lib/components/segment/index.d.ts +0 -17
- package/lib/components/selection-button/index.d.ts +0 -17
- package/lib/components/stepper/index.d.ts +0 -11
- package/lib/components/tag/index.d.ts +0 -9
- package/lib/components/textarea/index.d.ts +0 -8
- package/lib/components/toggle/index.d.ts +0 -12
- package/lib/components/trace-loader/index.d.ts +0 -6
- package/lib/containers/action-drawer/build-card.d.ts +0 -3
- package/lib/containers/action-drawer/index.d.ts +0 -8
- package/lib/containers/action-form/custom-fields/add-cluster-info.d.ts +0 -5
- package/lib/containers/action-form/custom-fields/delete-attributes.d.ts +0 -5
- package/lib/containers/action-form/custom-fields/error-sampler.d.ts +0 -5
- package/lib/containers/action-form/custom-fields/index.d.ts +0 -7
- package/lib/containers/action-form/custom-fields/k8s-attributes.d.ts +0 -5
- package/lib/containers/action-form/custom-fields/latency-sampler.d.ts +0 -5
- package/lib/containers/action-form/custom-fields/pii-masking.d.ts +0 -5
- package/lib/containers/action-form/custom-fields/probabilistic-sampler.d.ts +0 -5
- package/lib/containers/action-form/custom-fields/rename-attributes.d.ts +0 -5
- package/lib/containers/action-form/custom-fields/service-name-sampler.d.ts +0 -5
- package/lib/containers/action-form/custom-fields/span-attribute-sampler.d.ts +0 -5
- package/lib/containers/action-form/custom-fields/url-templatization.d.ts +0 -5
- package/lib/containers/action-form/index.d.ts +0 -11
- package/lib/containers/action-modal/index.d.ts +0 -7
- package/lib/containers/action-table/build-spec-cell.d.ts +0 -3
- package/lib/containers/action-table/index.d.ts +0 -7
- package/lib/containers/await-pipeline/index.d.ts +0 -4
- package/lib/containers/data-flow/column/add.d.ts +0 -8
- package/lib/containers/data-flow/column/base.d.ts +0 -21
- package/lib/containers/data-flow/column/frame.d.ts +0 -10
- package/lib/containers/data-flow/column/head.d.ts +0 -15
- package/lib/containers/data-flow/column/index.d.ts +0 -13
- package/lib/containers/data-flow/column/namespace-divider.d.ts +0 -7
- package/lib/containers/data-flow/column/source-visual-state.d.ts +0 -9
- package/lib/containers/data-flow/index.d.ts +0 -12
- package/lib/containers/data-flow-actions-menu/add-entity/index.d.ts +0 -4
- package/lib/containers/data-flow-actions-menu/data-stream-select/index.d.ts +0 -9
- package/lib/containers/data-flow-actions-menu/filters/index.d.ts +0 -4
- package/lib/containers/data-flow-actions-menu/index.d.ts +0 -9
- package/lib/containers/data-flow-actions-menu/search/index.d.ts +0 -6
- package/lib/containers/data-flow-actions-menu/search/search-results/builder.d.ts +0 -25
- package/lib/containers/data-flow-actions-menu/search/search-results/index.d.ts +0 -6
- package/lib/containers/data-flow-actions-menu/styled.d.ts +0 -10
- package/lib/containers/data-stream-drawer/index.d.ts +0 -10
- package/lib/containers/data-stream-form/index.d.ts +0 -11
- package/lib/containers/data-stream-modal/index.d.ts +0 -7
- package/lib/containers/data-stream-selection-form/index.d.ts +0 -13
- package/lib/containers/destination-drawer/build-card.d.ts +0 -3
- package/lib/containers/destination-drawer/index.d.ts +0 -10
- package/lib/containers/destination-form/dynamic-fields/index.d.ts +0 -10
- package/lib/containers/destination-form/index.d.ts +0 -15
- package/lib/containers/destination-form/test-connection/index.d.ts +0 -12
- package/lib/containers/destination-modal/choose-destination/destinations-list/index.d.ts +0 -10
- package/lib/containers/destination-modal/choose-destination/index.d.ts +0 -11
- package/lib/containers/destination-modal/index.d.ts +0 -13
- package/lib/containers/destination-selection-form/destination-list/index.d.ts +0 -8
- package/lib/containers/destination-selection-form/index.d.ts +0 -12
- package/lib/containers/destination-table/index.d.ts +0 -9
- package/lib/containers/dropdowns/condition-dropdown/index.d.ts +0 -15
- package/lib/containers/dropdowns/error-dropdown/index.d.ts +0 -16
- package/lib/containers/dropdowns/index.d.ts +0 -7
- package/lib/containers/dropdowns/kind-dropdown/index.d.ts +0 -15
- package/lib/containers/dropdowns/language-dropdown/index.d.ts +0 -15
- package/lib/containers/dropdowns/monitor-dropdown/index.d.ts +0 -13
- package/lib/containers/dropdowns/namespace-dropdown/index.d.ts +0 -15
- package/lib/containers/dropdowns/pods-agent-injection-status-dropdown/index.d.ts +0 -16
- package/lib/containers/instrumentation-rule-drawer/build-card.d.ts +0 -3
- package/lib/containers/instrumentation-rule-drawer/index.d.ts +0 -8
- package/lib/containers/instrumentation-rule-form/custom-fields/code-attributes.d.ts +0 -5
- package/lib/containers/instrumentation-rule-form/custom-fields/custom-instrumentation.d.ts +0 -5
- package/lib/containers/instrumentation-rule-form/custom-fields/headers-collection.d.ts +0 -5
- package/lib/containers/instrumentation-rule-form/custom-fields/index.d.ts +0 -7
- package/lib/containers/instrumentation-rule-form/custom-fields/payload-collection.d.ts +0 -5
- package/lib/containers/instrumentation-rule-form/index.d.ts +0 -11
- package/lib/containers/instrumentation-rule-modal/index.d.ts +0 -7
- package/lib/containers/instrumentation-rule-table/build-spec-cell.d.ts +0 -3
- package/lib/containers/instrumentation-rule-table/index.d.ts +0 -7
- package/lib/containers/multi-source-control/index.d.ts +0 -10
- package/lib/containers/setup-summary/index.d.ts +0 -10
- package/lib/containers/side-nav/index.d.ts +0 -16
- package/lib/containers/slack-invite/index.d.ts +0 -4
- package/lib/containers/source-modal/index.d.ts +0 -8
- package/lib/containers/source-selection-form/index.d.ts +0 -16
- package/lib/containers/source-selection-form/source-list/index.d.ts +0 -8
- package/lib/containers/source-table/index.d.ts +0 -9
- package/lib/containers/system-overview/describe/index.d.ts +0 -11
- package/lib/containers/system-overview/index.d.ts +0 -7
- package/lib/containers/system-overview/tokens/expires-at.d.ts +0 -6
- package/lib/containers/system-overview/tokens/index.d.ts +0 -8
- package/lib/containers/system-overview/tokens/token-actions.d.ts +0 -7
- package/lib/containers/table-cell-conditions/index.d.ts +0 -8
- package/lib/containers/toggle-dark-mode/index.d.ts +0 -2
- package/lib/containers/trace-view/build-spans.d.ts +0 -2
- package/lib/containers/trace-view/index.d.ts +0 -9
- package/lib/containers/trace-view/span/index.d.ts +0 -38
- package/lib/containers/trace-view/span-drawer/build-details-card.d.ts +0 -3
- package/lib/containers/trace-view/span-drawer/build-logs-card.d.ts +0 -3
- package/lib/containers/trace-view/span-drawer/build-process-card.d.ts +0 -3
- package/lib/containers/trace-view/span-drawer/build-tags-card.d.ts +0 -3
- package/lib/containers/trace-view/span-drawer/index.d.ts +0 -9
- package/lib/snippets/edit-button/index.d.ts +0 -7
- package/lib/snippets/note-back-to-summary/index.d.ts +0 -6
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export * from './auto-complete-input';
|
|
2
1
|
export * from './badge';
|
|
3
2
|
export * from './button';
|
|
4
3
|
export * from './cancel-warning';
|
|
@@ -6,12 +5,10 @@ export * from './checkbox';
|
|
|
6
5
|
export * from './code';
|
|
7
6
|
export * from './condition-details';
|
|
8
7
|
export * from './data-card';
|
|
9
|
-
export * from './data-finger';
|
|
10
8
|
export * from './data-tab';
|
|
11
9
|
export * from './delete-warning';
|
|
12
10
|
export * from './describe-row';
|
|
13
11
|
export * from './divider';
|
|
14
|
-
export * from './docs-button';
|
|
15
12
|
export * from './drawer';
|
|
16
13
|
export * from './dropdown';
|
|
17
14
|
export * from './error-boundary';
|
|
@@ -19,41 +16,24 @@ export * from './extend-arrow';
|
|
|
19
16
|
export * from './fade-loader';
|
|
20
17
|
export * from './field-error';
|
|
21
18
|
export * from './field-label';
|
|
22
|
-
export * from './header';
|
|
23
19
|
export * from './icon-button';
|
|
24
20
|
export * from './icon-group';
|
|
25
|
-
export * from './icon-title-badge';
|
|
26
21
|
export * from './icon-wrapped';
|
|
27
|
-
export * from './icons-nav';
|
|
28
22
|
export * from './image-controlled';
|
|
29
23
|
export * from './input';
|
|
30
|
-
export * from './input-list';
|
|
31
|
-
export * from './input-table';
|
|
32
|
-
export * from './interactive-table';
|
|
33
|
-
export * from './key-value-input-list';
|
|
34
24
|
export * from './loading-text';
|
|
35
25
|
export * from './modal';
|
|
36
|
-
export * from './monitors-checkboxes';
|
|
37
26
|
export * from './monitors-icons';
|
|
38
|
-
export * from './navigation-buttons';
|
|
39
27
|
export * from './no-data-found';
|
|
40
28
|
export * from './notification-note';
|
|
41
29
|
export * from './popup';
|
|
42
30
|
export * from './popup-form';
|
|
43
31
|
export * from './scroll-x';
|
|
44
32
|
export * from './scroll-y';
|
|
45
|
-
export * from './section-title';
|
|
46
|
-
export * from './segment';
|
|
47
|
-
export * from './selection-button';
|
|
48
33
|
export * from './skeleton-loader';
|
|
49
34
|
export * from './status';
|
|
50
|
-
export * from './stepper';
|
|
51
35
|
export * from './tab-list';
|
|
52
|
-
export * from './tag';
|
|
53
36
|
export * from './text';
|
|
54
|
-
export * from './textarea';
|
|
55
|
-
export * from './toggle';
|
|
56
37
|
export * from './tooltip';
|
|
57
|
-
export * from './trace-loader';
|
|
58
38
|
export * from './warning-modal';
|
|
59
39
|
export * from './styled';
|
package/lib/components/v2.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
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";
|
package/lib/components.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
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";
|
|
@@ -21,11 +21,10 @@ export declare const LABEL_NOTE = "Note";
|
|
|
21
21
|
export declare const LABEL_HTTP_ROUTE = "HTTP route";
|
|
22
22
|
export declare const LABEL_METHOD = "Method";
|
|
23
23
|
export declare const LABEL_KEEP_PERCENTAGE = "Keep Percentage";
|
|
24
|
-
export declare const LABEL_DROP_PERCENTAGE = "Drop Percentage";
|
|
25
24
|
export declare const LABEL_KEEP_TRACES_DURATION = "Keep traces with duration larger than";
|
|
26
25
|
export declare const LABEL_KEEP_TRACES_ERRORS = "Keep traces with errors";
|
|
27
|
-
export declare const LABEL_KEEP_AT_LEAST = "Keep at least this percentage of matching traces";
|
|
28
|
-
export declare const LABEL_KEEP_AT_MOST = "Keep at most this percentage of matching traces";
|
|
26
|
+
export declare const LABEL_KEEP_AT_LEAST = "Keep at least this percentage of matching traces. A higher rate from another matching rule may apply instead.";
|
|
27
|
+
export declare const LABEL_KEEP_AT_MOST = "Keep at most this percentage of matching traces. A lower rate from another matching rule may apply instead.";
|
|
29
28
|
export declare const LABEL_CUSTOM_PERCENTAGE = "Custom percentage";
|
|
30
29
|
export declare const LABEL_DISABLED_RULE = "Disabled rule";
|
|
31
30
|
export declare const LABEL_SAMPLE = "Sample";
|
|
@@ -48,13 +47,13 @@ export declare const SECTION_OPERATION = "Operation";
|
|
|
48
47
|
export declare const SECTION_DURATION = "Duration";
|
|
49
48
|
export declare const SECTION_ERRORS = "Errors";
|
|
50
49
|
export declare const SECTION_KEEP_PERCENTAGE = "Keep Percentage";
|
|
51
|
-
export declare const SECTION_DROP_PERCENTAGE = "Drop Percentage";
|
|
52
50
|
export declare const DESC_SOURCE_SCOPE = "Define which sources this rule applies to. You can target specific services, namespaces, or apply the rule to the entire cluster.";
|
|
53
51
|
export declare const DESC_OPERATION = "Define which operations this rule applies to. You can target specific endpoints or requests, or apply the rule to all operations in the selected services.";
|
|
54
52
|
export declare const DESC_DURATION = "Define a duration threshold for this rule. Traces with a duration longer than the specified value will be considered important and retained.";
|
|
55
53
|
export declare const DESC_ERRORS = "Retain traces with errors from the selected services and operations.";
|
|
56
|
-
export declare const
|
|
57
|
-
export declare const
|
|
54
|
+
export declare const DESC_PERCENTAGE_HIGHLY_RELEVANT = "Use Keep All to retain every matching trace, or Sample when keeping everything is too expensive. 100% means keep all";
|
|
55
|
+
export declare const DESC_PERCENTAGE_NOISY = "Use Drop All to discard every matching trace, or Sample to keep some examples. 0% means drop all.";
|
|
56
|
+
export declare const PERCENTAGE_SECTION_DESCRIPTIONS: Record<SamplingRuleCategory, string | undefined>;
|
|
58
57
|
export declare const PLACEHOLDER_RULE_NAME = "Type rule name";
|
|
59
58
|
export declare const PLACEHOLDER_NOTE = "Add note here...";
|
|
60
59
|
export declare const PLACEHOLDER_ROUTE = "Type here";
|
package/lib/constants.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
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";
|
|
@@ -16,7 +16,7 @@ export declare const buildSearchResults: ({ instrumentationRules, sources, actio
|
|
|
16
16
|
entities: InstrumentationRule[] | Source[] | Action[] | Destination[];
|
|
17
17
|
}[];
|
|
18
18
|
searchResults: {
|
|
19
|
-
entities:
|
|
19
|
+
entities: Source[] | Action[] | Destination[] | InstrumentationRule[];
|
|
20
20
|
category: Category;
|
|
21
21
|
label: string;
|
|
22
22
|
count: number;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { NoisyOperationRule, HighlyRelevantOperationRule, CostReductionRule, NoisyOperationRuleInput, HighlyRelevantOperationRuleInput, CostReductionRuleInput, SourcesScopes, SamplingRuleCategory, SamplingRuleFormState, ViewRuleData } from '@/types';
|
|
2
2
|
export declare function makeEmptyScopes(): SourcesScopes;
|
|
3
3
|
export declare function isScopesAllEmpty(s: SourcesScopes | null | undefined): boolean;
|
|
4
|
+
export declare function normalizeSourceScopes(scopes: SourcesScopes | null | undefined): SourcesScopes;
|
|
5
|
+
export declare function isNoisyDropAll(percentageAtMost: number | null | undefined): boolean;
|
|
4
6
|
export declare function getDefaultFormState(category?: SamplingRuleCategory): SamplingRuleFormState;
|
|
5
7
|
export declare function formStateToPartialNoisy(state: SamplingRuleFormState): NoisyOperationRule;
|
|
6
8
|
export declare function formStateToPartialHighlyRelevant(state: SamplingRuleFormState): HighlyRelevantOperationRule;
|
|
@@ -1,38 +1,6 @@
|
|
|
1
|
-
export * from './action-drawer';
|
|
2
|
-
export * from './action-form';
|
|
3
|
-
export * from './action-modal';
|
|
4
|
-
export * from './action-table';
|
|
5
|
-
export * from './await-pipeline';
|
|
6
|
-
export * from './data-flow';
|
|
7
|
-
export * from './data-flow-actions-menu';
|
|
8
|
-
export * from './data-stream-drawer';
|
|
9
|
-
export * from './data-stream-form';
|
|
10
|
-
export * from './data-stream-modal';
|
|
11
|
-
export * from './data-stream-selection-form';
|
|
12
|
-
export * from './destination-drawer';
|
|
13
|
-
export * from './destination-form';
|
|
14
|
-
export * from './destination-modal';
|
|
15
|
-
export * from './destination-selection-form';
|
|
16
|
-
export * from './destination-table';
|
|
17
|
-
export * from './dropdowns';
|
|
18
|
-
export * from './instrumentation-rule-drawer';
|
|
19
|
-
export * from './instrumentation-rule-form';
|
|
20
|
-
export * from './instrumentation-rule-modal';
|
|
21
|
-
export * from './instrumentation-rule-table';
|
|
22
|
-
export * from './multi-source-control';
|
|
23
1
|
export * from './notification-manager';
|
|
24
2
|
export * from './overview-drawer';
|
|
25
3
|
export * from './service-map';
|
|
26
|
-
export * from './setup-summary';
|
|
27
|
-
export * from './side-nav';
|
|
28
|
-
export * from './slack-invite';
|
|
29
4
|
export * from './source-drawer';
|
|
30
5
|
export * from './source-form';
|
|
31
|
-
export * from './source-modal';
|
|
32
|
-
export * from './source-selection-form';
|
|
33
|
-
export * from './source-table';
|
|
34
|
-
export * from './system-overview';
|
|
35
|
-
export * from './table-cell-conditions';
|
|
36
6
|
export * from './toast-list';
|
|
37
|
-
export * from './toggle-dark-mode';
|
|
38
|
-
export * from './trace-view';
|