@odigos/ui-kit 0.0.15 → 0.0.17
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 +26 -0
- package/lib/components/data-tab/index.d.ts +17 -6
- package/lib/components/drawer/drawer-header/index.d.ts +2 -2
- package/lib/components/icon-group/index.d.ts +1 -0
- package/lib/components.js +45 -14
- package/lib/constants.js +9 -5
- package/lib/containers/data-flow-actions-menu/filters/index.d.ts +0 -3
- package/lib/containers/data-flow-actions-menu/index.d.ts +0 -3
- package/lib/containers/dropdowns/namespace-dropdown/index.d.ts +0 -3
- package/lib/containers/overview-drawer/index.d.ts +2 -2
- package/lib/containers/source-modal/index.d.ts +1 -5
- package/lib/containers/source-selection-form/index.d.ts +1 -4
- package/lib/containers/source-selection-form/{fast/list → list}/index.d.ts +0 -1
- package/lib/containers/table-cell-conditions/index.d.ts +1 -0
- package/lib/containers.js +214 -230
- package/lib/data/destinations/index.d.ts +1 -1
- package/lib/functions/get-destination-icon/index.d.ts +5 -1
- package/lib/functions.js +17 -21
- package/lib/hooks/useSourceSelectionFormData.d.ts +1 -2
- package/lib/hooks.js +10 -10
- package/lib/icons/destinations/app-dynamics-logo/index.d.ts +2 -0
- package/lib/icons/destinations/aws-cloudwatch-logo/index.d.ts +2 -0
- package/lib/icons/destinations/aws-s3-logo/index.d.ts +2 -0
- package/lib/icons/destinations/aws-xray-logo/index.d.ts +2 -0
- package/lib/icons/destinations/axiom-logo/index.d.ts +2 -0
- package/lib/icons/destinations/better-stack-logo/index.d.ts +2 -0
- package/lib/icons/destinations/blob-storage-logo/index.d.ts +2 -0
- package/lib/icons/destinations/causely-logo/index.d.ts +2 -0
- package/lib/icons/destinations/chronosphere-logo/index.d.ts +2 -0
- package/lib/icons/destinations/clickhouse-logo/index.d.ts +2 -0
- package/lib/icons/destinations/coralogix-logo/index.d.ts +2 -0
- package/lib/icons/destinations/dash0-logo/index.d.ts +2 -0
- package/lib/icons/destinations/datadog-logo/index.d.ts +2 -0
- package/lib/icons/destinations/dynatrace-logo/index.d.ts +2 -0
- package/lib/icons/destinations/elastic-apm-logo/index.d.ts +2 -0
- package/lib/icons/destinations/elastic-search-logo/index.d.ts +2 -0
- package/lib/icons/destinations/gigapipe-logo/index.d.ts +2 -0
- package/lib/icons/destinations/google-cloud-platform-logo/index.d.ts +2 -0
- package/lib/icons/destinations/google-cloud-storage-logo/index.d.ts +2 -0
- package/lib/icons/destinations/grafana-logo/index.d.ts +2 -0
- package/lib/icons/destinations/groundcover-logo/index.d.ts +2 -0
- package/lib/icons/destinations/honeycomb-logo/index.d.ts +2 -0
- package/lib/icons/destinations/hyperdx-logo/index.d.ts +2 -0
- package/lib/icons/destinations/index.d.ts +46 -0
- package/lib/icons/destinations/instana-logo/index.d.ts +2 -0
- package/lib/icons/destinations/jaeger-logo/index.d.ts +2 -0
- package/lib/icons/destinations/kloudmate-logo/index.d.ts +2 -0
- package/lib/icons/destinations/last9-logo/index.d.ts +2 -0
- package/lib/icons/destinations/lightstep-logo/index.d.ts +2 -0
- package/lib/icons/destinations/logzio-logo/index.d.ts +2 -0
- package/lib/icons/destinations/loki-logo/index.d.ts +2 -0
- package/lib/icons/destinations/lumigo-logo/index.d.ts +2 -0
- package/lib/icons/destinations/middleware-logo/index.d.ts +2 -0
- package/lib/icons/destinations/new-relic-logo/index.d.ts +2 -0
- package/lib/icons/destinations/open-telemetry-logo/index.d.ts +2 -0
- package/lib/icons/destinations/ops-verse-logo/index.d.ts +2 -0
- package/lib/icons/destinations/prometheus-logo/index.d.ts +2 -0
- package/lib/icons/destinations/qryn-logo/index.d.ts +2 -0
- package/lib/icons/destinations/quickwit-logo/index.d.ts +2 -0
- package/lib/icons/destinations/sentry-logo/index.d.ts +2 -0
- package/lib/icons/destinations/signoz-logo/index.d.ts +2 -0
- package/lib/icons/destinations/splunk-logo/index.d.ts +2 -0
- package/lib/icons/destinations/sumo-logic-logo/index.d.ts +2 -0
- package/lib/icons/destinations/tempo-logo/index.d.ts +2 -0
- package/lib/icons/destinations/traceloop-logo/index.d.ts +2 -0
- package/lib/icons/destinations/uptrace-logo/index.d.ts +2 -0
- package/lib/icons/index.d.ts +1 -0
- package/lib/icons/overview/index.d.ts +1 -0
- package/lib/icons/overview/namespaces-icon/index.d.ts +2 -0
- package/lib/icons/programming-languages/index.d.ts +0 -1
- package/lib/icons.js +40 -8
- package/lib/index-B72aw6tI.js +23 -0
- package/lib/{index-D_Qn2U89.js → index-BJxaoI0G.js} +1 -8
- package/lib/{index-BtuW12KL.js → index-BQW5EUgp.js} +74 -8
- package/lib/index-BQs4sULy.js +32 -0
- package/lib/index-BVVVevuY.js +100 -0
- package/lib/index-BWqrekK4.js +11 -0
- package/lib/{index-zMKRaKMY.js → index-BiNX-Cge.js} +119 -156
- package/lib/{index-9ObpINp4.js → index-BsH_egEe.js} +15 -6
- package/lib/{index-CYn62h8x.js → index-BxQTUOME.js} +10 -12
- package/lib/index-C1PCuZgw.js +18 -0
- package/lib/{index-Db_ZDrEr.js → index-C3nz3TIx.js} +6 -8
- package/lib/{index-BGlk5VhF.js → index-CIXQeSHu.js} +1 -10
- package/lib/index-CIgHU72d.js +52 -0
- package/lib/index-DB8Djrsy.js +487 -0
- package/lib/index-DbfrGXPH.js +8 -0
- package/lib/{index-CJKFedQi.js → index-G4WmxXds.js} +4 -21
- package/lib/{index-7-KCQK-x.js → index-Hz7AAE0t.js} +1 -1
- package/lib/{index-3KUV6Vlt.js → index-KOMAv-TS.js} +6 -10
- package/lib/index-RBS1MqCQ.js +37 -0
- package/lib/react-CjImwkhV.js +44 -0
- package/lib/store/useEntityStore.d.ts +4 -2
- package/lib/store/useSetupStore.d.ts +2 -3
- package/lib/store.js +6 -3
- package/lib/theme.js +86 -3
- package/lib/types/common/index.d.ts +1 -0
- package/lib/types/destinations/index.d.ts +50 -3
- package/lib/types.js +6 -163
- package/lib/useDarkMode-DxhIuVNi.js +201 -0
- package/lib/useSelectedStore-93bIo1kE.js +97 -0
- package/lib/useSetupStore-CoYx1UQw.js +211 -0
- package/lib/{useTransition-CFmm4scp.js → useTimeAgo-weEj7br6.js} +544 -113
- package/lib/useTransition-D0wUpPGk.js +128 -0
- package/package.json +13 -12
- package/lib/components/auto-complete-input/auto-complete-input.stories.d.ts +0 -9
- package/lib/components/badge/badge.stories.d.ts +0 -13
- package/lib/components/button/button.stories.d.ts +0 -9
- package/lib/components/cancel-warning/cancel-warning.stories.d.ts +0 -9
- package/lib/components/checkbox/checkbox.stories.d.ts +0 -9
- package/lib/components/code/code.stories.d.ts +0 -9
- package/lib/components/condition-details/condition-details.stories.d.ts +0 -14
- package/lib/components/data-card/data-card.stories.d.ts +0 -10
- package/lib/components/data-tab/data-tab.stories.d.ts +0 -15
- package/lib/components/delete-warning/delete-warning.stories.d.ts +0 -9
- package/lib/components/describe-row/describe-row.stories.d.ts +0 -9
- package/lib/components/divider/divider.stories.d.ts +0 -9
- package/lib/components/docs-button/docs-button.stories.d.ts +0 -9
- package/lib/components/drawer/drawer.stories.d.ts +0 -10
- package/lib/components/dropdown/dropdown.stories.d.ts +0 -10
- package/lib/components/error-boundary/error-boundary.stories.d.ts +0 -9
- package/lib/components/extend-arrow/extend-arrow.stories.d.ts +0 -9
- package/lib/components/fade-loader/fade-loader.stories.d.ts +0 -9
- package/lib/components/field-error/field-error.stories.d.ts +0 -9
- package/lib/components/field-label/field-label.stories.d.ts +0 -9
- package/lib/components/header/header.stories.d.ts +0 -9
- package/lib/components/icon-button/icon-button.stories.d.ts +0 -9
- package/lib/components/icon-group/icon-group.stories.d.ts +0 -14
- package/lib/components/icon-title-badge/icon-title-badge.stories.d.ts +0 -9
- package/lib/components/icon-wrapped/icon-wrapped.stories.d.ts +0 -10
- package/lib/components/icons-nav/icons-nav.stories.d.ts +0 -9
- package/lib/components/image-controlled/image-controlled.stories.d.ts +0 -9
- package/lib/components/input/input.stories.d.ts +0 -9
- package/lib/components/input-list/input-list.stories.d.ts +0 -9
- package/lib/components/input-table/input-table.stories.d.ts +0 -9
- package/lib/components/interactive-table/interactive-table.stories.d.ts +0 -12
- package/lib/components/key-value-input-list/key-value-input-list.stories.d.ts +0 -9
- package/lib/components/modal/modal.stories.d.ts +0 -9
- package/lib/components/monitors-checkboxes/monitors-checkboxes.stories.d.ts +0 -9
- package/lib/components/monitors-icons/monitors-icons.stories.d.ts +0 -9
- package/lib/components/navigation-buttons/navigation-buttons.stories.d.ts +0 -9
- package/lib/components/no-data-found/no-data-found.stories.d.ts +0 -9
- package/lib/components/notification-note/notification-note.stories.d.ts +0 -10
- package/lib/components/section-title/section-title.stories.d.ts +0 -9
- package/lib/components/segment/segment.stories.d.ts +0 -9
- package/lib/components/skeleton-loader/skeleton-loader.stories.d.ts +0 -9
- package/lib/components/status/status.stories.d.ts +0 -9
- package/lib/components/stepper/stepper.stories.d.ts +0 -9
- package/lib/components/text/text.stories.d.ts +0 -9
- package/lib/components/textarea/textarea.stories.d.ts +0 -9
- package/lib/components/toggle/toggle.stories.d.ts +0 -9
- package/lib/components/tooltip/tooltip.stories.d.ts +0 -9
- package/lib/components/trace-loader/trace-loader.stories.d.ts +0 -9
- package/lib/components/warning-modal/warning-modal.stories.d.ts +0 -9
- package/lib/containers/action-drawer/action-drawer.stories.d.ts +0 -9
- package/lib/containers/action-form/action-form.stories.d.ts +0 -9
- package/lib/containers/action-modal/action-modal.stories.d.ts +0 -9
- package/lib/containers/action-table/action-table.stories.d.ts +0 -9
- package/lib/containers/await-pipeline/await-pipeline.stories.d.ts +0 -9
- package/lib/containers/compute-platform-select/compute-platform-select.stories.d.ts +0 -9
- package/lib/containers/compute-platforms/compute-platforms.stories.d.ts +0 -9
- package/lib/containers/compute-platforms-actions-menu/compute-platforms-actions-menu.stories.d.ts +0 -9
- package/lib/containers/data-flow/data-flow.stories.d.ts +0 -9
- package/lib/containers/data-flow-actions-menu/data-flow.stories.d.ts +0 -11
- package/lib/containers/destination-drawer/destination-drawer.stories.d.ts +0 -9
- package/lib/containers/destination-form/destination-form.stories.d.ts +0 -9
- package/lib/containers/destination-modal/destination-modal.stories.d.ts +0 -9
- package/lib/containers/destination-selection-form/destination-selection-form.stories.d.ts +0 -9
- package/lib/containers/destination-table/destination-table.stories.d.ts +0 -9
- package/lib/containers/dropdowns/connection-status-dropdown/connection-status-dropdown.stories.d.ts +0 -9
- package/lib/containers/dropdowns/connection-type-dropdown/connection-type-dropdown.stories.d.ts +0 -9
- package/lib/containers/dropdowns/error-dropdown/error-dropdown.stories.d.ts +0 -9
- package/lib/containers/dropdowns/kind-dropdown/error-dropdown.stories.d.ts +0 -9
- package/lib/containers/dropdowns/language-dropdown/language-dropdown.stories.d.ts +0 -9
- package/lib/containers/dropdowns/monitor-dropdown/monitor-dropdown.stories.d.ts +0 -9
- package/lib/containers/dropdowns/namespace-dropdown/namespace-dropdown.stories.d.ts +0 -9
- package/lib/containers/instrumentation-rule-drawer/instrumentation-rule-drawer.stories.d.ts +0 -9
- package/lib/containers/instrumentation-rule-form/instrumentation-rule-form.stories.d.ts +0 -9
- package/lib/containers/instrumentation-rule-modal/instrumentation-rule-modal.stories.d.ts +0 -9
- package/lib/containers/instrumentation-rule-table/instrumentation-rule-table.stories.d.ts +0 -9
- package/lib/containers/multi-source-control/multi-source-control.stories.d.ts +0 -9
- package/lib/containers/notification-manager/notification-manager.stories.d.ts +0 -9
- package/lib/containers/overview-drawer/overview-drawer.stories.d.ts +0 -9
- package/lib/containers/side-nav/side-nav.stories.d.ts +0 -9
- package/lib/containers/slack-invite/slack-invite.stories.d.ts +0 -9
- package/lib/containers/source-drawer/source-drawer.stories.d.ts +0 -9
- package/lib/containers/source-form/source-form.stories.d.ts +0 -9
- package/lib/containers/source-modal/source-modal.stories.d.ts +0 -9
- package/lib/containers/source-selection-form/fast/index.d.ts +0 -7
- package/lib/containers/source-selection-form/simple/controls/index.d.ts +0 -11
- package/lib/containers/source-selection-form/simple/index.d.ts +0 -7
- package/lib/containers/source-selection-form/simple/list/index.d.ts +0 -9
- package/lib/containers/source-selection-form/source-selection-form.stories.d.ts +0 -9
- package/lib/containers/source-table/source-table.stories.d.ts +0 -9
- package/lib/containers/system-overview/system-overview.stories.d.ts +0 -9
- package/lib/containers/table-cell-conditions/table-cell-conditions.stories.d.ts +0 -9
- package/lib/containers/toast-list/toast-list.stories.d.ts +0 -9
- package/lib/containers/toggle-dark-mode/toggle-dark-mode.stories.d.ts +0 -9
- package/lib/icons/actions/add-cluster-info-icon/add-cluster-info-icon.stories.d.ts +0 -8
- package/lib/icons/actions/delete-attribute-icon/delete-attribute-icon.stories.d.ts +0 -8
- package/lib/icons/actions/pii-masking-icon/pii-masking-icon.stories.d.ts +0 -8
- package/lib/icons/actions/rename-attribute-icon/rename-attribute-icon.stories.d.ts +0 -8
- package/lib/icons/actions/sampler-icon/sampler-icon.stories.d.ts +0 -8
- package/lib/icons/brand/odigos-logo/odigos-logo.stories.d.ts +0 -8
- package/lib/icons/brand/odigos-logo-text/odigos-logo-text.stories.d.ts +0 -8
- package/lib/icons/common/arrow-icon/arrow-icon.stories.d.ts +0 -8
- package/lib/icons/common/code-brackets-icon/code-brackets-icon.stories.d.ts +0 -8
- package/lib/icons/common/code-icon/code-icon.stories.d.ts +0 -8
- package/lib/icons/common/command-icon/command-icon.stories.d.ts +0 -8
- package/lib/icons/common/copy-icon/copy-icon.stories.d.ts +0 -8
- package/lib/icons/common/edit-icon/edit-icon.stories.d.ts +0 -8
- package/lib/icons/common/extend-arrow-icon/extend-arrow-icon.stories.d.ts +0 -8
- package/lib/icons/common/filter-icon/filter-icon.stories.d.ts +0 -8
- package/lib/icons/common/folder-icon/folder-icon.stories.d.ts +0 -8
- package/lib/icons/common/image-error-icon/image-error-icon.stories.d.ts +0 -8
- package/lib/icons/common/key-icon/key-icon.stories.d.ts +0 -8
- package/lib/icons/common/list-icon/list-icon.stories.d.ts +0 -8
- package/lib/icons/common/no-data-icon/no-data-icon.stories.d.ts +0 -8
- package/lib/icons/common/notebook-icon/notebook-icon.stories.d.ts +0 -8
- package/lib/icons/common/notification-icon/notification-icon.stories.d.ts +0 -8
- package/lib/icons/common/search-icon/search-icon.stories.d.ts +0 -8
- package/lib/icons/common/sort-arrows-icon/sort-arrows-icon.stories.d.ts +0 -8
- package/lib/icons/common/terminal-icon/terminal-icon.stories.d.ts +0 -8
- package/lib/icons/common/trash-icon/trash-icon.stories.d.ts +0 -8
- package/lib/icons/common/x-icon/x-icon.stories.d.ts +0 -8
- package/lib/icons/compute-platform/k8s-logo/k8s-logo.stories.d.ts +0 -8
- package/lib/icons/compute-platform/vm-logo/vm-logo.stories.d.ts +0 -8
- package/lib/icons/instrumentation-rules/code-attributes-icon/code-attributes-icon.stories.d.ts +0 -8
- package/lib/icons/instrumentation-rules/payload-collection-icon/payload-collection-icon.stories.d.ts +0 -8
- package/lib/icons/math/minus-icon/minus-icon.stories.d.ts +0 -8
- package/lib/icons/math/plus-icon/plus-icon.stories.d.ts +0 -8
- package/lib/icons/monitors/logs-icon/logs-icon.stories.d.ts +0 -8
- package/lib/icons/monitors/metrics-icon/metrics-icon.stories.d.ts +0 -8
- package/lib/icons/monitors/traces-icon/traces-icon.stories.d.ts +0 -8
- package/lib/icons/on-off/eye-closed-icon/eye-closed-icon.stories.d.ts +0 -8
- package/lib/icons/on-off/eye-open-icon/eye-open-icon.stories.d.ts +0 -8
- package/lib/icons/on-off/light-off-icon/light-off-icon.stories.d.ts +0 -8
- package/lib/icons/on-off/light-on-icon/light-on-icon.stories.d.ts +0 -8
- package/lib/icons/on-off/moon-icon/moon-icon.stories.d.ts +0 -8
- package/lib/icons/on-off/sun-icon/sun-icon.stories.d.ts +0 -8
- package/lib/icons/overview/actions-icon/actions-icon.stories.d.ts +0 -8
- package/lib/icons/overview/connections-icon/connections-icon.stories.d.ts +0 -8
- package/lib/icons/overview/destinations-icon/destinations-icon.stories.d.ts +0 -8
- package/lib/icons/overview/overview-icon/overview-icon.stories.d.ts +0 -8
- package/lib/icons/overview/rules-icon/rules-icon.stories.d.ts +0 -8
- package/lib/icons/overview/service-map-icon/service-map-icon.stories.d.ts +0 -8
- package/lib/icons/overview/sources-icon/sources-icon.stories.d.ts +0 -8
- package/lib/icons/overview/trace-view-icon/trace-view-icon.stories.d.ts +0 -8
- package/lib/icons/programming-languages/c-plus-plus-logo/c-plus-plus-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/c-sharp-logo/c-sharp-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/dotnet-logo/dotnet-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/elixir-logo/elixir-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/go-logo/go-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/java-logo/java-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/kafka-logo/kafka-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/mysql-logo/mysql-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/nginx-logo/nginx-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/nodejs-logo/nodejs-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/php-logo/php-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/postgres-logo/postgres-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/python-logo/python-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/redis-logo/redis-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/ruby-logo/ruby-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/rust-logo/rust-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/swift-logo/swift-logo.stories.d.ts +0 -8
- package/lib/icons/social/slack-logo/slack-logo.stories.d.ts +0 -8
- package/lib/icons/status/check-circled-icon/check-circled-icon.stories.d.ts +0 -8
- package/lib/icons/status/check-icon/check-icon.stories.d.ts +0 -8
- package/lib/icons/status/cross-circled-icon/cross-circled-icon.stories.d.ts +0 -8
- package/lib/icons/status/cross-icon/cross-icon.stories.d.ts +0 -8
- package/lib/icons/status/error-round-icon/error-round-icon.stories.d.ts +0 -8
- package/lib/icons/status/error-triangle-icon/error-triangle-icon.stories.d.ts +0 -8
- package/lib/icons/status/info-icon/info-icon.stories.d.ts +0 -8
- package/lib/icons/status/warning-triangle-icon/warning-triangle-icon.stories.d.ts +0 -8
- package/lib/index-BjJpYtF1.js +0 -42
- package/lib/index-DYEcdkUF.js +0 -671
- package/lib/useSourceSelectionFormData-BnlRp8m3.js +0 -561
- /package/lib/containers/source-selection-form/{fast/controls → controls}/index.d.ts +0 -0
- /package/lib/icons/{programming-languages → destinations}/kafka-logo/index.d.ts +0 -0
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import '
|
|
4
|
-
import './index-DYEcdkUF.js';
|
|
5
|
-
import 'styled-components';
|
|
1
|
+
import { g as getActionIcon, a as getInstrumentationRuleIcon } from './index-C3nz3TIx.js';
|
|
2
|
+
import { S as SignalType } from './index-DbfrGXPH.js';
|
|
3
|
+
import { A as ActionType, I as InstrumentationRuleType } from './index-RBS1MqCQ.js';
|
|
6
4
|
|
|
7
5
|
const ACTION_OPTIONS = [
|
|
8
6
|
{
|
|
@@ -110,19 +108,4 @@ const INSTRUMENTATION_RULE_OPTIONS = [
|
|
|
110
108
|
},
|
|
111
109
|
];
|
|
112
110
|
|
|
113
|
-
|
|
114
|
-
{
|
|
115
|
-
id: SignalType.Logs,
|
|
116
|
-
value: 'Logs',
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
id: SignalType.Metrics,
|
|
120
|
-
value: 'Metrics',
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
id: SignalType.Traces,
|
|
124
|
-
value: 'Traces',
|
|
125
|
-
},
|
|
126
|
-
];
|
|
127
|
-
|
|
128
|
-
export { ACTION_OPTIONS as A, INSTRUMENTATION_RULE_OPTIONS as I, MONITORS_OPTIONS as M };
|
|
111
|
+
export { ACTION_OPTIONS as A, INSTRUMENTATION_RULE_OPTIONS as I };
|
|
@@ -35,13 +35,6 @@ const FilterIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
|
|
|
35
35
|
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M5.33341 8H10.6667M7.33341 12H8.66675M2.66675 4H13.3334' })));
|
|
36
36
|
};
|
|
37
37
|
|
|
38
|
-
const FolderIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
|
|
39
|
-
const theme = Theme.useTheme();
|
|
40
|
-
const fill = f || theme.text.secondary;
|
|
41
|
-
return (React.createElement("svg", { width: size * (18 / 19), height: size, viewBox: '0 0 18 19', xmlns: 'http://www.w3.org/2000/svg', fill: 'none', style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
|
|
42
|
-
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M1.5 7.96504C1.5 6.28488 1.5 5.4448 1.82698 4.80307C2.1146 4.23858 2.57354 3.77964 3.13803 3.49202C3.77976 3.16504 4.61984 3.16504 6.3 3.16504H6.53667C6.88887 3.16504 7.06498 3.16504 7.22483 3.21358C7.36634 3.25656 7.49799 3.32702 7.61225 3.42093C7.74131 3.527 7.83899 3.67353 8.03436 3.96658L8.46564 4.6135C8.66101 4.90655 8.75869 5.05308 8.88775 5.15915C9.00201 5.25306 9.13366 5.32352 9.27517 5.36649C9.43502 5.41504 9.61113 5.41504 9.96333 5.41504H11.7C13.3802 5.41504 14.2202 5.41504 14.862 5.74202C15.4265 6.02964 15.8854 6.48858 16.173 7.05307C16.5 7.6948 16.5 8.53488 16.5 10.215V11.865C16.5 13.5452 16.5 14.3853 16.173 15.027C15.8854 15.5915 15.4265 16.0504 14.862 16.3381C14.2202 16.665 13.3802 16.665 11.7 16.665H6.3C4.61984 16.665 3.77976 16.665 3.13803 16.3381C2.57354 16.0504 2.1146 15.5915 1.82698 15.027C1.5 14.3853 1.5 13.5452 1.5 11.865V7.96504Z' })));
|
|
43
|
-
};
|
|
44
|
-
|
|
45
38
|
const KeyIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
|
|
46
39
|
const theme = Theme.useTheme();
|
|
47
40
|
const fill = f || theme.text.secondary;
|
|
@@ -66,8 +59,11 @@ const TerminalIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
|
|
|
66
59
|
const OverviewIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
|
|
67
60
|
const theme = Theme.useTheme();
|
|
68
61
|
const fill = f || theme.text.secondary;
|
|
69
|
-
return (React.createElement("svg", { width: size
|
|
70
|
-
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: '
|
|
62
|
+
return (React.createElement("svg", { width: size, height: size, viewBox: '0 0 16 16', xmlns: 'http://www.w3.org/2000/svg', fill: 'none', style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
|
|
63
|
+
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M2.00015 4.13333C2.00015 3.3866 2.00015 3.01323 2.14548 2.72801C2.27331 2.47713 2.47728 2.27316 2.72816 2.14532C3.01338 2 3.38675 2 4.13348 2H4.53348C5.28022 2 5.65359 2 5.93881 2.14532C6.18969 2.27316 6.39366 2.47713 6.52149 2.72801C6.66682 3.01323 6.66682 3.3866 6.66682 4.13333V4.53333C6.66682 5.28007 6.66682 5.65344 6.52149 5.93865C6.39366 6.18954 6.18969 6.39351 5.93881 6.52134C5.65359 6.66667 5.28022 6.66667 4.53348 6.66667H4.13348C3.38675 6.66667 3.01338 6.66667 2.72816 6.52134C2.47728 6.39351 2.27331 6.18954 2.14548 5.93865C2.00015 5.65344 2.00015 5.28007 2.00015 4.53333V4.13333Z' }),
|
|
64
|
+
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M2.54215 13.1752C2.01412 12.6471 1.75011 12.3831 1.6512 12.0787C1.56418 11.8109 1.56418 11.5224 1.6512 11.2546C1.75011 10.9502 2.01412 10.6862 2.54215 10.1582L2.82499 9.87533C3.35301 9.34731 3.61702 9.0833 3.92146 8.98438C4.18925 8.89737 4.47772 8.89737 4.74551 8.98438C5.04995 9.0833 5.31396 9.34731 5.84198 9.87533L6.12482 10.1582C6.65284 10.6862 6.91686 10.9502 7.01577 11.2546C7.10278 11.5224 7.10278 11.8109 7.01577 12.0787C6.91686 12.3831 6.65284 12.6471 6.12482 13.1752L5.84198 13.458C5.31396 13.986 5.04995 14.25 4.74551 14.349C4.47772 14.436 4.18925 14.436 3.92146 14.349C3.61702 14.25 3.35301 13.986 2.82499 13.458L2.54215 13.1752Z' }),
|
|
65
|
+
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M9.33348 4.33333C9.33348 3.04467 10.3782 2 11.6668 2C12.9555 2 14.0002 3.04467 14.0002 4.33333C14.0002 5.622 12.9555 6.66667 11.6668 6.66667C10.3782 6.66667 9.33348 5.622 9.33348 4.33333Z' }),
|
|
66
|
+
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M9.33348 11.4667C9.33348 10.7199 9.33348 10.3466 9.47881 10.0613C9.60664 9.81046 9.81061 9.60649 10.0615 9.47866C10.3467 9.33333 10.7201 9.33333 11.4668 9.33333H11.8668C12.6136 9.33333 12.9869 9.33333 13.2721 9.47866C13.523 9.60649 13.727 9.81046 13.8548 10.0613C14.0002 10.3466 14.0002 10.7199 14.0002 11.4667V11.8667C14.0002 12.6134 14.0002 12.9868 13.8548 13.272C13.727 13.5229 13.523 13.7268 13.2721 13.8547C12.9869 14 12.6136 14 11.8668 14H11.4668C10.7201 14 10.3467 14 10.0615 13.8547C9.81061 13.7268 9.60664 13.5229 9.47881 13.272C9.33348 12.9868 9.33348 12.6134 9.33348 11.8667V11.4667Z' })));
|
|
71
67
|
};
|
|
72
68
|
|
|
73
69
|
const SlackLogo = ({ size = 16, fill, rotate = 0, onClick }) => {
|
|
@@ -86,4 +82,4 @@ const CrossCircledIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
|
|
|
86
82
|
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M6.75049 10.0005L8.75049 8.00049M8.75049 8.00049L10.7505 6.00049M8.75049 8.00049L6.75049 6.00049M8.75049 8.00049L10.7505 10.0005M8.75039 14.1004C5.38145 14.1004 2.65039 11.3693 2.65039 8.00039C2.65039 4.63145 5.38145 1.90039 8.75039 1.90039C12.1193 1.90039 14.8504 4.63145 14.8504 8.00039C14.8504 11.3693 12.1193 14.1004 8.75039 14.1004Z' })));
|
|
87
83
|
};
|
|
88
84
|
|
|
89
|
-
export { CrossCircledIcon as C, EditIcon as E, FilterIcon as F, KeyIcon as K, NotificationIcon as N, OdigosLogoText as O, SlackLogo as S, TerminalIcon as T,
|
|
85
|
+
export { CrossCircledIcon as C, EditIcon as E, FilterIcon as F, KeyIcon as K, NotificationIcon as N, OdigosLogoText as O, SlackLogo as S, TerminalIcon as T, OverviewIcon as a };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
var ActionType;
|
|
2
|
+
(function (ActionType) {
|
|
3
|
+
ActionType["K8sAttributes"] = "K8sAttributesResolver";
|
|
4
|
+
ActionType["AddClusterInfo"] = "AddClusterInfo";
|
|
5
|
+
ActionType["DeleteAttributes"] = "DeleteAttribute";
|
|
6
|
+
ActionType["RenameAttributes"] = "RenameAttribute";
|
|
7
|
+
ActionType["ErrorSampler"] = "ErrorSampler";
|
|
8
|
+
ActionType["ProbabilisticSampler"] = "ProbabilisticSampler";
|
|
9
|
+
ActionType["LatencySampler"] = "LatencySampler";
|
|
10
|
+
ActionType["PiiMasking"] = "PiiMasking";
|
|
11
|
+
})(ActionType || (ActionType = {}));
|
|
12
|
+
|
|
13
|
+
var InstrumentationRuleType;
|
|
14
|
+
(function (InstrumentationRuleType) {
|
|
15
|
+
InstrumentationRuleType["PayloadCollection"] = "PayloadCollection";
|
|
16
|
+
InstrumentationRuleType["CodeAttributes"] = "CodeAttributes";
|
|
17
|
+
InstrumentationRuleType["UnknownType"] = "UnknownType";
|
|
18
|
+
})(InstrumentationRuleType || (InstrumentationRuleType = {}));
|
|
19
|
+
var PayloadCollectionKeyTypes;
|
|
20
|
+
(function (PayloadCollectionKeyTypes) {
|
|
21
|
+
PayloadCollectionKeyTypes["HttpRequest"] = "httpRequest";
|
|
22
|
+
PayloadCollectionKeyTypes["HttpResponse"] = "httpResponse";
|
|
23
|
+
PayloadCollectionKeyTypes["DbQuery"] = "dbQuery";
|
|
24
|
+
PayloadCollectionKeyTypes["Messaging"] = "messaging";
|
|
25
|
+
})(PayloadCollectionKeyTypes || (PayloadCollectionKeyTypes = {}));
|
|
26
|
+
// Code Attributes for Instrumentation Rules
|
|
27
|
+
var CodeAttributesKeyTypes;
|
|
28
|
+
(function (CodeAttributesKeyTypes) {
|
|
29
|
+
CodeAttributesKeyTypes["Column"] = "column";
|
|
30
|
+
CodeAttributesKeyTypes["FilePath"] = "filePath";
|
|
31
|
+
CodeAttributesKeyTypes["Function"] = "function";
|
|
32
|
+
CodeAttributesKeyTypes["LineNumber"] = "lineNumber";
|
|
33
|
+
CodeAttributesKeyTypes["Namespace"] = "namespace";
|
|
34
|
+
CodeAttributesKeyTypes["StackTrace"] = "stacktrace";
|
|
35
|
+
})(CodeAttributesKeyTypes || (CodeAttributesKeyTypes = {}));
|
|
36
|
+
|
|
37
|
+
export { ActionType as A, CodeAttributesKeyTypes as C, InstrumentationRuleType as I, PayloadCollectionKeyTypes as P };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
const createStoreImpl = (createState) => {
|
|
4
|
+
let state;
|
|
5
|
+
const listeners = /* @__PURE__ */ new Set();
|
|
6
|
+
const setState = (partial, replace) => {
|
|
7
|
+
const nextState = typeof partial === "function" ? partial(state) : partial;
|
|
8
|
+
if (!Object.is(nextState, state)) {
|
|
9
|
+
const previousState = state;
|
|
10
|
+
state = (replace != null ? replace : typeof nextState !== "object" || nextState === null) ? nextState : Object.assign({}, state, nextState);
|
|
11
|
+
listeners.forEach((listener) => listener(state, previousState));
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
const getState = () => state;
|
|
15
|
+
const getInitialState = () => initialState;
|
|
16
|
+
const subscribe = (listener) => {
|
|
17
|
+
listeners.add(listener);
|
|
18
|
+
return () => listeners.delete(listener);
|
|
19
|
+
};
|
|
20
|
+
const api = { setState, getState, getInitialState, subscribe };
|
|
21
|
+
const initialState = state = createState(setState, getState, api);
|
|
22
|
+
return api;
|
|
23
|
+
};
|
|
24
|
+
const createStore = (createState) => createState ? createStoreImpl(createState) : createStoreImpl;
|
|
25
|
+
|
|
26
|
+
const identity = (arg) => arg;
|
|
27
|
+
function useStore(api, selector = identity) {
|
|
28
|
+
const slice = React.useSyncExternalStore(
|
|
29
|
+
api.subscribe,
|
|
30
|
+
() => selector(api.getState()),
|
|
31
|
+
() => selector(api.getInitialState())
|
|
32
|
+
);
|
|
33
|
+
React.useDebugValue(slice);
|
|
34
|
+
return slice;
|
|
35
|
+
}
|
|
36
|
+
const createImpl = (createState) => {
|
|
37
|
+
const api = createStore(createState);
|
|
38
|
+
const useBoundStore = (selector) => useStore(api, selector);
|
|
39
|
+
Object.assign(useBoundStore, api);
|
|
40
|
+
return useBoundStore;
|
|
41
|
+
};
|
|
42
|
+
const create = (createState) => createState ? createImpl(createState) : createImpl;
|
|
43
|
+
|
|
44
|
+
export { create as c };
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { type Action, type Destination, EntityTypes, type InstrumentationRule, type Source, type WorkloadId } from '@/types';
|
|
1
|
+
import { type Action, type Destination, EntityTypes, type InstrumentationRule, type Namespace, type Source, type WorkloadId } from '@/types';
|
|
2
2
|
interface IEntityState {
|
|
3
|
+
namespacesLoading: boolean;
|
|
4
|
+
namespaces: Namespace[];
|
|
3
5
|
sourcesLoading: boolean;
|
|
4
6
|
sources: Source[];
|
|
5
7
|
destinationsLoading: boolean;
|
|
@@ -10,7 +12,7 @@ interface IEntityState {
|
|
|
10
12
|
instrumentationRules: InstrumentationRule[];
|
|
11
13
|
}
|
|
12
14
|
type EntityId = string | WorkloadId;
|
|
13
|
-
type EntityItems = IEntityState['sources'] | IEntityState['destinations'] | IEntityState['actions'] | IEntityState['instrumentationRules'];
|
|
15
|
+
type EntityItems = IEntityState['namespaces'] | IEntityState['sources'] | IEntityState['destinations'] | IEntityState['actions'] | IEntityState['instrumentationRules'];
|
|
14
16
|
interface IEntityStateSetters {
|
|
15
17
|
setEntitiesLoading: (entityType: EntityTypes, bool: boolean) => void;
|
|
16
18
|
setEntities: (entityType: EntityTypes, entities: EntityItems) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type Destination, type DestinationFormData, DestinationTypes, type Source } from '@/types';
|
|
2
2
|
export interface AvailableSourcesByNamespace {
|
|
3
3
|
[namespace: string]: Pick<Source, 'name' | 'kind' | 'selected' | 'numberOfInstances'>[];
|
|
4
4
|
}
|
|
@@ -9,9 +9,8 @@ export interface NamespaceSelectionFormData {
|
|
|
9
9
|
[namespace: string]: boolean;
|
|
10
10
|
}
|
|
11
11
|
export interface StoredSetupDestination {
|
|
12
|
-
type:
|
|
12
|
+
type: DestinationTypes;
|
|
13
13
|
displayName: string;
|
|
14
|
-
imageUrl: string;
|
|
15
14
|
category: string;
|
|
16
15
|
exportedSignals: Destination['exportedSignals'];
|
|
17
16
|
destinationTypeDetails: {
|
package/lib/store.js
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
export { u as useDarkMode
|
|
2
|
-
|
|
1
|
+
export { u as useDarkMode } from './useDarkMode-DxhIuVNi.js';
|
|
2
|
+
export { u as useDrawerStore, a as useEntityStore, b as useModalStore, c as useNotificationStore, d as useSetupStore } from './useSetupStore-CoYx1UQw.js';
|
|
3
|
+
export { u as useFilterStore, a as useInstrumentStore, b as usePendingStore, c as useSelectedStore } from './useSelectedStore-93bIo1kE.js';
|
|
4
|
+
import './react-CjImwkhV.js';
|
|
3
5
|
import 'react';
|
|
4
|
-
import '
|
|
6
|
+
import './index-BQs4sULy.js';
|
|
7
|
+
import './index-BVVVevuY.js';
|
package/lib/theme.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import './
|
|
2
|
+
import { ThemeProvider, keyframes, useTheme } from 'styled-components';
|
|
3
|
+
import { u as useDarkMode } from './useDarkMode-DxhIuVNi.js';
|
|
4
|
+
import './react-CjImwkhV.js';
|
|
5
5
|
|
|
6
6
|
const baseTheme = {
|
|
7
7
|
colors: {
|
|
@@ -229,6 +229,89 @@ var opacity = /*#__PURE__*/Object.freeze({
|
|
|
229
229
|
hex: hex
|
|
230
230
|
});
|
|
231
231
|
|
|
232
|
+
const slide = {
|
|
233
|
+
in: {
|
|
234
|
+
left: keyframes `
|
|
235
|
+
from { transform: translateX(-100%); }
|
|
236
|
+
to { transform: translateX(0); }
|
|
237
|
+
`,
|
|
238
|
+
right: keyframes `
|
|
239
|
+
from { transform: translateX(100%); }
|
|
240
|
+
to { transform: translateX(0); }
|
|
241
|
+
`,
|
|
242
|
+
top: keyframes `
|
|
243
|
+
from { transform: translateY(-100%); }
|
|
244
|
+
to { transform: translateY(0); }
|
|
245
|
+
`,
|
|
246
|
+
bottom: keyframes `
|
|
247
|
+
from { transform: translateY(100%); }
|
|
248
|
+
to { transform: translateY(0); }
|
|
249
|
+
`,
|
|
250
|
+
center: keyframes `
|
|
251
|
+
from { transform: translate(-50%, 100%); }
|
|
252
|
+
to { transform: translate(-50%, -50%); }
|
|
253
|
+
`,
|
|
254
|
+
},
|
|
255
|
+
out: {
|
|
256
|
+
left: keyframes `
|
|
257
|
+
from { transform: translateX(0); }
|
|
258
|
+
to { transform: translateX(-100%); }
|
|
259
|
+
`,
|
|
260
|
+
right: keyframes `
|
|
261
|
+
from { transform: translateX(0); }
|
|
262
|
+
to { transform: translateX(100%); }
|
|
263
|
+
`,
|
|
264
|
+
top: keyframes `
|
|
265
|
+
from { transform: translateY(0); }
|
|
266
|
+
to { transform: translateY(-100%); }
|
|
267
|
+
`,
|
|
268
|
+
bottom: keyframes `
|
|
269
|
+
from { transform: translateY(0); }
|
|
270
|
+
to { transform: translateY(100%); }
|
|
271
|
+
`,
|
|
272
|
+
center: keyframes `
|
|
273
|
+
from { transform: translate(-50%, -50%); }
|
|
274
|
+
to { transform: translate(-50%, 100%); }
|
|
275
|
+
`,
|
|
276
|
+
},
|
|
277
|
+
};
|
|
278
|
+
const progress = {
|
|
279
|
+
in: keyframes `
|
|
280
|
+
from { width: 0%; }
|
|
281
|
+
to { width: 100%; }
|
|
282
|
+
`,
|
|
283
|
+
out: keyframes `
|
|
284
|
+
from { width: 100%; }
|
|
285
|
+
to { width: 0%; }
|
|
286
|
+
`,
|
|
287
|
+
};
|
|
288
|
+
const ping = keyframes `
|
|
289
|
+
0% {
|
|
290
|
+
transform: scale(1);
|
|
291
|
+
opacity: 1;
|
|
292
|
+
}
|
|
293
|
+
75%, 100% {
|
|
294
|
+
transform: scale(2);
|
|
295
|
+
opacity: 0;
|
|
296
|
+
}
|
|
297
|
+
`;
|
|
298
|
+
const shimmer = keyframes `
|
|
299
|
+
0% {
|
|
300
|
+
background-position: -500px 0;
|
|
301
|
+
}
|
|
302
|
+
100% {
|
|
303
|
+
background-position: 500px 0;
|
|
304
|
+
}
|
|
305
|
+
`;
|
|
306
|
+
|
|
307
|
+
var animations = /*#__PURE__*/Object.freeze({
|
|
308
|
+
__proto__: null,
|
|
309
|
+
ping: ping,
|
|
310
|
+
progress: progress,
|
|
311
|
+
shimmer: shimmer,
|
|
312
|
+
slide: slide
|
|
313
|
+
});
|
|
314
|
+
|
|
232
315
|
const Theme = {
|
|
233
316
|
Provider,
|
|
234
317
|
useTheme: useTheme,
|
|
@@ -1,6 +1,55 @@
|
|
|
1
1
|
import type { Comparison } from '@/functions';
|
|
2
2
|
import type { DropdownProps } from '@/components';
|
|
3
3
|
import { type Condition, FieldTypes } from '../common';
|
|
4
|
+
export declare enum DestinationTypes {
|
|
5
|
+
AppDynamics = "appdynamics",
|
|
6
|
+
Axiom = "axiom",
|
|
7
|
+
AzureBlob = "azureblob",
|
|
8
|
+
BetterStack = "betterstack",
|
|
9
|
+
Causely = "causely",
|
|
10
|
+
Chronosphere = "chronosphere",
|
|
11
|
+
ClickHouse = "clickhouse",
|
|
12
|
+
CloudWatch = "cloudwatch",
|
|
13
|
+
Coralogix = "coralogix",
|
|
14
|
+
Dash0 = "dash0",
|
|
15
|
+
Datadog = "datadog",
|
|
16
|
+
Dynatrace = "dynatrace",
|
|
17
|
+
ElasticApm = "elasticapm",
|
|
18
|
+
ElasticSearch = "elasticsearch",
|
|
19
|
+
GoogleCloud = "googlecloud",
|
|
20
|
+
GrafanaCloudLoki = "grafanacloudloki",
|
|
21
|
+
GrafanaCloudPrometheus = "grafanacloudprometheus",
|
|
22
|
+
GrafanaCloudTempo = "grafanacloudtempo",
|
|
23
|
+
Groundcover = "groundcover",
|
|
24
|
+
Honeycomb = "honeycomb",
|
|
25
|
+
HyperDX = "hyperdx",
|
|
26
|
+
Instana = "instana",
|
|
27
|
+
Jaeger = "jaeger",
|
|
28
|
+
Kafka = "kafka",
|
|
29
|
+
Kloudmate = "kloudmate",
|
|
30
|
+
Last9 = "last9",
|
|
31
|
+
Lightstep = "lightstep",
|
|
32
|
+
LogzIo = "logzio",
|
|
33
|
+
Loki = "loki",
|
|
34
|
+
Lumigo = "lumigo",
|
|
35
|
+
Middleware = "middleware",
|
|
36
|
+
NewRelic = "newrelic",
|
|
37
|
+
Opsverse = "opsverse",
|
|
38
|
+
OTLP = "otlp",
|
|
39
|
+
OTLPHttp = "otlphttp",
|
|
40
|
+
Prometheus = "prometheus",
|
|
41
|
+
Qryn = "qryn",
|
|
42
|
+
QrynOss = "qryn-oss",
|
|
43
|
+
Quickwit = "quickwit",
|
|
44
|
+
S3 = "s3",
|
|
45
|
+
Signoz = "signoz",
|
|
46
|
+
Splunk = "splunk",
|
|
47
|
+
SumoLogic = "sumologic",
|
|
48
|
+
Tempo = "tempo",
|
|
49
|
+
Traceloop = "traceloop",
|
|
50
|
+
Uptrace = "uptrace",
|
|
51
|
+
XRay = "xray"
|
|
52
|
+
}
|
|
4
53
|
export interface Destination {
|
|
5
54
|
id: string;
|
|
6
55
|
name: string;
|
|
@@ -12,9 +61,8 @@ export interface Destination {
|
|
|
12
61
|
fields: string;
|
|
13
62
|
conditions: Condition[] | null;
|
|
14
63
|
destinationType: {
|
|
15
|
-
type:
|
|
64
|
+
type: DestinationTypes;
|
|
16
65
|
displayName: string;
|
|
17
|
-
imageUrl: string;
|
|
18
66
|
supportedSignals: {
|
|
19
67
|
logs: {
|
|
20
68
|
supported: boolean;
|
|
@@ -47,7 +95,6 @@ export interface DestinationYamlProperties {
|
|
|
47
95
|
export interface DestinationOption {
|
|
48
96
|
type: Destination['destinationType']['type'];
|
|
49
97
|
displayName: Destination['destinationType']['displayName'];
|
|
50
|
-
imageUrl: Destination['destinationType']['imageUrl'];
|
|
51
98
|
supportedSignals: Destination['destinationType']['supportedSignals'];
|
|
52
99
|
testConnectionSupported: boolean;
|
|
53
100
|
fields: DestinationYamlProperties[];
|
package/lib/types.js
CHANGED
|
@@ -1,165 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
ActionType["RenameAttributes"] = "RenameAttribute";
|
|
7
|
-
ActionType["ErrorSampler"] = "ErrorSampler";
|
|
8
|
-
ActionType["ProbabilisticSampler"] = "ProbabilisticSampler";
|
|
9
|
-
ActionType["LatencySampler"] = "LatencySampler";
|
|
10
|
-
ActionType["PiiMasking"] = "PiiMasking";
|
|
11
|
-
})(ActionType || (ActionType = {}));
|
|
12
|
-
|
|
13
|
-
var Tier;
|
|
14
|
-
(function (Tier) {
|
|
15
|
-
Tier["Community"] = "community";
|
|
16
|
-
Tier["Cloud"] = "cloud";
|
|
17
|
-
Tier["Onprem"] = "onprem";
|
|
18
|
-
})(Tier || (Tier = {}));
|
|
19
|
-
var PlatformType;
|
|
20
|
-
(function (PlatformType) {
|
|
21
|
-
PlatformType["K8s"] = "k8s";
|
|
22
|
-
PlatformType["Vm"] = "vm";
|
|
23
|
-
})(PlatformType || (PlatformType = {}));
|
|
24
|
-
var ProgrammingLanguages;
|
|
25
|
-
(function (ProgrammingLanguages) {
|
|
26
|
-
ProgrammingLanguages["Go"] = "go";
|
|
27
|
-
ProgrammingLanguages["JavaScript"] = "javascript";
|
|
28
|
-
ProgrammingLanguages["Python"] = "python";
|
|
29
|
-
ProgrammingLanguages["Java"] = "java";
|
|
30
|
-
ProgrammingLanguages["DotNet"] = "dotnet";
|
|
31
|
-
ProgrammingLanguages["CSharp"] = "csharp";
|
|
32
|
-
ProgrammingLanguages["CPlusPlus"] = "cplusplus";
|
|
33
|
-
ProgrammingLanguages["Php"] = "php";
|
|
34
|
-
ProgrammingLanguages["Ruby"] = "ruby";
|
|
35
|
-
ProgrammingLanguages["Rust"] = "rust";
|
|
36
|
-
ProgrammingLanguages["Swift"] = "swift";
|
|
37
|
-
ProgrammingLanguages["Elixir"] = "elixir";
|
|
38
|
-
ProgrammingLanguages["MySql"] = "mysql";
|
|
39
|
-
ProgrammingLanguages["Nginx"] = "nginx";
|
|
40
|
-
ProgrammingLanguages["Postgres"] = "postgres";
|
|
41
|
-
ProgrammingLanguages["Redis"] = "redis";
|
|
42
|
-
ProgrammingLanguages["Kafka"] = "kafka";
|
|
43
|
-
ProgrammingLanguages["Ignored"] = "ignored";
|
|
44
|
-
ProgrammingLanguages["Unknown"] = "unknown";
|
|
45
|
-
ProgrammingLanguages["Processing"] = "processing";
|
|
46
|
-
ProgrammingLanguages["NoContainers"] = "no containers";
|
|
47
|
-
ProgrammingLanguages["NoRunningPods"] = "no running pods";
|
|
48
|
-
})(ProgrammingLanguages || (ProgrammingLanguages = {}));
|
|
49
|
-
var Crud;
|
|
50
|
-
(function (Crud) {
|
|
51
|
-
Crud["Create"] = "Create";
|
|
52
|
-
Crud["Read"] = "Read";
|
|
53
|
-
Crud["Update"] = "Update";
|
|
54
|
-
Crud["Delete"] = "Delete";
|
|
55
|
-
})(Crud || (Crud = {}));
|
|
56
|
-
var EntityTypes;
|
|
57
|
-
(function (EntityTypes) {
|
|
58
|
-
EntityTypes["Source"] = "Source";
|
|
59
|
-
EntityTypes["Destination"] = "Destination";
|
|
60
|
-
EntityTypes["Action"] = "Action";
|
|
61
|
-
EntityTypes["InstrumentationRule"] = "InstrumentationRule";
|
|
62
|
-
})(EntityTypes || (EntityTypes = {}));
|
|
63
|
-
var FieldTypes;
|
|
64
|
-
(function (FieldTypes) {
|
|
65
|
-
FieldTypes["Input"] = "input";
|
|
66
|
-
FieldTypes["MultiInput"] = "multiInput";
|
|
67
|
-
FieldTypes["MultiTabledInput"] = "multiTabledInput";
|
|
68
|
-
FieldTypes["KeyValuePair"] = "keyValuePairs";
|
|
69
|
-
FieldTypes["TextArea"] = "textarea";
|
|
70
|
-
FieldTypes["Dropdown"] = "dropdown";
|
|
71
|
-
FieldTypes["Checkbox"] = "checkbox";
|
|
72
|
-
FieldTypes["Toggle"] = "toggle";
|
|
73
|
-
})(FieldTypes || (FieldTypes = {}));
|
|
74
|
-
var CrdTypes;
|
|
75
|
-
(function (CrdTypes) {
|
|
76
|
-
CrdTypes["OdigosConfig"] = "OdigosConfiguration";
|
|
77
|
-
CrdTypes["CollectorsGroup"] = "CollectorsGroup";
|
|
78
|
-
CrdTypes["Source"] = "Source";
|
|
79
|
-
CrdTypes["InstrumentationConfig"] = "InstrumentationConfig";
|
|
80
|
-
CrdTypes["InstrumentationInstance"] = "InstrumentationInstance";
|
|
81
|
-
CrdTypes["Destination"] = "Destination";
|
|
82
|
-
CrdTypes["InstrumentationRule"] = "InstrumentationRule";
|
|
83
|
-
CrdTypes["Processor"] = "Processor";
|
|
84
|
-
CrdTypes["AddClusterInfo"] = "AddClusterInfo";
|
|
85
|
-
CrdTypes["DeleteAttributes"] = "DeleteAttribute";
|
|
86
|
-
CrdTypes["RenameAttributes"] = "RenameAttribute";
|
|
87
|
-
CrdTypes["PiiMasking"] = "PiiMasking";
|
|
88
|
-
CrdTypes["ErrorSampler"] = "ErrorSampler";
|
|
89
|
-
CrdTypes["LatencySampler"] = "LatencySampler";
|
|
90
|
-
CrdTypes["ProbabilisticSampler"] = "ProbabilisticSampler";
|
|
91
|
-
})(CrdTypes || (CrdTypes = {}));
|
|
92
|
-
var StatusType;
|
|
93
|
-
(function (StatusType) {
|
|
94
|
-
StatusType["Warning"] = "warning";
|
|
95
|
-
StatusType["Error"] = "error";
|
|
96
|
-
StatusType["Success"] = "success";
|
|
97
|
-
StatusType["Info"] = "info";
|
|
98
|
-
StatusType["Default"] = "default";
|
|
99
|
-
})(StatusType || (StatusType = {}));
|
|
100
|
-
var OtherStatus;
|
|
101
|
-
(function (OtherStatus) {
|
|
102
|
-
OtherStatus["Loading"] = "loading";
|
|
103
|
-
OtherStatus["Disabled"] = "disabled";
|
|
104
|
-
})(OtherStatus || (OtherStatus = {}));
|
|
105
|
-
var SortDirection;
|
|
106
|
-
(function (SortDirection) {
|
|
107
|
-
SortDirection["Ascending"] = "asc";
|
|
108
|
-
SortDirection["Descending"] = "desc";
|
|
109
|
-
})(SortDirection || (SortDirection = {}));
|
|
110
|
-
|
|
111
|
-
var NodeTypes;
|
|
112
|
-
(function (NodeTypes) {
|
|
113
|
-
NodeTypes["Header"] = "header";
|
|
114
|
-
NodeTypes["Add"] = "add";
|
|
115
|
-
NodeTypes["Base"] = "base";
|
|
116
|
-
NodeTypes["Edged"] = "edged";
|
|
117
|
-
NodeTypes["Frame"] = "frame";
|
|
118
|
-
NodeTypes["Scroll"] = "scroll";
|
|
119
|
-
NodeTypes["Skeleton"] = "skeleton";
|
|
120
|
-
})(NodeTypes || (NodeTypes = {}));
|
|
121
|
-
var EdgeTypes;
|
|
122
|
-
(function (EdgeTypes) {
|
|
123
|
-
EdgeTypes["Labeled"] = "labeled";
|
|
124
|
-
})(EdgeTypes || (EdgeTypes = {}));
|
|
125
|
-
var AddNodeTypes;
|
|
126
|
-
(function (AddNodeTypes) {
|
|
127
|
-
AddNodeTypes["AddRule"] = "addRule";
|
|
128
|
-
AddNodeTypes["AddSource"] = "addSource";
|
|
129
|
-
AddNodeTypes["AddAction"] = "addAction";
|
|
130
|
-
AddNodeTypes["AddDestination"] = "addDestination";
|
|
131
|
-
})(AddNodeTypes || (AddNodeTypes = {}));
|
|
132
|
-
|
|
133
|
-
var InstrumentationRuleType;
|
|
134
|
-
(function (InstrumentationRuleType) {
|
|
135
|
-
InstrumentationRuleType["PayloadCollection"] = "PayloadCollection";
|
|
136
|
-
InstrumentationRuleType["CodeAttributes"] = "CodeAttributes";
|
|
137
|
-
InstrumentationRuleType["UnknownType"] = "UnknownType";
|
|
138
|
-
})(InstrumentationRuleType || (InstrumentationRuleType = {}));
|
|
139
|
-
var PayloadCollectionKeyTypes;
|
|
140
|
-
(function (PayloadCollectionKeyTypes) {
|
|
141
|
-
PayloadCollectionKeyTypes["HttpRequest"] = "httpRequest";
|
|
142
|
-
PayloadCollectionKeyTypes["HttpResponse"] = "httpResponse";
|
|
143
|
-
PayloadCollectionKeyTypes["DbQuery"] = "dbQuery";
|
|
144
|
-
PayloadCollectionKeyTypes["Messaging"] = "messaging";
|
|
145
|
-
})(PayloadCollectionKeyTypes || (PayloadCollectionKeyTypes = {}));
|
|
146
|
-
// Code Attributes for Instrumentation Rules
|
|
147
|
-
var CodeAttributesKeyTypes;
|
|
148
|
-
(function (CodeAttributesKeyTypes) {
|
|
149
|
-
CodeAttributesKeyTypes["Column"] = "column";
|
|
150
|
-
CodeAttributesKeyTypes["FilePath"] = "filePath";
|
|
151
|
-
CodeAttributesKeyTypes["Function"] = "function";
|
|
152
|
-
CodeAttributesKeyTypes["LineNumber"] = "lineNumber";
|
|
153
|
-
CodeAttributesKeyTypes["Namespace"] = "namespace";
|
|
154
|
-
CodeAttributesKeyTypes["StackTrace"] = "stacktrace";
|
|
155
|
-
})(CodeAttributesKeyTypes || (CodeAttributesKeyTypes = {}));
|
|
156
|
-
|
|
157
|
-
var SignalType;
|
|
158
|
-
(function (SignalType) {
|
|
159
|
-
SignalType["Logs"] = "logs";
|
|
160
|
-
SignalType["Metrics"] = "metrics";
|
|
161
|
-
SignalType["Traces"] = "traces";
|
|
162
|
-
})(SignalType || (SignalType = {}));
|
|
1
|
+
export { A as ActionType, C as CodeAttributesKeyTypes, I as InstrumentationRuleType, P as PayloadCollectionKeyTypes } from './index-RBS1MqCQ.js';
|
|
2
|
+
export { b as CrdTypes, C as Crud, E as EntityTypes, F as FieldTypes, O as OtherStatus, P as PlatformType, a as ProgrammingLanguages, c as SortDirection, S as StatusType, T as Tier } from './index-BVVVevuY.js';
|
|
3
|
+
export { A as AddNodeTypes, E as EdgeTypes, N as NodeTypes } from './index-B72aw6tI.js';
|
|
4
|
+
export { D as DestinationTypes } from './index-CIgHU72d.js';
|
|
5
|
+
export { S as SignalType } from './index-DbfrGXPH.js';
|
|
163
6
|
|
|
164
7
|
var K8sResourceKind;
|
|
165
8
|
(function (K8sResourceKind) {
|
|
@@ -168,4 +11,4 @@ var K8sResourceKind;
|
|
|
168
11
|
K8sResourceKind["StatefulSet"] = "StatefulSet";
|
|
169
12
|
})(K8sResourceKind || (K8sResourceKind = {}));
|
|
170
13
|
|
|
171
|
-
export {
|
|
14
|
+
export { K8sResourceKind };
|