@odigos/ui-kit 0.0.286 → 0.0.287
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 +7 -0
- package/docs/api-context.md +1 -1
- package/lib/chunks/helpers-CtkwQ3Wc.js +9 -0
- package/lib/chunks/index-BlYPxLja.js +311 -0
- package/lib/chunks/source-instrument-form-context-Bg6JzU76.js +5 -0
- package/lib/chunks/ui-components-CjgsN17j.js +1943 -0
- package/lib/components/_cards/data-card/index.d.ts +6 -1
- package/lib/components/_cards/text-card/index.d.ts +3 -0
- package/lib/components/button/index.d.ts +3 -1
- package/lib/components/drawer/header/index.d.ts +2 -0
- package/lib/components/drop-data/index.d.ts +4 -10
- package/lib/components/hover-actions/index.d.ts +1 -1
- package/lib/components/index.d.ts +4 -0
- package/lib/components/info-row/index.d.ts +11 -0
- package/lib/components/input/index.d.ts +2 -0
- package/lib/components/popup/index.d.ts +17 -0
- package/lib/components/select-window-hours/index.d.ts +17 -0
- package/lib/components/table/index.d.ts +10 -0
- package/lib/components/table/styled.d.ts +11 -0
- package/lib/components/table/table-rows/index.d.ts +6 -1
- package/lib/components/table/types.d.ts +11 -2
- package/lib/components/trace-view/index.d.ts +4 -0
- package/lib/components/trace-view/styled.d.ts +43 -0
- package/lib/components/trace-view/types.d.ts +46 -0
- package/lib/components.js +1 -1
- package/lib/constants/index.d.ts +1 -0
- package/lib/constants/instrumentation-rules/index.d.ts +2 -1
- package/lib/constants/strings/index.d.ts +14 -0
- package/lib/constants/url-templatization/index.d.ts +90 -0
- package/lib/constants.js +1 -1
- package/lib/containers/_drawers/edit-source-drawer/pods/containers-card/process-card.d.ts +1 -7
- package/lib/containers/_drawers/index.d.ts +3 -0
- package/lib/containers/_drawers/url-templatization-custom-template-drawer/destination-step.d.ts +16 -0
- package/lib/containers/_drawers/url-templatization-custom-template-drawer/index.d.ts +18 -0
- package/lib/containers/_drawers/url-templatization-default-rule-drawer/index.d.ts +14 -0
- package/lib/containers/_drawers/url-templatization-template-view-drawer/index.d.ts +9 -0
- package/lib/containers/central-connections/helpers.d.ts +8 -0
- package/lib/containers/central-connections/index.d.ts +1 -0
- package/lib/containers/index.d.ts +2 -0
- package/lib/containers/insights/consts.d.ts +6 -0
- package/lib/containers/insights/findings/drawer/anomaly/anomaly-blast-radius/animated-edge.d.ts +10 -0
- package/lib/containers/insights/findings/drawer/anomaly/anomaly-blast-radius/blast-radius-node.d.ts +6 -0
- package/lib/containers/insights/findings/drawer/anomaly/anomaly-blast-radius/helpers.d.ts +28 -0
- package/lib/containers/insights/findings/drawer/anomaly/anomaly-blast-radius/index.d.ts +7 -0
- package/lib/containers/insights/findings/drawer/anomaly/anomaly-blast-radius/types.d.ts +19 -0
- package/lib/containers/insights/findings/drawer/anomaly/anomaly-trace-compare/helpers.d.ts +15 -0
- package/lib/containers/insights/findings/drawer/anomaly/anomaly-trace-compare/index.d.ts +7 -0
- package/lib/containers/insights/findings/drawer/anomaly/index.d.ts +16 -0
- package/lib/containers/insights/findings/drawer/anomaly/why-this-fired/index.d.ts +6 -0
- package/lib/containers/insights/findings/drawer/helpers.d.ts +9 -0
- package/lib/containers/insights/findings/drawer/index.d.ts +6 -0
- package/lib/containers/insights/findings/drawer/violation/index.d.ts +7 -0
- package/lib/containers/insights/findings/drawer/violation/violation-trace-view/index.d.ts +8 -0
- package/lib/containers/insights/findings/helpers.d.ts +57 -0
- package/lib/containers/insights/findings/index.d.ts +2 -0
- package/lib/containers/insights/findings/resolve-findings/index.d.ts +11 -0
- package/lib/containers/insights/index.d.ts +6 -0
- package/lib/containers/insights/insights-context.d.ts +44 -0
- package/lib/containers/insights/overview/contained-table-and-heading/index.d.ts +19 -0
- package/lib/containers/insights/overview/index.d.ts +6 -0
- package/lib/containers/insights/settings-and-configurations/constants.d.ts +16 -0
- package/lib/containers/insights/settings-and-configurations/content-panel/index.d.ts +11 -0
- package/lib/containers/insights/settings-and-configurations/index.d.ts +2 -0
- package/lib/containers/insights/settings-and-configurations/menu-config.d.ts +24 -0
- package/lib/containers/insights/settings-and-configurations/panels/detection/constants.d.ts +40 -0
- package/lib/containers/insights/settings-and-configurations/panels/detection/create-override-panel.d.ts +14 -0
- package/lib/containers/insights/settings-and-configurations/panels/detection/index.d.ts +2 -0
- package/lib/containers/insights/settings-and-configurations/panels/detection/mappers.d.ts +12 -0
- package/lib/containers/insights/settings-and-configurations/panels/detection/mock.d.ts +4 -0
- package/lib/containers/insights/settings-and-configurations/panels/detection/policies-menu.d.ts +10 -0
- package/lib/containers/insights/settings-and-configurations/panels/detection/policy-editor.d.ts +8 -0
- package/lib/containers/insights/settings-and-configurations/panels/detection/policy-list-item.d.ts +8 -0
- package/lib/containers/insights/settings-and-configurations/panels/detection/risk-levels.d.ts +15 -0
- package/lib/containers/insights/settings-and-configurations/panels/detection/risk-model-drawer/constants.d.ts +16 -0
- package/lib/containers/insights/settings-and-configurations/panels/detection/risk-model-drawer/default-catalog.d.ts +3 -0
- package/lib/containers/insights/settings-and-configurations/panels/detection/risk-model-drawer/helpers.d.ts +30 -0
- package/lib/containers/insights/settings-and-configurations/panels/detection/risk-model-drawer/index.d.ts +10 -0
- package/lib/containers/insights/settings-and-configurations/panels/detection/signal-weights-panel.d.ts +13 -0
- package/lib/containers/insights/settings-and-configurations/panels/detection/signal-weights.d.ts +17 -0
- package/lib/containers/insights/settings-and-configurations/panels/detection/types.d.ts +29 -0
- package/lib/containers/insights/settings-and-configurations/panels/guardrails/constants.d.ts +35 -0
- package/lib/containers/insights/settings-and-configurations/panels/guardrails/create-panel.d.ts +13 -0
- package/lib/containers/insights/settings-and-configurations/panels/guardrails/edit-panel.d.ts +10 -0
- package/lib/containers/insights/settings-and-configurations/panels/guardrails/facet-section.d.ts +14 -0
- package/lib/containers/insights/settings-and-configurations/panels/guardrails/guardrail-list-item.d.ts +8 -0
- package/lib/containers/insights/settings-and-configurations/panels/guardrails/guardrails-menu.d.ts +9 -0
- package/lib/containers/insights/settings-and-configurations/panels/guardrails/index.d.ts +2 -0
- package/lib/containers/insights/settings-and-configurations/panels/guardrails/mappers.d.ts +23 -0
- package/lib/containers/insights/settings-and-configurations/panels/guardrails/types.d.ts +10 -0
- package/lib/containers/insights/settings-and-configurations/panels/learning/constants.d.ts +82 -0
- package/lib/containers/insights/settings-and-configurations/panels/learning/create-override-panel.d.ts +21 -0
- package/lib/containers/insights/settings-and-configurations/panels/learning/index.d.ts +2 -0
- package/lib/containers/insights/settings-and-configurations/panels/learning/mappers.d.ts +38 -0
- package/lib/containers/insights/settings-and-configurations/panels/learning/policies-menu.d.ts +10 -0
- package/lib/containers/insights/settings-and-configurations/panels/learning/policy-editor.d.ts +9 -0
- package/lib/containers/insights/settings-and-configurations/panels/learning/policy-list-item.d.ts +8 -0
- package/lib/containers/insights/settings-and-configurations/panels/learning/types.d.ts +31 -0
- package/lib/containers/insights/settings-and-configurations/panels/storage/constants.d.ts +52 -0
- package/lib/containers/insights/settings-and-configurations/panels/storage/formatters.d.ts +5 -0
- package/lib/containers/insights/settings-and-configurations/panels/storage/index.d.ts +2 -0
- package/lib/containers/insights/settings-and-configurations/panels/storage/layout.d.ts +18 -0
- package/lib/containers/insights/settings-and-configurations/panels/storage/mappers.d.ts +27 -0
- package/lib/containers/insights/settings-and-configurations/panels/system/constants.d.ts +31 -0
- package/lib/containers/insights/settings-and-configurations/panels/system/index.d.ts +2 -0
- package/lib/containers/insights/settings-and-configurations/settings-menu/category-header.d.ts +8 -0
- package/lib/containers/insights/settings-and-configurations/settings-menu/index.d.ts +7 -0
- package/lib/containers/insights/transactions/drawer/baselines/helpers.d.ts +16 -0
- package/lib/containers/insights/transactions/drawer/baselines/index.d.ts +5 -0
- package/lib/containers/insights/transactions/drawer/index.d.ts +2 -0
- package/lib/containers/insights/transactions/drawer/observations/helpers.d.ts +11 -0
- package/lib/containers/insights/transactions/drawer/observations/index.d.ts +5 -0
- package/lib/containers/insights/transactions/helpers.d.ts +34 -0
- package/lib/containers/insights/transactions/index.d.ts +2 -0
- package/lib/containers/url-templatization/converters.d.ts +43 -0
- package/lib/containers/url-templatization/custom-templates-list.d.ts +16 -0
- package/lib/containers/url-templatization/default-rules-list.d.ts +10 -0
- package/lib/containers/url-templatization/helpers.d.ts +17 -0
- package/lib/containers/url-templatization/index.d.ts +5 -0
- package/lib/containers/url-templatization/scope-summary.d.ts +8 -0
- package/lib/containers/url-templatization/template-path.d.ts +8 -0
- package/lib/containers.js +1862 -286
- package/lib/contexts/odigos-api/capabilities.d.ts +2 -0
- package/lib/contexts/odigos-api/hooks/use-insights-api.d.ts +156 -0
- package/lib/contexts/odigos-api/index.d.ts +2 -1
- package/lib/contexts/odigos-api/internal/notify.d.ts +4 -3
- package/lib/contexts/odigos-api/types.d.ts +206 -1
- package/lib/contexts/odigos-api/use-odigos-api.d.ts +2 -0
- package/lib/contexts/odigos-context.d.ts +3 -3
- package/lib/contexts.js +1 -1
- package/lib/functions/index.d.ts +1 -0
- package/lib/functions/parse-raw-otlp/index.d.ts +43 -0
- package/lib/functions.js +1 -1
- package/lib/hooks/index.d.ts +1 -0
- package/lib/hooks/useAnchoredPopup.d.ts +44 -0
- package/lib/hooks/useCopy.d.ts +2 -3
- package/lib/hooks/useOnClickOutside.d.ts +1 -0
- package/lib/hooks/useTimeAgo.d.ts +4 -0
- package/lib/hooks.js +1 -1
- package/lib/icons/common/clock-icon/index.d.ts +2 -0
- package/lib/icons/common/index.d.ts +4 -0
- package/lib/icons/common/insights-findings-icon/index.d.ts +2 -0
- package/lib/icons/common/insights-transactions-icon/index.d.ts +2 -0
- package/lib/icons/common/threat-detection-icon/index.d.ts +2 -0
- package/lib/icons/overview/index.d.ts +2 -0
- package/lib/icons/overview/insights-icon/index.d.ts +2 -0
- package/lib/icons/overview/url-templatization-icon/index.d.ts +2 -0
- package/lib/icons.js +1 -1
- package/lib/snippets/actions/index.d.ts +8 -5
- package/lib/snippets/code-modal/index.d.ts +9 -0
- package/lib/snippets/index.d.ts +1 -0
- package/lib/snippets/trace-modal/index.d.ts +8 -0
- package/lib/snippets/upgrade-modal/index.d.ts +1 -1
- package/lib/snippets/wide-drawer/index.d.ts +6 -0
- package/lib/snippets.js +1 -1
- package/lib/store.js +1 -1
- package/lib/theme/palettes/index.d.ts +7 -1
- package/lib/theme.js +1 -1
- package/lib/types/actions/index.d.ts +12 -0
- package/lib/types/common/index.d.ts +9 -2
- package/lib/types/index.d.ts +1 -0
- package/lib/types/insights/index.d.ts +598 -0
- package/lib/types/instrumentation-rules/index.d.ts +1 -0
- package/lib/types.js +1 -1
- package/lib/visuals.js +1 -1
- package/package.json +1 -1
- package/lib/chunks/helpers-C5bkjRbO.js +0 -9
- package/lib/chunks/index-DBZ1mLhG.js +0 -298
- package/lib/chunks/source-instrument-form-context-CnRKQq6W.js +0 -5
- package/lib/chunks/ui-components-Ci-Vq1Dl.js +0 -1620
package/lib/constants.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{d3 as ACCEPT_RECOMMENDATION_DESCRIPTION,bG as ACTION_CATEGORIES,bs as ACTION_OPTIONS,gs as ACTION_TYPE_TO_CATEGORY,gt as ALL_LANGUAGES_WILDCARD,gu as ALL_SOURCES,c_ as APPLY_VIA_GITOPS_DESCRIPTION,d0 as APPLY_VIA_UI_DESCRIPTION,d4 as BTN_ACCEPT,dj as BTN_CANCEL,dr as BTN_CONTINUE_EDITING,fl as BTN_CREATE_FIRST_RULE,cT as BTN_CREATE_RULE,dm as BTN_DELETE_RULE,d5 as BTN_DISMISS,dd as BTN_DOCS,a7 as BTN_EDIT_AUTO_RULE,dl as BTN_EDIT_RULE,de as BTN_RESTORE,dB as BTN_SAVE,dk as BTN_SAVE_RULE,l as BUTTON_TEXTS,dn as CATEGORY_DESCRIPTIONS,aW as CATEGORY_LABELS,dq as CATEGORY_TITLES,gv as CREATE_COST_REDUCTION_AUTO_RULE_DRAWER_TITLE,gw as CREATE_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_TITLE,gx as CREATE_NOISY_AUTO_RULE_DRAWER_TITLE,c9 as DEFAULT_CLUSTER_ID,c8 as DEFAULT_CLUSTER_NAME,fc as DEFAULT_DATA_STREAM_NAME,am as DESC_DURATION,gy as DESC_ERRORS,ap as DESC_OPERATION,gz as DESC_PERCENTAGE_HIGHLY_RELEVANT,bZ as DESC_PERCENTAGE_NOISY,aX as DESC_RULE_TYPE,X as DESC_SOURCE_SCOPE,c5 as DESTINATION_CATEGORIES,e_ as DISPLAY_LANGUAGES,m as DISPLAY_TITLES,bO as DOCS_BASE_URL,bx as DestinationCategoryTypes,dx as EDIT_COST_REDUCTION_AUTO_RULE_DRAWER_SUBTITLE,dy as EDIT_COST_REDUCTION_AUTO_RULE_DRAWER_TITLE,dv as EDIT_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_SUBTITLE,dw as EDIT_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_TITLE,dz as EDIT_NOISY_AUTO_RULE_DRAWER_SUBTITLE,dA as EDIT_NOISY_AUTO_RULE_DRAWER_TITLE,dp as EDIT_TITLES,dh as EMPTY_SUBTITLE,di as EMPTY_TITLE,aD as EMPTY_VALUE,bk as ERROR_APPLY_RECOMMENDATION,bL as EXTRACTION_FORMAT_COPY,bJ as EXTRACT_ATTRIBUTE_FORM,fj as FILTER_TYPE_ALL,b9 as FORM_ALERTS,d1 as GITOPS_OVERRIDE_WARNING,d6 as INSTALLATION_METHOD_DESCRIPTION,bB as INSTRUMENTATION_RULE_OPTIONS,cZ as LABEL_APPLY_VIA_GITOPS,c$ as LABEL_APPLY_VIA_UI,db as LABEL_BENEFITS,dc as LABEL_CONSIDERATIONS,an as LABEL_CUSTOM_DURATION,c1 as LABEL_CUSTOM_PERCENTAGE,c0 as LABEL_DISABLED,cS as LABEL_DISABLED_RULE,aN as LABEL_DROP_ALL,bW as LABEL_DROP_AT_MOST,b$ as LABEL_ENABLED,d2 as LABEL_ENABLE_RECOMMENDATION,av as LABEL_HTTP_ROUTE,ax as LABEL_HTTP_ROUTE_PREFIX,aA as LABEL_KAFKA_TOPIC,aO as LABEL_KEEP_ALL,aK as LABEL_KEEP_AT_LEAST,aL as LABEL_KEEP_AT_MOST,aJ as LABEL_KEEP_PERCENTAGE,al as LABEL_KEEP_TRACES_DURATION,aj as LABEL_KEEP_TRACES_ERRORS,az as LABEL_METHOD,aS as LABEL_NOTE,a8 as LABEL_NO_PREVIEW,aC as LABEL_OPERATION_TYPE,gA as LABEL_RULE_DISABLED,gB as LABEL_RULE_ENABLED,aQ as LABEL_RULE_NAME,aR as LABEL_RULE_TYPE,aM as LABEL_SAMPLE,ar as LABEL_SERVER_ADDRESS,au as LABEL_TEMPLATED_PATH,aw as LABEL_TEMPLATED_PATH_PREFIX,d8 as LABEL_VIA_GITOPS,d7 as LABEL_VIA_UI,cG as LANGUAGE_OPTIONS,a_ as MONITORS_OPTIONS,E as NOTE_ENTIRE_CLUSTER,L as NOTE_SOURCE_SCOPE_LOGIC,d9 as NOT_APPLICABLE_SUMMARY,gC as OPENTELEMETRY_EBPF_DISTRO_OPTION,aF as OPERATION_ALL,aE as OPERATION_HTTP_CLIENT,aB as OPERATION_HTTP_SERVER,aG as OPERATION_KAFKA_CONSUMER,aH as OPERATION_KAFKA_PRODUCER,cF as OTEL_DISTRO_NAME_OPTIONS,aI as PERCENTAGE_SECTION_DESCRIPTIONS,aU as PLACEHOLDER_NOTE,at as PLACEHOLDER_ROUTE,aT as PLACEHOLDER_RULE_NAME,_ as PLACEHOLDER_SEARCH_SOURCE,aq as PLACEHOLDER_SERVER_ADDRESS,cr as PROCESS_ATTRIBUTE_NAMES,df as RECOMMENDATIONS_DRAWER_SUBTITLE,dg as RECOMMENDATIONS_DRAWER_TITLE,c as REGEX_TESTER_DRAWER,b_ as SAMPLING_AUTO_RULE_TITLE,fr as SAMPLING_BTN_CREATE_RULE,fp as SAMPLING_BTN_DOCS,fq as SAMPLING_BTN_REFRESH,bY as SAMPLING_COST_REDUCTION_AUTO_RULE_TITLE,ds as SAMPLING_DEFAULT_CONFIRM_DESCRIPTION,du as SAMPLING_DEFAULT_CONFIRM_PREVIEW_LABEL,dt as SAMPLING_DEFAULT_CONFIRM_TITLE,fu as SAMPLING_DELETE_MODAL_APPROVE,fv as SAMPLING_DELETE_MODAL_CANCEL,fw as SAMPLING_DELETE_MODAL_DESCRIPTION,fx as SAMPLING_DELETE_MODAL_TITLE,dC as SAMPLING_DRAWER_WIDTH,fo as SAMPLING_DUPLICATE_RULE_WARNING,bV as SAMPLING_HIGHLY_RELEVANT_AUTO_RULE_TITLE,er as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_1,es as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_2,et as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_3,eu as SAMPLING_ONBOARDING_ADVANCED_LEFT_TITLE,ev as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_1,ew as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_2,ex as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_3,ey as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_4,ez as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_5,eA as SAMPLING_ONBOARDING_ADVANCED_RIGHT_TITLE,eC as SAMPLING_ONBOARDING_ADVANCED_SUBTITLE,eB as SAMPLING_ONBOARDING_ADVANCED_TITLE,eT as SAMPLING_ONBOARDING_AMBIENT_LABEL,dZ as SAMPLING_ONBOARDING_BTN_GO_TO,dK as SAMPLING_ONBOARDING_BTN_NEXT,eq as SAMPLING_ONBOARDING_BTN_READ_MORE,e8 as SAMPLING_ONBOARDING_BTN_SKIP,e9 as SAMPLING_ONBOARDING_BTN_START,eD as SAMPLING_ONBOARDING_COMMON_BANNER,eS as SAMPLING_ONBOARDING_COMMON_RULES_SECTION,eG as SAMPLING_ONBOARDING_DROP_DESCRIPTION,eF as SAMPLING_ONBOARDING_DROP_SUBTITLE,eE as SAMPLING_ONBOARDING_DROP_TITLE,eJ as SAMPLING_ONBOARDING_ERROR_PRESET_NAME,eI as SAMPLING_ONBOARDING_ERROR_PRESET_TOGGLE_LABEL,eM as SAMPLING_ONBOARDING_KEEP_DESCRIPTION,eL as SAMPLING_ONBOARDING_KEEP_SUBTITLE,eK as SAMPLING_ONBOARDING_KEEP_TITLE,eN as SAMPLING_ONBOARDING_KEEP_USE_CASE_1,eO as SAMPLING_ONBOARDING_KEEP_USE_CASE_2,eP as SAMPLING_ONBOARDING_KEEP_USE_CASE_3,eQ as SAMPLING_ONBOARDING_KEEP_USE_CASE_4,eR as SAMPLING_ONBOARDING_KEEP_USE_CASE_5,dR as SAMPLING_ONBOARDING_NOISY_BANNER,dN as SAMPLING_ONBOARDING_NOISY_DESCRIPTION,dQ as SAMPLING_ONBOARDING_NOISY_PRESET_NAME,dO as SAMPLING_ONBOARDING_NOISY_PRESET_SECTION,dP as SAMPLING_ONBOARDING_NOISY_PRESET_TOGGLE_LABEL,dM as SAMPLING_ONBOARDING_NOISY_SUBTITLE,dL as SAMPLING_ONBOARDING_NOISY_TITLE,eH as SAMPLING_ONBOARDING_PRESET_RULES_SECTION,dJ as SAMPLING_ONBOARDING_RECOMMENDED_BADGE,en as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_BADGE,eo as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_DESC,ep as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_NAME,ek as SAMPLING_ONBOARDING_STRATEGY_DROP_BADGE,ei as SAMPLING_ONBOARDING_STRATEGY_DROP_BULLET_1,ej as SAMPLING_ONBOARDING_STRATEGY_DROP_BULLET_2,el as SAMPLING_ONBOARDING_STRATEGY_DROP_DESC,em as SAMPLING_ONBOARDING_STRATEGY_DROP_NAME,ef as SAMPLING_ONBOARDING_STRATEGY_KEEP_BADGE,ed as SAMPLING_ONBOARDING_STRATEGY_KEEP_BULLET_1,ee as SAMPLING_ONBOARDING_STRATEGY_KEEP_BULLET_2,eg as SAMPLING_ONBOARDING_STRATEGY_KEEP_DESC,eh as SAMPLING_ONBOARDING_STRATEGY_KEEP_NAME,ec as SAMPLING_ONBOARDING_STRATEGY_KEEP_WARNING,eb as SAMPLING_ONBOARDING_STRATEGY_SUBTITLE,ea as SAMPLING_ONBOARDING_STRATEGY_TITLE,dW as SAMPLING_ONBOARDING_SUCCESS_BULLET_1,dX as SAMPLING_ONBOARDING_SUCCESS_BULLET_2,dY as SAMPLING_ONBOARDING_SUCCESS_BULLET_3,dV as SAMPLING_ONBOARDING_SUCCESS_INTRO,dU as SAMPLING_ONBOARDING_SUCCESS_SUBTITLE,dT as SAMPLING_ONBOARDING_SUCCESS_TITLE,e7 as SAMPLING_ONBOARDING_WELCOME_BANNER,e0 as SAMPLING_ONBOARDING_WELCOME_INTRO,e1 as SAMPLING_ONBOARDING_WELCOME_STAGE_1_DESC,e2 as SAMPLING_ONBOARDING_WELCOME_STAGE_1_TITLE,e3 as SAMPLING_ONBOARDING_WELCOME_STAGE_2_DESC,e4 as SAMPLING_ONBOARDING_WELCOME_STAGE_2_TITLE,e5 as SAMPLING_ONBOARDING_WELCOME_STAGE_3_DESC,e6 as SAMPLING_ONBOARDING_WELCOME_STAGE_3_TITLE,d$ as SAMPLING_ONBOARDING_WELCOME_SUBTITLE,d_ as SAMPLING_ONBOARDING_WELCOME_TITLE,fs as SAMPLING_PAGE_DESCRIPTION,ft as SAMPLING_PAGE_TITLE,a1 as SCOPE_AND_LABEL,a0 as SCOPE_GROUP_ANY_OF_HINT,K as SCOPE_GROUP_LANGUAGES_TITLE,J as SCOPE_GROUP_NAMESPACES_TITLE,G as SCOPE_GROUP_SOURCES_TITLE,gD as SECTION_APPLIED,gE as SECTION_DISMISSED,ak as SECTION_DURATION,ai as SECTION_ERRORS,bX as SECTION_KEEP_PERCENTAGE,gF as SECTION_NOT_APPLICABLE,ao as SECTION_OPERATION,gG as SECTION_RECOMMENDED,aY as SECTION_SAMPLING_PREVIEW,a2 as SECTION_SOURCE_SCOPE,da as SECTION_TITLES,eZ as STORAGE_KEYS,bl as SUCCESS_APPLIED,bm as SUCCESS_DISMISSED,bn as SUCCESS_RESTORED,fk as TITLE_NO_RESULTS,fm as TITLE_NO_RULES,gH as TOKEN_ABOUT_TO_EXPIRE,aV as TOOLTIP_NOTE,U as UNKNOWN_SOURCE_LABEL,aP as UNNAMED_RULE,cm as canAgentReportPodStartTime,fn as getNoResultsSubTitle,cN as getSourceConditionsForPanel,c2 as getSupportedActionOptions,bT as getSupportedLanguageIcon,bU as getSupportedLanguageLabel,gI as isActionSupportedOnPlatform,gJ as isActionSupportedOnVersion,bQ as isRuleSourceScopeSupported,bi as mapActionTypesToOptions,bp as mapRuleTypesToOptions,bR as normalizeSupportedLanguagesForDisplay,cM as shouldShowSourceConditionsPanel,gK as supportsAllLanguages,bS as toScopeSupportedLanguages}from"./chunks/ui-components-Ci-Vq1Dl.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{d7 as ACCEPT_RECOMMENDATION_DESCRIPTION,bK as ACTION_CATEGORIES,bw as ACTION_OPTIONS,id as ACTION_TYPE_TO_CATEGORY,ie as ALL_LANGUAGES_WILDCARD,ig as ALL_SOURCES,d2 as APPLY_VIA_GITOPS_DESCRIPTION,d4 as APPLY_VIA_UI_DESCRIPTION,d8 as BTN_ACCEPT,dn as BTN_CANCEL,dv as BTN_CONTINUE_EDITING,gK as BTN_CREATE_FIRST_RULE,cX as BTN_CREATE_RULE,dr as BTN_DELETE_RULE,d9 as BTN_DISMISS,dh as BTN_DOCS,ad as BTN_EDIT_AUTO_RULE,dq as BTN_EDIT_RULE,di as BTN_RESTORE,dF as BTN_SAVE,dp as BTN_SAVE_RULE,n as BUTTON_TEXTS,ds as CATEGORY_DESCRIPTIONS,b0 as CATEGORY_LABELS,du as CATEGORY_TITLES,ih as CREATE_COST_REDUCTION_AUTO_RULE_DRAWER_TITLE,ii as CREATE_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_TITLE,ij as CREATE_NOISY_AUTO_RULE_DRAWER_TITLE,bk as DEFAULT_CLUSTER_ID,cc as DEFAULT_CLUSTER_NAME,gF as DEFAULT_DATA_STREAM_NAME,as as DESC_DURATION,ik as DESC_ERRORS,av as DESC_OPERATION,il as DESC_PERCENTAGE_HIGHLY_RELEVANT,c1 as DESC_PERCENTAGE_NOISY,b1 as DESC_RULE_TYPE,a1 as DESC_SOURCE_SCOPE,c8 as DESTINATION_CATEGORIES,gr as DISPLAY_LANGUAGES,o as DISPLAY_TITLES,bS as DOCS_BASE_URL,bB as DestinationCategoryTypes,dB as EDIT_COST_REDUCTION_AUTO_RULE_DRAWER_SUBTITLE,dC as EDIT_COST_REDUCTION_AUTO_RULE_DRAWER_TITLE,dz as EDIT_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_SUBTITLE,dA as EDIT_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_TITLE,dD as EDIT_NOISY_AUTO_RULE_DRAWER_SUBTITLE,dE as EDIT_NOISY_AUTO_RULE_DRAWER_TITLE,dt as EDIT_TITLES,dl as EMPTY_SUBTITLE,dm as EMPTY_TITLE,aJ as EMPTY_VALUE,bo as ERROR_APPLY_RECOMMENDATION,bP as EXTRACTION_FORMAT_COPY,bN as EXTRACT_ATTRIBUTE_FORM,gN as FILTER_TYPE_ALL,bb as FORM_ALERTS,d5 as GITOPS_OVERRIDE_WARNING,da as INSTALLATION_METHOD_DESCRIPTION,bF as INSTRUMENTATION_RULE_OPTIONS,d1 as LABEL_APPLY_VIA_GITOPS,d3 as LABEL_APPLY_VIA_UI,df as LABEL_BENEFITS,dg as LABEL_CONSIDERATIONS,at as LABEL_CUSTOM_DURATION,c5 as LABEL_CUSTOM_PERCENTAGE,c4 as LABEL_DISABLED,cW as LABEL_DISABLED_RULE,aT as LABEL_DROP_ALL,b_ as LABEL_DROP_AT_MOST,c3 as LABEL_ENABLED,d6 as LABEL_ENABLE_RECOMMENDATION,aB as LABEL_HTTP_ROUTE,aD as LABEL_HTTP_ROUTE_PREFIX,aG as LABEL_KAFKA_TOPIC,aU as LABEL_KEEP_ALL,aQ as LABEL_KEEP_AT_LEAST,aR as LABEL_KEEP_AT_MOST,aP as LABEL_KEEP_PERCENTAGE,ar as LABEL_KEEP_TRACES_DURATION,ap as LABEL_KEEP_TRACES_ERRORS,aF as LABEL_METHOD,aY as LABEL_NOTE,ae as LABEL_NO_PREVIEW,aI as LABEL_OPERATION_TYPE,im as LABEL_RULE_DISABLED,io as LABEL_RULE_ENABLED,aW as LABEL_RULE_NAME,aX as LABEL_RULE_TYPE,aS as LABEL_SAMPLE,ax as LABEL_SERVER_ADDRESS,aA as LABEL_TEMPLATED_PATH,aC as LABEL_TEMPLATED_PATH_PREFIX,dc as LABEL_VIA_GITOPS,db as LABEL_VIA_UI,cK as LANGUAGE_OPTIONS,b4 as MONITORS_OPTIONS,L as NOTE_ENTIRE_CLUSTER,Z as NOTE_SOURCE_SCOPE_LOGIC,dd as NOT_APPLICABLE_SUMMARY,ip as OPENTELEMETRY_EBPF_DISTRO_OPTION,aL as OPERATION_ALL,aK as OPERATION_HTTP_CLIENT,aH as OPERATION_HTTP_SERVER,aM as OPERATION_KAFKA_CONSUMER,aN as OPERATION_KAFKA_PRODUCER,cJ as OTEL_DISTRO_NAME_OPTIONS,aO as PERCENTAGE_SECTION_DESCRIPTIONS,a_ as PLACEHOLDER_NOTE,az as PLACEHOLDER_ROUTE,aZ as PLACEHOLDER_RULE_NAME,a4 as PLACEHOLDER_SEARCH_SOURCE,aw as PLACEHOLDER_SERVER_ADDRESS,cu as PROCESS_ATTRIBUTE_NAMES,dj as RECOMMENDATIONS_DRAWER_SUBTITLE,dk as RECOMMENDATIONS_DRAWER_TITLE,c as REGEX_TESTER_DRAWER,c2 as SAMPLING_AUTO_RULE_TITLE,gR as SAMPLING_BTN_CREATE_RULE,gP as SAMPLING_BTN_DOCS,gQ as SAMPLING_BTN_REFRESH,c0 as SAMPLING_COST_REDUCTION_AUTO_RULE_TITLE,dw as SAMPLING_DEFAULT_CONFIRM_DESCRIPTION,dy as SAMPLING_DEFAULT_CONFIRM_PREVIEW_LABEL,dx as SAMPLING_DEFAULT_CONFIRM_TITLE,gU as SAMPLING_DELETE_MODAL_APPROVE,gV as SAMPLING_DELETE_MODAL_CANCEL,gW as SAMPLING_DELETE_MODAL_DESCRIPTION,gX as SAMPLING_DELETE_MODAL_TITLE,dG as SAMPLING_DRAWER_WIDTH,gO as SAMPLING_DUPLICATE_RULE_WARNING,bZ as SAMPLING_HIGHLY_RELEVANT_AUTO_RULE_TITLE,fv as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_1,fw as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_2,fx as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_3,fy as SAMPLING_ONBOARDING_ADVANCED_LEFT_TITLE,fz as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_1,fA as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_2,fB as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_3,fC as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_4,fD as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_5,fE as SAMPLING_ONBOARDING_ADVANCED_RIGHT_TITLE,fG as SAMPLING_ONBOARDING_ADVANCED_SUBTITLE,fF as SAMPLING_ONBOARDING_ADVANCED_TITLE,fX as SAMPLING_ONBOARDING_AMBIENT_LABEL,f1 as SAMPLING_ONBOARDING_BTN_GO_TO,eO as SAMPLING_ONBOARDING_BTN_NEXT,fu as SAMPLING_ONBOARDING_BTN_READ_MORE,fc as SAMPLING_ONBOARDING_BTN_SKIP,fd as SAMPLING_ONBOARDING_BTN_START,fH as SAMPLING_ONBOARDING_COMMON_BANNER,fW as SAMPLING_ONBOARDING_COMMON_RULES_SECTION,fK as SAMPLING_ONBOARDING_DROP_DESCRIPTION,fJ as SAMPLING_ONBOARDING_DROP_SUBTITLE,fI as SAMPLING_ONBOARDING_DROP_TITLE,fN as SAMPLING_ONBOARDING_ERROR_PRESET_NAME,fM as SAMPLING_ONBOARDING_ERROR_PRESET_TOGGLE_LABEL,fQ as SAMPLING_ONBOARDING_KEEP_DESCRIPTION,fP as SAMPLING_ONBOARDING_KEEP_SUBTITLE,fO as SAMPLING_ONBOARDING_KEEP_TITLE,fR as SAMPLING_ONBOARDING_KEEP_USE_CASE_1,fS as SAMPLING_ONBOARDING_KEEP_USE_CASE_2,fT as SAMPLING_ONBOARDING_KEEP_USE_CASE_3,fU as SAMPLING_ONBOARDING_KEEP_USE_CASE_4,fV as SAMPLING_ONBOARDING_KEEP_USE_CASE_5,eV as SAMPLING_ONBOARDING_NOISY_BANNER,eR as SAMPLING_ONBOARDING_NOISY_DESCRIPTION,eU as SAMPLING_ONBOARDING_NOISY_PRESET_NAME,eS as SAMPLING_ONBOARDING_NOISY_PRESET_SECTION,eT as SAMPLING_ONBOARDING_NOISY_PRESET_TOGGLE_LABEL,eQ as SAMPLING_ONBOARDING_NOISY_SUBTITLE,eP as SAMPLING_ONBOARDING_NOISY_TITLE,fL as SAMPLING_ONBOARDING_PRESET_RULES_SECTION,eN as SAMPLING_ONBOARDING_RECOMMENDED_BADGE,fr as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_BADGE,fs as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_DESC,ft as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_NAME,fo as SAMPLING_ONBOARDING_STRATEGY_DROP_BADGE,fm as SAMPLING_ONBOARDING_STRATEGY_DROP_BULLET_1,fn as SAMPLING_ONBOARDING_STRATEGY_DROP_BULLET_2,fp as SAMPLING_ONBOARDING_STRATEGY_DROP_DESC,fq as SAMPLING_ONBOARDING_STRATEGY_DROP_NAME,fj as SAMPLING_ONBOARDING_STRATEGY_KEEP_BADGE,fh as SAMPLING_ONBOARDING_STRATEGY_KEEP_BULLET_1,fi as SAMPLING_ONBOARDING_STRATEGY_KEEP_BULLET_2,fk as SAMPLING_ONBOARDING_STRATEGY_KEEP_DESC,fl as SAMPLING_ONBOARDING_STRATEGY_KEEP_NAME,fg as SAMPLING_ONBOARDING_STRATEGY_KEEP_WARNING,ff as SAMPLING_ONBOARDING_STRATEGY_SUBTITLE,fe as SAMPLING_ONBOARDING_STRATEGY_TITLE,e_ as SAMPLING_ONBOARDING_SUCCESS_BULLET_1,e$ as SAMPLING_ONBOARDING_SUCCESS_BULLET_2,f0 as SAMPLING_ONBOARDING_SUCCESS_BULLET_3,eZ as SAMPLING_ONBOARDING_SUCCESS_INTRO,eY as SAMPLING_ONBOARDING_SUCCESS_SUBTITLE,eX as SAMPLING_ONBOARDING_SUCCESS_TITLE,fb as SAMPLING_ONBOARDING_WELCOME_BANNER,f4 as SAMPLING_ONBOARDING_WELCOME_INTRO,f5 as SAMPLING_ONBOARDING_WELCOME_STAGE_1_DESC,f6 as SAMPLING_ONBOARDING_WELCOME_STAGE_1_TITLE,f7 as SAMPLING_ONBOARDING_WELCOME_STAGE_2_DESC,f8 as SAMPLING_ONBOARDING_WELCOME_STAGE_2_TITLE,f9 as SAMPLING_ONBOARDING_WELCOME_STAGE_3_DESC,fa as SAMPLING_ONBOARDING_WELCOME_STAGE_3_TITLE,f3 as SAMPLING_ONBOARDING_WELCOME_SUBTITLE,f2 as SAMPLING_ONBOARDING_WELCOME_TITLE,gS as SAMPLING_PAGE_DESCRIPTION,gT as SAMPLING_PAGE_TITLE,a7 as SCOPE_AND_LABEL,a6 as SCOPE_GROUP_ANY_OF_HINT,Y as SCOPE_GROUP_LANGUAGES_TITLE,X as SCOPE_GROUP_NAMESPACES_TITLE,O as SCOPE_GROUP_SOURCES_TITLE,iq as SECTION_APPLIED,ir as SECTION_DISMISSED,aq as SECTION_DURATION,ao as SECTION_ERRORS,b$ as SECTION_KEEP_PERCENTAGE,is as SECTION_NOT_APPLICABLE,au as SECTION_OPERATION,it as SECTION_RECOMMENDED,b2 as SECTION_SAMPLING_PREVIEW,a8 as SECTION_SOURCE_SCOPE,de as SECTION_TITLES,gq as STORAGE_KEYS,bp as SUCCESS_APPLIED,bq as SUCCESS_DISMISSED,br as SUCCESS_RESTORED,gJ as TITLE_NO_RESULTS,gL as TITLE_NO_RULES,iu as TOKEN_ABOUT_TO_EXPIRE,a$ as TOOLTIP_NOTE,U as UNKNOWN_SOURCE_LABEL,aV as UNNAMED_RULE,dY as URL_TEMPLATIZATION_ACTION_FIELD_LABEL,e8 as URL_TEMPLATIZATION_ACTION_NAME_LABEL,dS as URL_TEMPLATIZATION_ADD_EXISTING_GROUP,dV as URL_TEMPLATIZATION_ADD_NEW_GROUP,dX as URL_TEMPLATIZATION_ADVANCED_CONFIGURATION,em as URL_TEMPLATIZATION_BADGE_ADVANCED,e9 as URL_TEMPLATIZATION_BADGE_UI,ed as URL_TEMPLATIZATION_BTN_ADD_RULE,h7 as URL_TEMPLATIZATION_BTN_ADD_TEMPLATE,e3 as URL_TEMPLATIZATION_BTN_BACK,e1 as URL_TEMPLATIZATION_BTN_CANCEL,et as URL_TEMPLATIZATION_BTN_CLOSE,ha as URL_TEMPLATIZATION_BTN_CREATE,iv as URL_TEMPLATIZATION_BTN_CREATE_GROUP,h5 as URL_TEMPLATIZATION_BTN_CREATE_TEMPLATE_GROUP,h9 as URL_TEMPLATIZATION_BTN_DOCS,h6 as URL_TEMPLATIZATION_BTN_EDIT_GROUP,hf as URL_TEMPLATIZATION_BTN_ENABLE_DEFAULT,e2 as URL_TEMPLATIZATION_BTN_NEXT,e4 as URL_TEMPLATIZATION_BTN_SAVE,eB as URL_TEMPLATIZATION_BTN_TEST_URL,dN as URL_TEMPLATIZATION_CHOOSE_DESTINATION,e0 as URL_TEMPLATIZATION_CUSTOM_DRAWER_SUBTITLE,e6 as URL_TEMPLATIZATION_CUSTOM_DRAWER_TITLE,hg as URL_TEMPLATIZATION_CUSTOM_EMPTY_SUBTITLE,hh as URL_TEMPLATIZATION_CUSTOM_EMPTY_TITLE,h0 as URL_TEMPLATIZATION_CUSTOM_SECTION_SUBTITLE,dM as URL_TEMPLATIZATION_DEFAULT_ACTION_NAME,iw as URL_TEMPLATIZATION_DEFAULT_CONFIGURED_PLACEHOLDER,hd as URL_TEMPLATIZATION_DEFAULT_EMPTY_SUBTITLE,he as URL_TEMPLATIZATION_DEFAULT_EMPTY_TITLE,ef as URL_TEMPLATIZATION_DEFAULT_RULE_DRAWER_SUBTITLE,eh as URL_TEMPLATIZATION_DEFAULT_RULE_DRAWER_TITLE,g_ as URL_TEMPLATIZATION_DEFAULT_SECTION_SUBTITLE,ei as URL_TEMPLATIZATION_DESC_DEFAULT_TEMPLATIZATION,en as URL_TEMPLATIZATION_DESC_SKIP_POLICY,ix as URL_TEMPLATIZATION_DESC_SOURCE_SCOPE,dR as URL_TEMPLATIZATION_DESTINATION_CLUSTER_HINT,dP as URL_TEMPLATIZATION_DESTINATION_ENTIRE_CLUSTER,dQ as URL_TEMPLATIZATION_DESTINATION_GROUP_HINT,dO as URL_TEMPLATIZATION_DESTINATION_TEMPLATE_GROUP,ex as URL_TEMPLATIZATION_DETAIL_DISPLAY_NAME,ew as URL_TEMPLATIZATION_DETAIL_ORIGIN,ey as URL_TEMPLATIZATION_DETAIL_RESOURCE_NAME,ev as URL_TEMPLATIZATION_DETAIL_TEMPLATE,h8 as URL_TEMPLATIZATION_DOCS_URL,e7 as URL_TEMPLATIZATION_DRAWER_WIDTH,eg as URL_TEMPLATIZATION_EDIT_DEFAULT_RULE_DRAWER_TITLE,ec as URL_TEMPLATIZATION_ERROR_INVALID_STATUS_CODES,e5 as URL_TEMPLATIZATION_FOOTER_IMMEDIATE_EFFECT,ee as URL_TEMPLATIZATION_FOOTER_SAVE_EFFECT,er as URL_TEMPLATIZATION_HELPER_STATUS_CODES,eD as URL_TEMPLATIZATION_MATCH_FOUND,eF as URL_TEMPLATIZATION_MATCH_FOUND_HINT,d$ as URL_TEMPLATIZATION_NEW_ACTION_HINT,dZ as URL_TEMPLATIZATION_NEW_ACTION_NAME_LABEL,d_ as URL_TEMPLATIZATION_NEW_ACTION_PLACEHOLDER,dW as URL_TEMPLATIZATION_NEW_GROUP_DEFAULT_HINT,iy as URL_TEMPLATIZATION_NOTE_ENTIRE_CLUSTER,eE as URL_TEMPLATIZATION_NO_MATCH,eH as URL_TEMPLATIZATION_NO_MATCH_HELP,eG as URL_TEMPLATIZATION_NO_MATCH_HINT,hb as URL_TEMPLATIZATION_PAGE_DESCRIPTION,hc as URL_TEMPLATIZATION_PAGE_TITLE,es as URL_TEMPLATIZATION_PLACEHOLDER_STATUS_CODES,ea as URL_TEMPLATIZATION_PLACEHOLDER_TEMPLATE,eC as URL_TEMPLATIZATION_RESULT,dL as URL_TEMPLATIZATION_SCOPE_AND,dH as URL_TEMPLATIZATION_SCOPE_ENTIRE_CLUSTER,dI as URL_TEMPLATIZATION_SCOPE_LANGUAGE,dJ as URL_TEMPLATIZATION_SCOPE_NAMESPACE,dK as URL_TEMPLATIZATION_SCOPE_SOURCE,dT as URL_TEMPLATIZATION_SEARCH_GROUPS_PLACEHOLDER,g$ as URL_TEMPLATIZATION_SECTION_CUSTOM,gZ as URL_TEMPLATIZATION_SECTION_DEFAULT,ej as URL_TEMPLATIZATION_SECTION_DEFAULT_TEMPLATIZATION,eo as URL_TEMPLATIZATION_SECTION_SKIP_POLICY,iz as URL_TEMPLATIZATION_SECTION_SOURCE_SCOPE,eb as URL_TEMPLATIZATION_SECTION_TEMPLATES,dU as URL_TEMPLATIZATION_SELECTED_GROUP,el as URL_TEMPLATIZATION_TOGGLE_ENABLE_NORMALIZATION,ep as URL_TEMPLATIZATION_TOGGLE_SKIP_NON_2XX,eq as URL_TEMPLATIZATION_TOGGLE_SKIP_STATUS_CODES,ez as URL_TEMPLATIZATION_TRY_A_URL,eA as URL_TEMPLATIZATION_TRY_A_URL_PLACEHOLDER,h1 as URL_TEMPLATIZATION_VIEW_BY,eu as URL_TEMPLATIZATION_VIEW_DRAWER_TITLE,h2 as URL_TEMPLATIZATION_VIEW_GROUPS,h4 as URL_TEMPLATIZATION_VIEW_LIST,h3 as URL_TEMPLATIZATION_VIEW_TREE,cp as canAgentReportPodStartTime,gM as getNoResultsSubTitle,cR as getSourceConditionsForPanel,c6 as getSupportedActionOptions,bX as getSupportedLanguageIcon,bY as getSupportedLanguageLabel,iA as isActionSupportedOnPlatform,iB as isActionSupportedOnVersion,bU as isRuleSourceScopeSupported,bl as mapActionTypesToOptions,bt as mapRuleTypesToOptions,bV as normalizeSupportedLanguagesForDisplay,ca as ruleTypeRequiresConfiguration,cQ as shouldShowSourceConditionsPanel,iC as supportsAllLanguages,bW as toScopeSupportedLanguages}from"./chunks/ui-components-CjgsN17j.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,12 +1,6 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
|
-
import { type K8sWorkloadPodContainerProcess
|
|
2
|
+
import { type K8sWorkloadPodContainerProcess } 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 {};
|
|
@@ -11,4 +11,7 @@ export * from './edit-source-drawer';
|
|
|
11
11
|
export * from './regex-tester-drawer';
|
|
12
12
|
export * from './recommendations-drawer';
|
|
13
13
|
export * from './sampling-rule-drawer';
|
|
14
|
+
export * from './url-templatization-custom-template-drawer';
|
|
15
|
+
export * from './url-templatization-default-rule-drawer';
|
|
16
|
+
export * from './url-templatization-template-view-drawer';
|
|
14
17
|
export * from './system-drawer';
|
package/lib/containers/_drawers/url-templatization-custom-template-drawer/destination-step.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { type CustomTemplateActionOption, type CustomTemplateGroupOption, type UrlTemplatizationCustomTemplateFormState } from '../../url-templatization/converters';
|
|
3
|
+
interface DestinationStepProps {
|
|
4
|
+
formState: UrlTemplatizationCustomTemplateFormState;
|
|
5
|
+
existingGroups: CustomTemplateGroupOption[];
|
|
6
|
+
templatizationActions: CustomTemplateActionOption[];
|
|
7
|
+
defaultActionId?: string | null;
|
|
8
|
+
defaultActionName?: string;
|
|
9
|
+
groupSearch: string;
|
|
10
|
+
advancedOpen: boolean;
|
|
11
|
+
onGroupSearchChange: (value: string) => void;
|
|
12
|
+
onAdvancedOpenChange: (open: boolean) => void;
|
|
13
|
+
onChange: (patch: Partial<UrlTemplatizationCustomTemplateFormState>) => void;
|
|
14
|
+
}
|
|
15
|
+
export declare const DestinationStep: FC<DestinationStepProps>;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import type { AutocompleteOption } from '../../../components/autocomplete';
|
|
3
|
+
import { type CustomTemplateActionOption, type CustomTemplateGroupOption, type UrlTemplatizationCustomTemplateFormState } from '../../url-templatization/converters';
|
|
4
|
+
export type CustomTemplateDrawerPrefill = Partial<Pick<UrlTemplatizationCustomTemplateFormState, 'destination' | 'groupMode' | 'existingGroupIndex' | 'targetActionId' | 'createNewAction'>> & {
|
|
5
|
+
step?: 1 | 2;
|
|
6
|
+
};
|
|
7
|
+
export interface UrlTemplatizationCustomTemplateDrawerProps {
|
|
8
|
+
isOpen: boolean;
|
|
9
|
+
submitting?: boolean;
|
|
10
|
+
prefill?: CustomTemplateDrawerPrefill;
|
|
11
|
+
templatizationActions?: CustomTemplateActionOption[];
|
|
12
|
+
existingGroups?: CustomTemplateGroupOption[];
|
|
13
|
+
onClose: () => void;
|
|
14
|
+
onSubmit: (state: UrlTemplatizationCustomTemplateFormState) => void | Promise<void>;
|
|
15
|
+
sourceOptions?: AutocompleteOption[];
|
|
16
|
+
namespaceOptions?: AutocompleteOption[];
|
|
17
|
+
}
|
|
18
|
+
export declare const UrlTemplatizationCustomTemplateDrawer: FC<UrlTemplatizationCustomTemplateDrawerProps>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import type { AutocompleteOption } from '../../../components/autocomplete';
|
|
3
|
+
import type { UrlTemplatizationDefaultRuleFormState } from '../../url-templatization/converters';
|
|
4
|
+
export interface UrlTemplatizationDefaultRuleDrawerProps {
|
|
5
|
+
isOpen: boolean;
|
|
6
|
+
submitting?: boolean;
|
|
7
|
+
mode?: 'create' | 'edit';
|
|
8
|
+
initialFormState?: UrlTemplatizationDefaultRuleFormState;
|
|
9
|
+
onClose: () => void;
|
|
10
|
+
onSubmit: (state: UrlTemplatizationDefaultRuleFormState) => void | Promise<void>;
|
|
11
|
+
sourceOptions?: AutocompleteOption[];
|
|
12
|
+
namespaceOptions?: AutocompleteOption[];
|
|
13
|
+
}
|
|
14
|
+
export declare const UrlTemplatizationDefaultRuleDrawer: FC<UrlTemplatizationDefaultRuleDrawerProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
export interface UrlTemplatizationTemplateViewDrawerProps {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
template: string;
|
|
5
|
+
actionName?: string | null;
|
|
6
|
+
actionId?: string | null;
|
|
7
|
+
onClose: () => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const UrlTemplatizationTemplateViewDrawer: FC<UrlTemplatizationTemplateViewDrawerProps>;
|
|
@@ -2,6 +2,7 @@ import { type Connection, type MinSupportedVersion, PlatformType } from '../../t
|
|
|
2
2
|
import { type IslandProps, type TableProps, type TableRowCell } from '../../components';
|
|
3
3
|
export declare enum DrawerId {
|
|
4
4
|
BulkConfig = "bulk-config",
|
|
5
|
+
BulkSource = "bulk-source",
|
|
5
6
|
Delete = "delete"
|
|
6
7
|
}
|
|
7
8
|
export declare enum CreateNewType {
|
|
@@ -30,13 +31,20 @@ export declare const isConnectionAlive: (cells: TableRowCell[]) => boolean;
|
|
|
30
31
|
export declare const getSupportedConnections: (connections: Connection[], minVersion: MinSupportedVersion) => Connection[];
|
|
31
32
|
export interface BuildIslandActionsOptions {
|
|
32
33
|
onCancel: () => void;
|
|
34
|
+
onAddSource?: () => void;
|
|
35
|
+
addSourceDisabled?: boolean;
|
|
36
|
+
addSourceTooltip?: string;
|
|
33
37
|
onManageConfigurations?: () => void;
|
|
38
|
+
manageConfigDisabled?: boolean;
|
|
39
|
+
manageConfigTooltip?: string;
|
|
34
40
|
}
|
|
35
41
|
export declare const buildIslandActions: (opts: BuildIslandActionsOptions) => IslandProps["actions"];
|
|
36
42
|
export interface BuildRowActionsOptions {
|
|
37
43
|
connections: Connection[];
|
|
38
44
|
configMinSupportedVersion: MinSupportedVersion;
|
|
45
|
+
snapshotMinSupportedVersion: MinSupportedVersion;
|
|
39
46
|
onDelete: (connectionId: string) => void;
|
|
47
|
+
onAddSource?: (connectionId: string) => void;
|
|
40
48
|
onEditConfiguration?: (connectionId: string) => void;
|
|
41
49
|
}
|
|
42
50
|
export declare const buildRowActions: (opts: BuildRowActionsOptions) => TableProps["getRowActions"];
|
|
@@ -11,5 +11,6 @@ export interface CentralConnectionsProps {
|
|
|
11
11
|
cloudConnectorProviders?: CloudConnectorProvider[];
|
|
12
12
|
onCreateCloudConnector?: (input: CloudConnectorCreateInput) => Promise<CloudConnectorCreateResult>;
|
|
13
13
|
configMinSupportedVersion?: MinSupportedVersion;
|
|
14
|
+
snapshotMinSupportedVersion?: MinSupportedVersion;
|
|
14
15
|
}
|
|
15
16
|
export declare const CentralConnections: FC<CentralConnectionsProps>;
|
|
@@ -2,6 +2,7 @@ export * from './_drawers';
|
|
|
2
2
|
export * from './_forms';
|
|
3
3
|
export * from './_modals';
|
|
4
4
|
export * from './central-connections';
|
|
5
|
+
export * from './insights';
|
|
5
6
|
export * from './onboarding';
|
|
6
7
|
export * from './overview';
|
|
7
8
|
export * from './pipeline-collectors';
|
|
@@ -9,3 +10,4 @@ export * from './sampling-rules';
|
|
|
9
10
|
export * from './service-map';
|
|
10
11
|
export * from './settings';
|
|
11
12
|
export * from './toast-list';
|
|
13
|
+
export * from './url-templatization';
|
package/lib/containers/insights/findings/drawer/anomaly/anomaly-blast-radius/animated-edge.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BlastRadiusEdgeTypes, type BlastRadiusEdgeData } from './types';
|
|
3
|
+
import { type Edge, type EdgeProps } from '@xyflow/react';
|
|
4
|
+
export type BlastRadiusAnimatedEdgeType = Edge<BlastRadiusEdgeData, BlastRadiusEdgeTypes.Animated>;
|
|
5
|
+
/**
|
|
6
|
+
* Packet-stream animation (service-map style). Duration scales with path length.
|
|
7
|
+
* Attacker edges use red track/packets; others keep silver.
|
|
8
|
+
*/
|
|
9
|
+
declare const BlastRadiusAnimatedEdgeComponent: React.FC<EdgeProps<BlastRadiusAnimatedEdgeType>>;
|
|
10
|
+
export { BlastRadiusAnimatedEdgeComponent as BlastRadiusAnimatedEdge };
|
package/lib/containers/insights/findings/drawer/anomaly/anomaly-blast-radius/blast-radius-node.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { type BlastRadiusServiceNode } from './types';
|
|
3
|
+
import { type NodeProps } from '@xyflow/react';
|
|
4
|
+
type BlastRadiusNodeProps = NodeProps<BlastRadiusServiceNode>;
|
|
5
|
+
export declare const BlastRadiusNode: FC<BlastRadiusNodeProps>;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type Edge } from '@xyflow/react';
|
|
2
|
+
import type { DefaultTheme } from 'styled-components';
|
|
3
|
+
import { type BlastRadiusEdgeData, type BlastRadiusServiceNode } from './types';
|
|
4
|
+
import type { InsightsBlastRadiusNode, InsightsBlastRadiusSubgraph } from '../../../../../../types';
|
|
5
|
+
export declare const NODE_WIDTH = 120;
|
|
6
|
+
export declare const NODE_HEIGHT = 58;
|
|
7
|
+
/** Stable React Flow id — namespace may be empty for virtual hubs like `user`. */
|
|
8
|
+
export declare const getBlastRadiusNodeId: (namespace: string | undefined | null, service: string) => string;
|
|
9
|
+
export declare const getBlastRadiusNodeIdFromNode: (node: Pick<InsightsBlastRadiusNode, "namespace" | "service">) => string;
|
|
10
|
+
/**
|
|
11
|
+
* Attacker: non-root node with both inbound and outbound edges (two-way traffic).
|
|
12
|
+
* Prefer a node that is reciprocal with the root when several qualify.
|
|
13
|
+
*/
|
|
14
|
+
export declare const findAttackerNodeId: (rootId: string, edges: Array<{
|
|
15
|
+
source: string;
|
|
16
|
+
target: string;
|
|
17
|
+
}>) => string | null;
|
|
18
|
+
export declare const buildBlastRadiusNodes: (subgraph: InsightsBlastRadiusSubgraph, attackerId: string | null) => BlastRadiusServiceNode[];
|
|
19
|
+
export declare const buildBlastRadiusEdges: (subgraph: InsightsBlastRadiusSubgraph, theme: DefaultTheme, nodeIds: Set<string>, attackerId: string | null) => Edge<BlastRadiusEdgeData>[];
|
|
20
|
+
/**
|
|
21
|
+
* Center-out layout: root in the middle, callers fan left, callees fan right.
|
|
22
|
+
* Keeps the graph wide/short to match the blast-radius frame (unlike service-map's vertical fan).
|
|
23
|
+
* The attacker is pulled out of the L/R fans and parked next to its connected targets.
|
|
24
|
+
*/
|
|
25
|
+
export declare const getBlastRadiusLayout: (nodes: BlastRadiusServiceNode[], edges: Edge[]) => {
|
|
26
|
+
nodes: BlastRadiusServiceNode[];
|
|
27
|
+
edges: Edge[];
|
|
28
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import '@xyflow/react/dist/style.css';
|
|
3
|
+
import type { InsightsBlastRadiusSubgraph } from '../../../../../../types';
|
|
4
|
+
export interface AnomalyBlastRadiusProps {
|
|
5
|
+
blastRadius?: InsightsBlastRadiusSubgraph;
|
|
6
|
+
}
|
|
7
|
+
export declare const AnomalyBlastRadius: FC<AnomalyBlastRadiusProps>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type Node } from '@xyflow/react';
|
|
2
|
+
export declare enum BlastRadiusNodeTypes {
|
|
3
|
+
Service = "blast-radius-service"
|
|
4
|
+
}
|
|
5
|
+
export declare enum BlastRadiusEdgeTypes {
|
|
6
|
+
Animated = "blast-radius-animated"
|
|
7
|
+
}
|
|
8
|
+
export type BlastRadiusNodeData = {
|
|
9
|
+
service: string;
|
|
10
|
+
namespace: string;
|
|
11
|
+
isVirtual: boolean;
|
|
12
|
+
isRoot: boolean;
|
|
13
|
+
isAttacker: boolean;
|
|
14
|
+
isUser: boolean;
|
|
15
|
+
};
|
|
16
|
+
export type BlastRadiusEdgeData = {
|
|
17
|
+
isAttacker: boolean;
|
|
18
|
+
};
|
|
19
|
+
export type BlastRadiusServiceNode = Node<BlastRadiusNodeData, BlastRadiusNodeTypes.Service>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { TraceViewRow } from '../../../../../../components/trace-view';
|
|
2
|
+
import type { InsightsParsedOtlpTrace } from '../../../../../../functions';
|
|
3
|
+
export interface AnomalyTraceCompareResult {
|
|
4
|
+
baselineRows: TraceViewRow[];
|
|
5
|
+
observedRows: TraceViewRow[];
|
|
6
|
+
newSpanCount: number;
|
|
7
|
+
timingChangeCount: number;
|
|
8
|
+
observedDurationLabel?: string | null;
|
|
9
|
+
error?: string | null;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Map parsed baseline + anomaly OTLP spans into paired TraceView rows for the
|
|
13
|
+
* investigate-anomaly compare waterfall (new / timing / placeholder variants).
|
|
14
|
+
*/
|
|
15
|
+
export declare const buildAnomalyTraceCompareRows: (baselineTrace?: InsightsParsedOtlpTrace | null, anomalyTrace?: InsightsParsedOtlpTrace | null) => AnomalyTraceCompareResult;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import type { InsightsParsedOtlpTrace } from '../../../../../../functions';
|
|
3
|
+
export interface AnomalyTraceCompareProps {
|
|
4
|
+
baselineTrace?: InsightsParsedOtlpTrace | null;
|
|
5
|
+
anomalyTrace?: InsightsParsedOtlpTrace | null;
|
|
6
|
+
}
|
|
7
|
+
export declare const AnomalyTraceCompare: FC<AnomalyTraceCompareProps>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { type InsightsFinding } from '../../../../../types';
|
|
3
|
+
export interface AnomalyProps {
|
|
4
|
+
finding: InsightsFinding;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const Anomaly: FC<AnomalyProps>;
|
|
8
|
+
export interface RadioCardListProps {
|
|
9
|
+
options: {
|
|
10
|
+
id: string;
|
|
11
|
+
title: string;
|
|
12
|
+
description: string;
|
|
13
|
+
}[];
|
|
14
|
+
selectedId: string;
|
|
15
|
+
setSelectedId: (id: string) => void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TypographySize } from '../../../../components';
|
|
2
|
+
export declare const getSmallRichTitle: (title: string, subTitle: string) => {
|
|
3
|
+
title: string;
|
|
4
|
+
titleSize: TypographySize;
|
|
5
|
+
subTitle: string;
|
|
6
|
+
subTitleWrap: boolean;
|
|
7
|
+
subTitleSize: TypographySize;
|
|
8
|
+
textGap: number;
|
|
9
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import type { InsightsAnomalySpanHighlight } from '../../../../../../types';
|
|
3
|
+
import type { InsightsParsedOtlpTrace } from '../../../../../../functions';
|
|
4
|
+
export interface ViolationTraceViewProps {
|
|
5
|
+
evidenceTrace?: InsightsParsedOtlpTrace | null;
|
|
6
|
+
spanHighlights?: InsightsAnomalySpanHighlight[] | null;
|
|
7
|
+
}
|
|
8
|
+
export declare const ViolationTraceView: FC<ViolationTraceViewProps>;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { type InsightsApi } from '../../../contexts';
|
|
2
|
+
import { type FormatDurationAgo } from '../../../hooks';
|
|
3
|
+
import { type DefaultTheme } from 'styled-components';
|
|
4
|
+
import { type OpenInsightsDrawer } from '../insights-context';
|
|
5
|
+
import { type TableColumn, type TableRow, type HoverAction, type BadgeProps } from '../../../components';
|
|
6
|
+
import { type InsightsFinding, InsightsSeverity, InsightsViolationStatus, InsightsAnomalyStatus } from '../../../types';
|
|
7
|
+
export declare enum FindingsColumnKeys {
|
|
8
|
+
Title = "title",
|
|
9
|
+
TransactionId = "transactionId",
|
|
10
|
+
LastSeen = "lastSeen",
|
|
11
|
+
Namespace = "namespace",
|
|
12
|
+
Service = "service",
|
|
13
|
+
Kind = "kind",
|
|
14
|
+
Status = "status",
|
|
15
|
+
Score = "score",
|
|
16
|
+
Severity = "severity",
|
|
17
|
+
Occurrences = "occurrences",
|
|
18
|
+
Offending = "offending",
|
|
19
|
+
Signature = "signature",
|
|
20
|
+
RuleKey = "ruleKey",
|
|
21
|
+
ScopeKey = "scopeKey"
|
|
22
|
+
}
|
|
23
|
+
export type FindingsServiceGroup = {
|
|
24
|
+
service: string;
|
|
25
|
+
namespace: string;
|
|
26
|
+
occurrences: number;
|
|
27
|
+
lastSeen: string;
|
|
28
|
+
findings: InsightsFinding[];
|
|
29
|
+
};
|
|
30
|
+
/** Stable drawer/table id — anomalies: transactionId+signature; violations: scopeKey+ruleKey+offending. */
|
|
31
|
+
export declare const getFindingId: (finding: InsightsFinding) => string;
|
|
32
|
+
export declare const findFindingById: (findings: InsightsFinding[] | undefined, id: string) => InsightsFinding | undefined;
|
|
33
|
+
export declare const isSameFinding: (a: InsightsFinding, b: InsightsFinding) => boolean;
|
|
34
|
+
export declare enum FindingsResolutionAction {
|
|
35
|
+
Dismiss = "dismiss",
|
|
36
|
+
Allow = "allow"
|
|
37
|
+
}
|
|
38
|
+
export declare const isFindingAlreadyResolved: (finding: InsightsFinding, action: FindingsResolutionAction) => boolean;
|
|
39
|
+
export declare const areAllFindingsAlreadyResolved: (findings: InsightsFinding[], action: FindingsResolutionAction) => boolean;
|
|
40
|
+
/** Dismiss/allow a mixed findings selection: anomalies use resolve, violations use guardrail actions. */
|
|
41
|
+
export declare const applyFindingsResolution: (insightsApi: InsightsApi, findings: InsightsFinding[], action: FindingsResolutionAction) => Promise<void>;
|
|
42
|
+
export declare const getFindingsRowActions: (row: TableRow, openDrawer: OpenInsightsDrawer) => HoverAction[];
|
|
43
|
+
export declare const FINDINGS_TABLE_COLUMNS: TableColumn[];
|
|
44
|
+
export declare const FINDINGS_GROUP_BY_SERVICE_COLUMNS: TableColumn[];
|
|
45
|
+
export declare const getCountsForFindings: (findings?: InsightsFinding[]) => {
|
|
46
|
+
open: number;
|
|
47
|
+
violations: number;
|
|
48
|
+
anomalies: number;
|
|
49
|
+
critical: number;
|
|
50
|
+
high: number;
|
|
51
|
+
medium: number;
|
|
52
|
+
low: number;
|
|
53
|
+
};
|
|
54
|
+
export declare const getBadgePropsForSeverity: (theme: DefaultTheme, severity: InsightsSeverity) => BadgeProps;
|
|
55
|
+
export declare const getBadgePropsForStatus: (theme: DefaultTheme, status: InsightsViolationStatus | InsightsAnomalyStatus) => BadgeProps;
|
|
56
|
+
export declare const getTableRowsForFindings: (theme: DefaultTheme, formatDurationAgo: FormatDurationAgo, findings?: InsightsFinding[], limit?: number, selectedFindings?: InsightsFinding[], toggleSelection?: (finding: InsightsFinding, selected: boolean) => void) => TableRow[];
|
|
57
|
+
export declare const getTableRowsForFindingsGroupedByService: (theme: DefaultTheme, formatDurationAgo: FormatDurationAgo, openDrawer: OpenInsightsDrawer, groups: FindingsServiceGroup[], selectedFindings?: InsightsFinding[], toggleSelection?: (finding: InsightsFinding, selected: boolean) => void) => TableRow[];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import type { InsightsFinding } from '../../../../types';
|
|
3
|
+
import { ButtonProps } from '../../../../components';
|
|
4
|
+
import { FindingsResolutionAction } from '../helpers';
|
|
5
|
+
export interface ResolveFindingsProps {
|
|
6
|
+
actionType: FindingsResolutionAction;
|
|
7
|
+
selectedFindings: InsightsFinding[];
|
|
8
|
+
onDone?: () => void;
|
|
9
|
+
buttonProps?: Omit<ButtonProps, 'onClick' | 'loading' | 'disabled'>;
|
|
10
|
+
}
|
|
11
|
+
export declare const ResolveFindings: FC<ResolveFindingsProps>;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import React, { type PropsWithChildren } from 'react';
|
|
2
|
+
export declare enum InsightsDrawerType {
|
|
3
|
+
Anomaly = "anomaly",
|
|
4
|
+
Violation = "violation",
|
|
5
|
+
Transaction = "transaction"
|
|
6
|
+
}
|
|
7
|
+
type DrawerIsOpenFor = {
|
|
8
|
+
type: InsightsDrawerType | null;
|
|
9
|
+
id: string | null;
|
|
10
|
+
};
|
|
11
|
+
export type OpenInsightsDrawer = (type: InsightsDrawerType, id: string) => void;
|
|
12
|
+
export type CloseInsightsDrawer = () => void;
|
|
13
|
+
export declare enum InsightsModalType {
|
|
14
|
+
JsonCode = "jsonCode",
|
|
15
|
+
TraceView = "traceView"
|
|
16
|
+
}
|
|
17
|
+
type ModalIsOpenFor = {
|
|
18
|
+
type: InsightsModalType | null;
|
|
19
|
+
payload?: {
|
|
20
|
+
jsonCode?: string | null;
|
|
21
|
+
transactionId?: string | null;
|
|
22
|
+
traceId?: string | null;
|
|
23
|
+
} | null;
|
|
24
|
+
};
|
|
25
|
+
export type OpenInsightsModal = (type: InsightsModalType, payload?: ModalIsOpenFor['payload']) => void;
|
|
26
|
+
export type CloseInsightsModal = () => void;
|
|
27
|
+
export declare const InsightsContext: React.Context<{
|
|
28
|
+
drawerIsOpenFor: DrawerIsOpenFor;
|
|
29
|
+
openDrawer: OpenInsightsDrawer;
|
|
30
|
+
closeDrawer: CloseInsightsDrawer;
|
|
31
|
+
modalIsOpenFor: ModalIsOpenFor;
|
|
32
|
+
openModal: OpenInsightsModal;
|
|
33
|
+
closeModal: CloseInsightsModal;
|
|
34
|
+
}>;
|
|
35
|
+
export declare const InsightsContextProvider: ({ children }: PropsWithChildren) => React.JSX.Element;
|
|
36
|
+
export declare const useInsightsContext: () => {
|
|
37
|
+
drawerIsOpenFor: DrawerIsOpenFor;
|
|
38
|
+
openDrawer: OpenInsightsDrawer;
|
|
39
|
+
closeDrawer: CloseInsightsDrawer;
|
|
40
|
+
modalIsOpenFor: ModalIsOpenFor;
|
|
41
|
+
openModal: OpenInsightsModal;
|
|
42
|
+
closeModal: CloseInsightsModal;
|
|
43
|
+
};
|
|
44
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type ReactNode, type CSSProperties, type FC } from 'react';
|
|
2
|
+
import { ActionsProps, type RichTitleProps } from '../../../../snippets';
|
|
3
|
+
import { type TableColumn, type TableRow, type TextCardProps, type TableProps } from '../../../../components';
|
|
4
|
+
interface ContainedTableAndHeadingProps {
|
|
5
|
+
richTitle: RichTitleProps;
|
|
6
|
+
textCards: TextCardProps[];
|
|
7
|
+
tableColumns: TableColumn[];
|
|
8
|
+
tableRows: TableRow[];
|
|
9
|
+
getRowActions?: TableProps['getRowActions'];
|
|
10
|
+
/** Remount the table when this changes (e.g. all vs group-by-service) so virtualized rows don't leak across modes. */
|
|
11
|
+
tableKey?: string | number;
|
|
12
|
+
tableMaxHeight?: CSSProperties['maxHeight'];
|
|
13
|
+
tableWithCheckboxes?: boolean;
|
|
14
|
+
isLoading?: boolean;
|
|
15
|
+
actions?: ActionsProps['actions'];
|
|
16
|
+
children?: ReactNode;
|
|
17
|
+
}
|
|
18
|
+
export declare const ContainedTableAndHeading: FC<ContainedTableAndHeadingProps>;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const TITLE_SETTINGS_MENU = "Settings Menu";
|
|
2
|
+
export declare const TITLE_CATEGORY_THREAT_DETECTION = "Threat detection";
|
|
3
|
+
export declare const TITLE_CATEGORY_LEARNING = "Learning";
|
|
4
|
+
export declare const TITLE_CATEGORY_ADVANCED = "Advanced";
|
|
5
|
+
export declare const TITLE_MENU_DETECTION = "Detection";
|
|
6
|
+
export declare const DESC_MENU_DETECTION = "When a finding fires";
|
|
7
|
+
export declare const TITLE_MENU_GUARDRAILS = "Guardrails";
|
|
8
|
+
export declare const DESC_MENU_GUARDRAILS = "L7 allowlist rules (Enforce / Suggest)";
|
|
9
|
+
export declare const TITLE_MENU_LEARNING = "Learning";
|
|
10
|
+
export declare const DESC_MENU_LEARNING = "Control baseline learning";
|
|
11
|
+
export declare const TITLE_MENU_SYSTEM = "System";
|
|
12
|
+
export declare const DESC_MENU_SYSTEM = "Sampling, retention, capacity";
|
|
13
|
+
export declare const DESC_PANEL_SYSTEM = "Engine-wide operational configuration. Detection thresholds and learning rules live on their own tabs.";
|
|
14
|
+
export declare const TITLE_MENU_STORAGE = "Storage";
|
|
15
|
+
export declare const DESC_MENU_STORAGE = "ClickHouse health";
|
|
16
|
+
export declare const LABEL_COMING_SOON = "Coming soon";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type FC, type ReactNode } from 'react';
|
|
2
|
+
import type { SVG } from '../../../../types';
|
|
3
|
+
export interface SettingsContentPanelProps {
|
|
4
|
+
icon?: SVG;
|
|
5
|
+
title: string;
|
|
6
|
+
/** Optional count badge shown next to the title. */
|
|
7
|
+
count?: number;
|
|
8
|
+
description?: string;
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
}
|
|
11
|
+
export declare const SettingsContentPanel: FC<SettingsContentPanelProps>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { SVG } from '../../../types';
|
|
2
|
+
export declare enum SettingsMenuItemId {
|
|
3
|
+
Detection = "detection",
|
|
4
|
+
Guardrails = "guardrails",
|
|
5
|
+
Learning = "learning",
|
|
6
|
+
System = "system",
|
|
7
|
+
Storage = "storage"
|
|
8
|
+
}
|
|
9
|
+
export declare const DEFAULT_SETTINGS_MENU_ITEM = SettingsMenuItemId.Guardrails;
|
|
10
|
+
export interface SettingsMenuItem {
|
|
11
|
+
id: SettingsMenuItemId;
|
|
12
|
+
title: string;
|
|
13
|
+
description: string;
|
|
14
|
+
panelIcon: SVG;
|
|
15
|
+
panelDescription?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface SettingsMenuCategory {
|
|
18
|
+
id: string;
|
|
19
|
+
title: string;
|
|
20
|
+
icon: SVG;
|
|
21
|
+
items: SettingsMenuItem[];
|
|
22
|
+
}
|
|
23
|
+
export declare const SETTINGS_MENU_CATEGORIES: SettingsMenuCategory[];
|
|
24
|
+
export declare const getSettingsMenuItem: (id: SettingsMenuItemId) => SettingsMenuItem | undefined;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { LABEL_DISABLED, LABEL_ENABLED } from '../../../../../constants';
|
|
2
|
+
export { LABEL_DISABLED, LABEL_ENABLED };
|
|
3
|
+
export declare const TITLE_ANOMALY_DETECTION_POLICIES = "Anomaly Detection Policies";
|
|
4
|
+
export declare const DESC_ANOMALY_DETECTION_POLICIES = "Configure when Odigos should create findings based on runtime risk signals.\nUse service overrides to adjust detection sensitivity for specific services.";
|
|
5
|
+
export declare const TITLE_DEFAULT_POLICY = "Default Policy";
|
|
6
|
+
export declare const TITLE_OVERRIDES = "Overrides";
|
|
7
|
+
export declare const TITLE_NO_OVERRIDES = "No overrides yet";
|
|
8
|
+
export declare const DESC_NO_OVERRIDES = "Add overrides to adjust detection sensitivity for specific services.";
|
|
9
|
+
export declare const BTN_ADD_OVERRIDE_POLICY = "Add override policy";
|
|
10
|
+
export declare const BTN_ADD_OVERRIDE = "Add override";
|
|
11
|
+
export declare const BTN_ADD_SELECTION = "Add selection";
|
|
12
|
+
export declare const BTN_SAVE_CHANGES = "Save Changes";
|
|
13
|
+
export declare const TITLE_CHOOSE_OVERRIDE_SCOPE = "Choose override scope";
|
|
14
|
+
export declare const DESC_CHOOSE_OVERRIDE_SCOPE = "Select where this policy should override the global detection settings.\nYou can apply it to a specific service or transaction.";
|
|
15
|
+
export declare const LABEL_GLOBAL = "Global";
|
|
16
|
+
export declare const LABEL_COMING_SOON = "Coming soon";
|
|
17
|
+
export declare const LABEL_NAME = "Name";
|
|
18
|
+
export declare const LABEL_TRIGGER_RISK_LEVEL = "Trigger when risk level is";
|
|
19
|
+
export declare const LABEL_CUSTOMIZE_SIGNAL_WEIGHTS = "Customize signal weights (advanced)";
|
|
20
|
+
export declare const LABEL_BASE_WEIGHT = "Base weight";
|
|
21
|
+
export declare const LABEL_RISK_POINTS = "Risk points";
|
|
22
|
+
export declare const TITLE_DANGEROUS_SUBCASES = "Dangerous sub-cases - added on top of the base when detected:";
|
|
23
|
+
export declare const DESC_SIGNAL_WEIGHTS_LEGEND = "Every detected signal adds its weight (points) to a 0\u2013100 risk score; the policy fires when the total reaches the threshold above. Sub-cases add on top of the base. Set any weight to 0 to mute that signal for this scope.";
|
|
24
|
+
export declare const LABEL_CHOOSE_OVERRIDE_TYPE = "Choose Override type";
|
|
25
|
+
export declare const LABEL_SELECT_SERVICE = "Select Service";
|
|
26
|
+
export declare const LABEL_SELECT_TRANSACTION = "Select Transaction";
|
|
27
|
+
export declare const LABEL_OVERRIDE_TYPE_SERVICE = "Service";
|
|
28
|
+
export declare const LABEL_OVERRIDE_TYPE_TRANSACTION = "Transaction";
|
|
29
|
+
export declare const PLACEHOLDER_SELECT_SERVICE = "Select service\u2026";
|
|
30
|
+
export declare const PLACEHOLDER_SELECT_TRANSACTION = "Select transaction\u2026";
|
|
31
|
+
export declare const LABEL_RISK_LEVEL_LOW = "Low";
|
|
32
|
+
export declare const LABEL_RISK_LEVEL_MEDIUM = "Medium";
|
|
33
|
+
export declare const LABEL_RISK_LEVEL_HIGH = "High";
|
|
34
|
+
export declare const LABEL_RISK_LEVEL_CRITICAL = "Critical";
|
|
35
|
+
export declare const getFireSummary: (fireAtScore: number, signalWeightOverrideCount: number) => string;
|
|
36
|
+
export declare const MOCK_GLOBAL_DEFAULT_ID = "global-default";
|
|
37
|
+
export declare const MOCK_GLOBAL_DEFAULT_NAME = "Global default";
|
|
38
|
+
export declare const MOCK_GLOBAL_DEFAULT_SUMMARY = "Triggers at Medium risk or higher";
|
|
39
|
+
export declare const MOCK_GLOBAL_DEFAULT_FIRE_AT_SCORE = 20;
|
|
40
|
+
export declare const MOCK_GLOBAL_DEFAULT_SIGNAL_WEIGHT_OVERRIDES = 1;
|