@odigos/ui-kit 0.0.9 → 0.0.11-1.patch-dev.361
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/.devcontainer/README.md +26 -0
- package/.devcontainer/devcontainer.json +21 -0
- package/CHANGELOG.md +862 -0
- package/README.md +3 -2
- package/VERSIONING.md +228 -0
- package/lib/chunks/ui-components-f51830d4.js +1605 -0
- package/lib/chunks/vendor-1dea551d.js +1 -0
- package/lib/components/auto-complete-input/index.d.ts +3 -0
- package/lib/components/badge/index.d.ts +2 -2
- package/lib/components/code/index.d.ts +1 -1
- package/lib/components/data-card/data-card-fields/index.d.ts +19 -19
- package/lib/components/data-card/index.d.ts +8 -6
- package/lib/components/data-finger/index.d.ts +12 -0
- package/lib/components/data-tab/index.d.ts +25 -10
- package/lib/components/delete-warning/index.d.ts +2 -2
- package/lib/components/describe-row/index.d.ts +2 -2
- package/lib/components/divider/index.d.ts +3 -2
- package/lib/components/drawer/drawer-footer/index.d.ts +3 -0
- package/lib/components/drawer/drawer-header/index.d.ts +7 -5
- package/lib/components/drawer/index.d.ts +2 -2
- package/lib/components/dropdown/index.d.ts +6 -2
- package/lib/components/error-boundary/index.d.ts +1 -2
- package/lib/components/field-error/index.d.ts +1 -2
- package/lib/components/field-label/index.d.ts +2 -0
- package/lib/components/icon-button/index.d.ts +2 -0
- package/lib/components/icon-group/index.d.ts +3 -2
- package/lib/components/icon-wrapped/index.d.ts +2 -2
- package/lib/components/index.d.ts +56 -48
- package/lib/components/input/index.d.ts +2 -1
- package/lib/components/input-table/index.d.ts +4 -11
- package/lib/components/input-table/map-columns-to-fields/index.d.ts +15 -0
- package/lib/components/input-table/types.d.ts +15 -0
- package/lib/components/interactive-table/index.d.ts +9 -8
- package/lib/components/interactive-table/table-row.d.ts +13 -0
- package/lib/components/key-value-input-list/index.d.ts +4 -0
- package/lib/components/monitors-checkboxes/index.d.ts +4 -4
- package/lib/components/monitors-icons/index.d.ts +2 -2
- package/lib/components/notification-note/index.d.ts +3 -2
- package/lib/components/popup/index.d.ts +18 -0
- package/lib/components/popup-form/index.d.ts +18 -0
- package/lib/components/scroll-x/index.d.ts +10 -0
- package/lib/components/segment/index.d.ts +8 -6
- package/lib/{containers/data-flow-actions-menu → components}/selection-button/index.d.ts +3 -3
- package/lib/components/status/index.d.ts +8 -5
- package/lib/components/stepper/index.d.ts +2 -1
- package/lib/components/styled.d.ts +33 -2
- package/lib/components/tab-list/index.d.ts +17 -0
- package/lib/components/tag/index.d.ts +9 -0
- package/lib/components/text/index.d.ts +16 -3
- package/lib/components/toggle/index.d.ts +2 -1
- package/lib/components/warning-modal/index.d.ts +2 -2
- package/lib/components.js +1 -173
- package/lib/constants/destinations/index.d.ts +18 -0
- package/lib/constants/index.d.ts +2 -0
- package/lib/constants/sources/index.d.ts +4 -0
- package/lib/constants/strings/index.d.ts +90 -0
- package/lib/constants.js +1 -13
- package/lib/containers/action-drawer/build-card.d.ts +1 -7
- package/lib/containers/action-drawer/index.d.ts +2 -2
- package/lib/containers/action-form/custom-fields/add-cluster-info.d.ts +2 -2
- package/lib/containers/action-form/custom-fields/delete-attributes.d.ts +2 -2
- package/lib/containers/action-form/custom-fields/error-sampler.d.ts +2 -2
- package/lib/containers/action-form/custom-fields/index.d.ts +3 -3
- package/lib/containers/action-form/custom-fields/k8s-attributes.d.ts +2 -2
- package/lib/containers/action-form/custom-fields/latency-sampler.d.ts +2 -2
- package/lib/containers/action-form/custom-fields/pii-masking.d.ts +2 -2
- package/lib/containers/action-form/custom-fields/probabilistic-sampler.d.ts +2 -2
- package/lib/containers/action-form/custom-fields/rename-attributes.d.ts +2 -2
- package/lib/containers/action-form/custom-fields/service-name-sampler.d.ts +5 -0
- package/lib/containers/action-form/custom-fields/span-attribute-sampler.d.ts +5 -0
- package/lib/containers/await-pipeline/index.d.ts +1 -2
- package/lib/containers/data-flow/helpers/build-action-nodes.d.ts +7 -1
- package/lib/containers/data-flow/helpers/build-destination-nodes.d.ts +7 -1
- package/lib/containers/data-flow/helpers/build-edges.d.ts +2 -2
- package/lib/containers/data-flow/helpers/build-rule-nodes.d.ts +7 -1
- package/lib/containers/data-flow/helpers/get-node-positions.d.ts +2 -2
- package/lib/containers/data-flow/index.d.ts +2 -2
- package/lib/containers/data-flow-actions-menu/add-entity/index.d.ts +2 -3
- package/lib/containers/data-flow-actions-menu/data-stream-select/index.d.ts +9 -0
- package/lib/containers/data-flow-actions-menu/filters/index.d.ts +2 -8
- package/lib/containers/data-flow-actions-menu/index.d.ts +5 -6
- package/lib/containers/data-flow-actions-menu/search/index.d.ts +3 -2
- package/lib/containers/data-flow-actions-menu/search/search-results/builder.d.ts +3 -3
- package/lib/containers/data-flow-actions-menu/search/search-results/index.d.ts +0 -1
- package/lib/containers/data-flow-actions-menu/styled.d.ts +5 -1
- package/lib/containers/data-stream-drawer/index.d.ts +10 -0
- package/lib/containers/data-stream-form/index.d.ts +9 -0
- package/lib/containers/data-stream-modal/index.d.ts +4 -0
- package/lib/containers/data-stream-selection-form/index.d.ts +13 -0
- package/lib/containers/destination-drawer/build-card.d.ts +1 -7
- package/lib/containers/destination-drawer/index.d.ts +2 -5
- package/lib/containers/destination-form/dynamic-fields/index.d.ts +2 -1
- package/lib/containers/destination-form/index.d.ts +2 -5
- package/lib/containers/destination-form/test-connection/index.d.ts +5 -10
- package/lib/containers/destination-modal/choose-destination/destinations-list/index.d.ts +3 -1
- package/lib/containers/destination-modal/choose-destination/index.d.ts +5 -5
- package/lib/containers/destination-modal/index.d.ts +5 -6
- package/lib/containers/destination-selection-form/destination-list/index.d.ts +8 -0
- package/lib/containers/destination-selection-form/index.d.ts +5 -9
- package/lib/containers/dropdowns/{connection-type-dropdown → condition-dropdown}/index.d.ts +5 -5
- package/lib/containers/dropdowns/error-dropdown/index.d.ts +2 -0
- package/lib/containers/dropdowns/index.d.ts +6 -7
- package/lib/containers/dropdowns/kind-dropdown/index.d.ts +2 -0
- package/lib/containers/dropdowns/language-dropdown/index.d.ts +2 -0
- package/lib/containers/dropdowns/namespace-dropdown/index.d.ts +2 -3
- package/lib/containers/index.d.ts +38 -33
- package/lib/containers/instrumentation-rule-drawer/build-card.d.ts +2 -8
- package/lib/containers/instrumentation-rule-form/custom-fields/custom-instrumentation.d.ts +5 -0
- package/lib/containers/instrumentation-rule-form/custom-fields/headers-collection.d.ts +5 -0
- package/lib/containers/instrumentation-rule-form/custom-fields/index.d.ts +2 -2
- package/lib/containers/instrumentation-rule-form/index.d.ts +1 -1
- package/lib/containers/multi-source-control/index.d.ts +2 -0
- package/lib/containers/notification-manager/index.d.ts +1 -2
- package/lib/containers/overview-drawer/index.d.ts +10 -4
- package/lib/containers/service-map/helpers/build-edges.d.ts +10 -0
- package/lib/containers/service-map/helpers/build-map-nodes.d.ts +11 -0
- package/lib/containers/service-map/helpers/generate-dag-positions.d.ts +5 -0
- package/lib/containers/service-map/helpers/generate-spiral-grid-position.d.ts +2 -0
- package/lib/containers/service-map/index.d.ts +8 -0
- package/lib/containers/setup-summary/index.d.ts +10 -0
- package/lib/containers/side-nav/index.d.ts +8 -8
- package/lib/containers/slack-invite/index.d.ts +1 -2
- package/lib/containers/source-drawer/build-card.d.ts +1 -6
- package/lib/containers/source-drawer/describe/index.d.ts +1 -1
- package/lib/containers/source-drawer/index.d.ts +7 -8
- package/lib/containers/source-drawer/libraries/index.d.ts +14 -0
- package/lib/containers/source-drawer/odigos-health/index.d.ts +6 -0
- package/lib/containers/source-modal/index.d.ts +3 -9
- package/lib/containers/source-selection-form/index.d.ts +4 -8
- package/lib/containers/source-selection-form/source-list/index.d.ts +8 -0
- package/lib/containers/system-overview/describe/index.d.ts +1 -1
- package/lib/containers/system-settings/index.d.ts +9 -0
- package/lib/containers/system-settings/settings/collector-gateway-settings.d.ts +4 -0
- package/lib/containers/system-settings/settings/collector-node-settings.d.ts +4 -0
- package/lib/containers/system-settings/settings/general-settings.d.ts +4 -0
- package/lib/containers/system-settings/settings/options.d.ts +5 -0
- package/lib/containers/system-settings/settings/rollback-settings.d.ts +4 -0
- package/lib/containers/system-settings/settings/styled.d.ts +8 -0
- package/lib/containers/system-settings/settings/types.d.ts +13 -0
- package/lib/containers/system-settings/settings/ui-settings.d.ts +4 -0
- package/lib/containers/table-cell-conditions/index.d.ts +1 -0
- package/lib/containers/toast-list/index.d.ts +1 -2
- package/lib/containers/toggle-dark-mode/index.d.ts +1 -2
- package/lib/containers/trace-view/build-spans.d.ts +2 -0
- package/lib/containers/trace-view/index.d.ts +9 -0
- package/lib/containers/trace-view/span/index.d.ts +38 -0
- package/lib/containers/trace-view/span-drawer/build-details-card.d.ts +3 -0
- package/lib/containers/trace-view/span-drawer/build-logs-card.d.ts +3 -0
- package/lib/containers/trace-view/span-drawer/build-process-card.d.ts +3 -0
- package/lib/containers/trace-view/span-drawer/build-tags-card.d.ts +3 -0
- package/lib/containers/trace-view/span-drawer/index.d.ts +9 -0
- package/lib/containers.js +285 -15711
- package/lib/functions/clean-object-empty-strings-values/index.d.ts +2 -1
- package/lib/functions/compare-condition/index.d.ts +3 -3
- package/lib/functions/filter-destinations-by-stream/index.d.ts +2 -0
- package/lib/functions/filter-sources-by-stream/index.d.ts +2 -0
- package/lib/functions/flatten-object-keys/index.d.ts +2 -1
- package/lib/functions/format-duration/index.d.ts +1 -0
- package/lib/functions/get-action-icon/index.d.ts +2 -2
- package/lib/functions/get-conditions-booleans/index.d.ts +6 -2
- package/lib/functions/get-destination-icon/index.d.ts +5 -1
- package/lib/functions/get-entity-icon/index.d.ts +2 -2
- package/lib/functions/get-entity-id/index.d.ts +2 -2
- package/lib/functions/get-entity-label/index.d.ts +2 -2
- package/lib/functions/get-id-from-sse-target/index.d.ts +2 -2
- package/lib/functions/get-instrumentation-rule-icon/index.d.ts +2 -2
- package/lib/functions/get-main-container-language/index.d.ts +2 -0
- package/lib/functions/get-metric-for-entity/index.d.ts +2 -2
- package/lib/functions/get-monitor-icon/index.d.ts +2 -2
- package/lib/functions/get-platform-icon/index.d.ts +2 -2
- package/lib/functions/get-platform-label/index.d.ts +2 -2
- package/lib/functions/get-programming-language-icon/index.d.ts +2 -2
- package/lib/functions/get-recursive-values/index.d.ts +4 -0
- package/lib/functions/get-sse-target-from-id/index.d.ts +2 -2
- package/lib/functions/get-status-icon/index.d.ts +3 -2
- package/lib/functions/get-status-type-from-odigos-health/index.d.ts +2 -0
- package/lib/functions/get-yaml-fields-for-destination/index.d.ts +2 -0
- package/lib/functions/has-unhealthy-instances/index.d.ts +2 -0
- package/lib/functions/index.d.ts +15 -1
- package/lib/functions/is-legal-k8s-label/index.d.ts +1 -0
- package/lib/functions/is-string-a-boolean/index.d.ts +1 -0
- package/lib/functions/is-valid-version/index.d.ts +1 -0
- package/lib/functions/map-destination-fields-for-display/index.d.ts +6 -0
- package/lib/functions/map-exported-signals/index.d.ts +2 -0
- package/lib/functions/numbers-only/index.d.ts +1 -0
- package/lib/functions/parse-boolean-from-string/index.d.ts +1 -0
- package/lib/functions/remove-empty-values-from-object/index.d.ts +2 -1
- package/lib/functions/safe-json-parse/index.d.ts +2 -1
- package/lib/functions/safe-json-stringify/index.d.ts +2 -1
- package/lib/functions/split-camel-string/index.d.ts +1 -1
- package/lib/functions/stringify-non-string-values/index.d.ts +2 -1
- package/lib/functions.js +1 -115
- package/lib/hooks/index.d.ts +3 -0
- package/lib/hooks/useActionFormData.d.ts +2 -2
- package/lib/hooks/useDataStreamFormData.d.ts +12 -0
- package/lib/hooks/useDestinationFormData.d.ts +1 -1
- package/lib/hooks/useGenericForm.d.ts +3 -1
- package/lib/hooks/useInstrumentationRuleFormData.d.ts +3 -6
- package/lib/hooks/usePopup.d.ts +17 -0
- package/lib/hooks/useSessionStorage.d.ts +5 -0
- package/lib/hooks/useSourceFormData.d.ts +2 -5
- package/lib/hooks/useSourceSelectionFormData.d.ts +19 -20
- package/lib/hooks.js +1 -13
- package/lib/icons/actions/index.d.ts +5 -5
- package/lib/icons/brand/index.d.ts +2 -2
- package/lib/icons/common/avatar-icon/index.d.ts +2 -0
- package/lib/icons/common/edited-icon/index.d.ts +2 -0
- package/lib/icons/common/gear-icon/index.d.ts +2 -0
- package/lib/icons/common/index.d.ts +30 -20
- package/lib/icons/common/refresh-arrows-icon/index.d.ts +2 -0
- package/lib/icons/common/refresh-left-arrow-icon/index.d.ts +2 -0
- package/lib/icons/common/refresh-right-arrow-icon/index.d.ts +2 -0
- package/lib/icons/common/rotate-arrows-icon/index.d.ts +2 -0
- package/lib/icons/common/user-group-icon/index.d.ts +2 -0
- package/lib/icons/common/user-icon/index.d.ts +2 -0
- package/lib/icons/common/user-settings-icon/index.d.ts +2 -0
- package/lib/icons/compute-platform/index.d.ts +2 -2
- package/lib/icons/destinations/alauda-logo/index.d.ts +2 -0
- package/lib/icons/destinations/alibaba-cloud-logo/index.d.ts +2 -0
- 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/bonree-logo/index.d.ts +2 -0
- package/lib/icons/destinations/causely-logo/index.d.ts +2 -0
- package/lib/icons/destinations/checkly-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/greptime-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 +60 -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/observe-logo/index.d.ts +2 -0
- package/lib/icons/destinations/odigos-destination-logo/index.d.ts +2 -0
- package/lib/icons/destinations/one-uptime-logo/index.d.ts +2 -0
- package/lib/icons/destinations/open-observe-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/oracle-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/seq-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/telemetry-hub-logo/index.d.ts +2 -0
- package/lib/icons/destinations/tempo-logo/index.d.ts +2 -0
- package/lib/icons/destinations/tingyun-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/destinations/victoria-metrics-logo/index.d.ts +2 -0
- package/lib/icons/index.d.ts +1 -0
- package/lib/icons/instrumentation-rules/custom-instrumentation-icon/index.d.ts +2 -0
- package/lib/icons/instrumentation-rules/headers-collection-icon/index.d.ts +2 -0
- package/lib/icons/instrumentation-rules/index.d.ts +4 -2
- package/lib/icons/math/index.d.ts +4 -2
- package/lib/icons/math/minus-circled-icon/index.d.ts +2 -0
- package/lib/icons/math/plus-circled-icon/index.d.ts +2 -0
- package/lib/icons/monitors/index.d.ts +3 -3
- package/lib/icons/on-off/index.d.ts +6 -6
- package/lib/icons/overview/data-streams-icon/index.d.ts +2 -0
- package/lib/icons/overview/index.d.ts +10 -8
- package/lib/icons/overview/namespaces-icon/index.d.ts +2 -0
- package/lib/icons/programming-languages/index.d.ts +0 -1
- package/lib/icons/social/index.d.ts +1 -1
- package/lib/icons/status/index.d.ts +8 -8
- package/lib/icons.js +1 -82
- package/lib/mock-data/config/index.d.ts +2 -0
- package/lib/{data → mock-data}/destinations/index.d.ts +1 -1
- package/lib/{data → mock-data}/index.d.ts +4 -0
- package/lib/mock-data/instrumentation-instances/index.d.ts +2 -0
- package/lib/mock-data/service-map/index.d.ts +2 -0
- package/lib/{data → mock-data}/sources/index.d.ts +8 -4
- package/lib/mock-data/traces/index.d.ts +2 -0
- package/lib/snippets/add-button/index.d.ts +8 -0
- package/lib/snippets/copy-text/index.d.ts +7 -0
- package/lib/snippets/edit-button/index.d.ts +7 -0
- package/lib/snippets/index.d.ts +7 -0
- package/lib/snippets/note-back-to-summary/index.d.ts +6 -0
- package/lib/snippets/pod-container/index.d.ts +5 -0
- package/lib/snippets/react-flow/edges/labeled-edge.d.ts +10 -0
- package/lib/{containers/data-flow → snippets/react-flow}/flow.d.ts +2 -0
- package/lib/snippets/react-flow/index.d.ts +13 -0
- package/lib/snippets/react-flow/nodes/add-node.d.ts +11 -0
- package/lib/snippets/react-flow/nodes/base-node.d.ts +21 -0
- package/lib/snippets/react-flow/nodes/edged-node.d.ts +9 -0
- package/lib/snippets/react-flow/nodes/frame-node.d.ts +9 -0
- package/lib/{containers/data-flow → snippets/react-flow}/nodes/header-node.d.ts +5 -5
- package/lib/snippets/react-flow/nodes/map-item-node.d.ts +12 -0
- package/lib/snippets/react-flow/nodes/no-data-node.d.ts +9 -0
- package/lib/snippets/react-flow/nodes/scroll-node.d.ts +15 -0
- package/lib/snippets/react-flow/nodes/skeleton-node.d.ts +8 -0
- package/lib/snippets/source-container/index.d.ts +7 -0
- package/lib/snippets/source-container/override-runtime.d.ts +9 -0
- package/lib/snippets.js +1 -0
- package/lib/store/index.d.ts +2 -0
- package/lib/store/useActiveNodeStore.d.ts +11 -0
- package/lib/store/useDarkMode.d.ts +5 -3
- package/lib/store/useDataStreamStore.d.ts +16 -0
- package/lib/store/useDrawerStore.d.ts +2 -2
- package/lib/store/useEntityStore.d.ts +8 -6
- package/lib/store/useFilterStore.d.ts +5 -2
- package/lib/store/usePendingStore.d.ts +2 -2
- package/lib/store/useSetupStore.d.ts +20 -26
- package/lib/store.js +1 -4
- package/lib/theme/index.d.ts +2 -3
- package/lib/theme/palletes/index.d.ts +2 -105
- package/lib/theme.js +1 -240
- package/lib/types/actions/index.d.ts +154 -68
- package/lib/types/common/index.d.ts +91 -76
- package/lib/types/config/index.d.ts +80 -0
- package/lib/types/data-flow/index.d.ts +17 -15
- package/lib/types/data-streams/index.d.ts +3 -0
- package/lib/types/describe/index.d.ts +7 -3
- package/lib/types/destinations/index.d.ts +89 -9
- package/lib/types/index.d.ts +5 -1
- package/lib/types/instrumentation-instances/index.d.ts +7 -0
- package/lib/types/instrumentation-rules/index.d.ts +65 -36
- package/lib/types/namespaces/index.d.ts +14 -0
- package/lib/types/service-map/index.d.ts +10 -0
- package/lib/types/signals/index.d.ts +5 -5
- package/lib/types/sources/index.d.ts +42 -20
- package/lib/types/traces/index.d.ts +38 -0
- package/lib/types.js +1 -166
- package/package.json +50 -40
- 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 -9
- 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/interactive-table/row.d.ts +0 -13
- 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-platform-select/index.d.ts +0 -10
- package/lib/containers/compute-platforms/compute-platforms.stories.d.ts +0 -9
- package/lib/containers/compute-platforms/index.d.ts +0 -8
- package/lib/containers/compute-platforms-actions-menu/compute-platforms-actions-menu.stories.d.ts +0 -9
- package/lib/containers/compute-platforms-actions-menu/index.d.ts +0 -7
- package/lib/containers/data-flow/data-flow.stories.d.ts +0 -9
- package/lib/containers/data-flow/edges/labeled-edge.d.ts +0 -10
- package/lib/containers/data-flow/helpers/get-main-container-language.d.ts +0 -2
- package/lib/containers/data-flow/nodes/add-node.d.ts +0 -11
- package/lib/containers/data-flow/nodes/base-node.d.ts +0 -21
- package/lib/containers/data-flow/nodes/edged-node.d.ts +0 -9
- package/lib/containers/data-flow/nodes/frame-node.d.ts +0 -9
- package/lib/containers/data-flow/nodes/scroll-node.d.ts +0 -26
- package/lib/containers/data-flow/nodes/skeleton-node.d.ts +0 -8
- package/lib/containers/data-flow-actions-menu/data-flow.stories.d.ts +0 -11
- package/lib/containers/data-flow-actions-menu/search/recent-searches/index.d.ts +0 -2
- 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/choose-destination/potential-destinations-list/index.d.ts +0 -8
- package/lib/containers/destination-modal/destination-modal.stories.d.ts +0 -9
- package/lib/containers/destination-selection-form/configured-list/index.d.ts +0 -5
- 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-status-dropdown/index.d.ts +0 -15
- 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/controls/index.d.ts +0 -7
- package/lib/containers/source-selection-form/fast/index.d.ts +0 -7
- package/lib/containers/source-selection-form/fast/list/index.d.ts +0 -10
- 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/functions/derive-type-from-rule/index.d.ts +0 -2
- 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-3KUV6Vlt.js +0 -89
- package/lib/index-BFct3S32.js +0 -22
- package/lib/index-BGlk5VhF.js +0 -69
- package/lib/index-BZS1ijMm.js +0 -30
- package/lib/index-Bc8gi9FH.js +0 -202
- package/lib/index-BjJpYtF1.js +0 -42
- package/lib/index-BumPE6cF.js +0 -37
- package/lib/index-CZe2VX28.js +0 -128
- package/lib/index-Cu2uHOuh.js +0 -44
- package/lib/index-DIcomki-.js +0 -671
- package/lib/index-D_Qn2U89.js +0 -138
- package/lib/index-g6Twdelv.js +0 -196
- package/lib/index-ixs381n-.js +0 -466
- package/lib/index-m62aT4IR.js +0 -29574
- package/lib/types/connection/index.d.ts +0 -7
- package/lib/useSourceSelectionFormData-BY6B70Kf.js +0 -561
- package/lib/useTransition-Dfxjcy-C.js +0 -3493
- /package/lib/icons/{programming-languages → destinations}/kafka-logo/index.d.ts +0 -0
- /package/lib/{data → mock-data}/actions/index.d.ts +0 -0
- /package/lib/{data → mock-data}/describe/index.d.ts +0 -0
- /package/lib/{data → mock-data}/instrumentation-rules/index.d.ts +0 -0
- /package/lib/{data → mock-data}/namespaces/index.d.ts +0 -0
- /package/lib/{data → mock-data}/tokens/index.d.ts +0 -0
- /package/lib/{containers/data-flow/helpers → snippets/react-flow}/node-config.d.ts +0 -0
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { ProgrammingLanguages } from '..';
|
|
2
|
+
export declare enum Profile {
|
|
3
|
+
CodeAttributes = "code-attributes",
|
|
4
|
+
FullPayloadCollection = "full-payload-collection",
|
|
5
|
+
DbPayloadCollection = "db-payload-collection",
|
|
6
|
+
QueryOperationDetector = "query-operation-detector",
|
|
7
|
+
AllowConcurrentAgents = "allow_concurrent_agents",
|
|
8
|
+
JavaEbpfInstrumentations = "java-ebpf-instrumentations",
|
|
9
|
+
JavaNativeInstrumentations = "java-native-instrumentations",
|
|
10
|
+
SizeS = "size_s",
|
|
11
|
+
SizeM = "size_m",
|
|
12
|
+
SizeL = "size_l"
|
|
13
|
+
}
|
|
14
|
+
export declare enum MountMethod {
|
|
15
|
+
VirtualDevice = "VirtualDevice",
|
|
16
|
+
HostPath = "HostPath",
|
|
17
|
+
InitContainer = "InitContainer"
|
|
18
|
+
}
|
|
19
|
+
export declare enum AgentEnvVarsInjectionMethod {
|
|
20
|
+
Loader = "loader",
|
|
21
|
+
PodManifest = "pod-manifest",
|
|
22
|
+
LoaderFallbackToPodManifest = "loader-fallback-to-pod-manifest"
|
|
23
|
+
}
|
|
24
|
+
export interface CollectorNode {
|
|
25
|
+
collectorOwnMetricsPort: number;
|
|
26
|
+
requestMemoryMiB: number;
|
|
27
|
+
limitMemoryMiB: number;
|
|
28
|
+
requestCPUm: number;
|
|
29
|
+
limitCPUm: number;
|
|
30
|
+
memoryLimiterLimitMiB: number;
|
|
31
|
+
memoryLimiterSpikeLimitMiB: number;
|
|
32
|
+
goMemLimitMiB: number;
|
|
33
|
+
k8sNodeLogsDirectory: string;
|
|
34
|
+
}
|
|
35
|
+
export interface CollectorGateway extends Omit<CollectorNode, 'collectorOwnMetricsPort' | 'k8sNodeLogsDirectory'> {
|
|
36
|
+
minReplicas: number;
|
|
37
|
+
maxReplicas: number;
|
|
38
|
+
}
|
|
39
|
+
export interface UserInstrumentationEnvsLanguage {
|
|
40
|
+
enabled: boolean;
|
|
41
|
+
env: {
|
|
42
|
+
[key: string]: string;
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export interface UserInstrumentationEnvs {
|
|
46
|
+
languages: {
|
|
47
|
+
[key in ProgrammingLanguages]?: UserInstrumentationEnvsLanguage;
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
export interface RolloutConfiguration {
|
|
51
|
+
automaticRolloutDisabled: boolean;
|
|
52
|
+
}
|
|
53
|
+
export interface OidcConfiguration {
|
|
54
|
+
tenantUrl: string;
|
|
55
|
+
clientId: string;
|
|
56
|
+
clientSecret: string;
|
|
57
|
+
}
|
|
58
|
+
export interface OdigosConfig {
|
|
59
|
+
karpenterEnabled: boolean | null;
|
|
60
|
+
allowConcurrentAgents: boolean | null;
|
|
61
|
+
uiPaginationLimit: number | null;
|
|
62
|
+
centralBackendURL: string | null;
|
|
63
|
+
oidc: OidcConfiguration | null;
|
|
64
|
+
clusterName: string | null;
|
|
65
|
+
imagePrefix: string | null;
|
|
66
|
+
ignoredNamespaces: string[] | null;
|
|
67
|
+
ignoredContainers: string[] | null;
|
|
68
|
+
profiles: Profile[] | null;
|
|
69
|
+
mountMethod: MountMethod | null;
|
|
70
|
+
agentEnvVarsInjectionMethod: AgentEnvVarsInjectionMethod | null;
|
|
71
|
+
customContainerRuntimeSocketPath: string | null;
|
|
72
|
+
odigletHealthProbeBindPort: number | null;
|
|
73
|
+
rollbackDisabled: boolean | null;
|
|
74
|
+
rollbackGraceTime: string | null;
|
|
75
|
+
rollbackStabilityWindow: string | null;
|
|
76
|
+
nodeSelector: Record<string, string> | null;
|
|
77
|
+
rollout: RolloutConfiguration | null;
|
|
78
|
+
collectorNode: CollectorNode | null;
|
|
79
|
+
collectorGateway: CollectorGateway | null;
|
|
80
|
+
}
|
|
@@ -1,18 +1,20 @@
|
|
|
1
|
-
export declare enum
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
export declare enum NodeTypes {
|
|
2
|
+
Header = "header",
|
|
3
|
+
Add = "add",
|
|
4
|
+
Base = "base",
|
|
5
|
+
Edged = "edged",
|
|
6
|
+
Frame = "frame",
|
|
7
|
+
Scroll = "scroll",
|
|
8
|
+
Skeleton = "skeleton",
|
|
9
|
+
MapItem = "map-item",
|
|
10
|
+
NoData = "no-data"
|
|
9
11
|
}
|
|
10
|
-
export declare enum
|
|
11
|
-
|
|
12
|
+
export declare enum EdgeTypes {
|
|
13
|
+
Labeled = "labeled"
|
|
12
14
|
}
|
|
13
|
-
export declare enum
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
export declare enum AddNodeTypes {
|
|
16
|
+
AddRule = "addRule",
|
|
17
|
+
AddSource = "addSource",
|
|
18
|
+
AddAction = "addAction",
|
|
19
|
+
AddDestination = "addDestination"
|
|
18
20
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
interface EntityProperty {
|
|
1
|
+
export interface EntityProperty {
|
|
2
2
|
name: string;
|
|
3
3
|
value: string;
|
|
4
4
|
status?: string | null;
|
|
@@ -68,20 +68,24 @@ interface OtelAgentsAnalyze {
|
|
|
68
68
|
createTime?: EntityProperty | null;
|
|
69
69
|
containers: ContainerAgentConfigAnalyze[];
|
|
70
70
|
}
|
|
71
|
-
interface InstrumentationInstanceAnalyze {
|
|
71
|
+
export interface InstrumentationInstanceAnalyze {
|
|
72
72
|
healthy: EntityProperty;
|
|
73
73
|
message?: EntityProperty | null;
|
|
74
74
|
identifyingAttributes?: EntityProperty[];
|
|
75
75
|
}
|
|
76
|
-
interface PodContainerAnalyze {
|
|
76
|
+
export interface PodContainerAnalyze {
|
|
77
77
|
containerName: EntityProperty;
|
|
78
78
|
actualDevices: EntityProperty;
|
|
79
|
+
started?: EntityProperty | null;
|
|
80
|
+
ready?: EntityProperty | null;
|
|
79
81
|
instrumentationInstances: InstrumentationInstanceAnalyze[];
|
|
80
82
|
}
|
|
81
83
|
interface PodAnalyze {
|
|
82
84
|
podName: EntityProperty;
|
|
83
85
|
nodeName: EntityProperty;
|
|
84
86
|
phase: EntityProperty;
|
|
87
|
+
agentInjected: EntityProperty;
|
|
88
|
+
runningLatestWorkloadRevision?: EntityProperty | null;
|
|
85
89
|
containers: PodContainerAnalyze[];
|
|
86
90
|
}
|
|
87
91
|
export interface DescribeSource {
|
|
@@ -1,9 +1,78 @@
|
|
|
1
|
-
import type { Comparison } from '@/functions';
|
|
2
1
|
import type { DropdownProps } from '@/components';
|
|
3
|
-
import { type Condition,
|
|
2
|
+
import { type Condition, FieldTypes, SVG } from '../common';
|
|
3
|
+
export declare enum DestinationTypes {
|
|
4
|
+
Alauda = "alauda",
|
|
5
|
+
AlibabaCloud = "alibabacloud",
|
|
6
|
+
AppDynamics = "appdynamics",
|
|
7
|
+
Axiom = "axiom",
|
|
8
|
+
AzureBlob = "azureblob",
|
|
9
|
+
BetterStack = "betterstack",
|
|
10
|
+
Bonree = "bonree",
|
|
11
|
+
Causely = "causely",
|
|
12
|
+
Checkly = "checkly",
|
|
13
|
+
Chronosphere = "chronosphere",
|
|
14
|
+
ClickHouse = "clickhouse",
|
|
15
|
+
CloudWatch = "cloudwatch",
|
|
16
|
+
Coralogix = "coralogix",
|
|
17
|
+
Dash0 = "dash0",
|
|
18
|
+
Datadog = "datadog",
|
|
19
|
+
Dynamic = "dynamic",
|
|
20
|
+
Dynatrace = "dynatrace",
|
|
21
|
+
ElasticApm = "elasticapm",
|
|
22
|
+
ElasticSearch = "elasticsearch",
|
|
23
|
+
GoogleCloud = "googlecloud",
|
|
24
|
+
GoogleCloudOTLP = "googlecloudotlp",
|
|
25
|
+
GrafanaCloudLoki = "grafanacloudloki",
|
|
26
|
+
GrafanaCloudPrometheus = "grafanacloudprometheus",
|
|
27
|
+
GrafanaCloudTempo = "grafanacloudtempo",
|
|
28
|
+
Greptime = "greptime",
|
|
29
|
+
Groundcover = "groundcover",
|
|
30
|
+
Honeycomb = "honeycomb",
|
|
31
|
+
HyperDX = "hyperdx",
|
|
32
|
+
Instana = "instana",
|
|
33
|
+
Jaeger = "jaeger",
|
|
34
|
+
Kafka = "kafka",
|
|
35
|
+
Kloudmate = "kloudmate",
|
|
36
|
+
Last9 = "last9",
|
|
37
|
+
Lightstep = "lightstep",
|
|
38
|
+
LogzIo = "logzio",
|
|
39
|
+
Loki = "loki",
|
|
40
|
+
Lumigo = "lumigo",
|
|
41
|
+
Middleware = "middleware",
|
|
42
|
+
NewRelic = "newrelic",
|
|
43
|
+
Observe = "observe",
|
|
44
|
+
Odigos = "odigos",
|
|
45
|
+
OneUptime = "oneuptime",
|
|
46
|
+
OpenObserve = "openobserve",
|
|
47
|
+
Opsverse = "opsverse",
|
|
48
|
+
Oracle = "oracle",
|
|
49
|
+
OTLP = "otlp",
|
|
50
|
+
OTLPHttp = "otlphttp",
|
|
51
|
+
Prometheus = "prometheus",
|
|
52
|
+
Qryn = "qryn",
|
|
53
|
+
QrynOss = "qryn-oss",
|
|
54
|
+
Quickwit = "quickwit",
|
|
55
|
+
S3 = "s3",
|
|
56
|
+
Seq = "seq",
|
|
57
|
+
Signoz = "signoz",
|
|
58
|
+
Splunk = "splunk",
|
|
59
|
+
SplunkSapm = "splunksapm",
|
|
60
|
+
SplunkOtlp = "splunkotlp",
|
|
61
|
+
SumoLogic = "sumologic",
|
|
62
|
+
TelemetryHub = "telemetryhub",
|
|
63
|
+
Tempo = "tempo",
|
|
64
|
+
Tingyun = "tingyun",
|
|
65
|
+
Traceloop = "traceloop",
|
|
66
|
+
Uptrace = "uptrace",
|
|
67
|
+
VictoriaMetrics = "victoriametrics",
|
|
68
|
+
VictoriaMetricsCloud = "victoriametricscloud",
|
|
69
|
+
XRay = "xray"
|
|
70
|
+
}
|
|
4
71
|
export interface Destination {
|
|
5
72
|
id: string;
|
|
6
73
|
name: string;
|
|
74
|
+
disabled: boolean;
|
|
75
|
+
dataStreamNames: string[];
|
|
7
76
|
exportedSignals: {
|
|
8
77
|
traces: boolean;
|
|
9
78
|
metrics: boolean;
|
|
@@ -12,9 +81,8 @@ export interface Destination {
|
|
|
12
81
|
fields: string;
|
|
13
82
|
conditions: Condition[] | null;
|
|
14
83
|
destinationType: {
|
|
15
|
-
type:
|
|
84
|
+
type: DestinationTypes;
|
|
16
85
|
displayName: string;
|
|
17
|
-
imageUrl: string;
|
|
18
86
|
supportedSignals: {
|
|
19
87
|
logs: {
|
|
20
88
|
supported: boolean;
|
|
@@ -28,10 +96,12 @@ export interface Destination {
|
|
|
28
96
|
};
|
|
29
97
|
};
|
|
30
98
|
}
|
|
31
|
-
type
|
|
99
|
+
export type ComparisonStrings = '===' | '==' | '!==' | '!=' | '>' | '<' | '>=' | '<=';
|
|
100
|
+
export type ComparisonArrays = 'INCLUDES' | 'EXCLUDES';
|
|
101
|
+
export type YamlCompareArr = [string | 'SIGNALS', ComparisonStrings | ComparisonArrays, string] | ['true' | 'false'];
|
|
32
102
|
export interface DestinationYamlProperties {
|
|
33
103
|
name: string;
|
|
34
|
-
componentType:
|
|
104
|
+
componentType: FieldTypes;
|
|
35
105
|
componentProperties?: string;
|
|
36
106
|
displayName?: string;
|
|
37
107
|
secret?: boolean;
|
|
@@ -45,26 +115,30 @@ export interface DestinationYamlProperties {
|
|
|
45
115
|
}[];
|
|
46
116
|
}
|
|
47
117
|
export interface DestinationOption {
|
|
118
|
+
id?: string;
|
|
119
|
+
selected?: boolean;
|
|
48
120
|
type: Destination['destinationType']['type'];
|
|
49
121
|
displayName: Destination['destinationType']['displayName'];
|
|
50
|
-
imageUrl: Destination['destinationType']['imageUrl'];
|
|
51
122
|
supportedSignals: Destination['destinationType']['supportedSignals'];
|
|
52
123
|
testConnectionSupported: boolean;
|
|
53
124
|
fields: DestinationYamlProperties[];
|
|
54
125
|
}
|
|
55
126
|
export type DestinationCategories = {
|
|
56
|
-
|
|
127
|
+
icon?: SVG;
|
|
128
|
+
name: string;
|
|
57
129
|
description: string;
|
|
58
130
|
items: DestinationOption[];
|
|
59
131
|
}[];
|
|
60
132
|
export interface DestinationFormData {
|
|
61
133
|
type: Destination['destinationType']['type'];
|
|
62
134
|
name: Destination['destinationType']['displayName'];
|
|
135
|
+
currentStreamName: string;
|
|
63
136
|
exportedSignals: Destination['exportedSignals'];
|
|
64
137
|
fields: {
|
|
65
138
|
key: string;
|
|
66
139
|
value: string;
|
|
67
140
|
}[];
|
|
141
|
+
disabled: Destination['disabled'];
|
|
68
142
|
}
|
|
69
143
|
export interface DestinationDynamicField {
|
|
70
144
|
name: DestinationYamlProperties['name'];
|
|
@@ -77,4 +151,10 @@ export interface DestinationDynamicField {
|
|
|
77
151
|
placeholder?: string;
|
|
78
152
|
options?: DropdownProps['options'];
|
|
79
153
|
}
|
|
80
|
-
export {
|
|
154
|
+
export interface TestConnectionResponse {
|
|
155
|
+
succeeded: boolean;
|
|
156
|
+
message: string;
|
|
157
|
+
reason: string;
|
|
158
|
+
destinationType?: DestinationTypes;
|
|
159
|
+
}
|
|
160
|
+
export type TestConnectionFunc = (payload: DestinationFormData) => Promise<TestConnectionResponse | undefined>;
|
package/lib/types/index.d.ts
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
export * from './actions';
|
|
2
2
|
export * from './common';
|
|
3
|
-
export * from './
|
|
3
|
+
export * from './config';
|
|
4
4
|
export * from './data-flow';
|
|
5
|
+
export * from './data-streams';
|
|
5
6
|
export * from './describe';
|
|
6
7
|
export * from './destinations';
|
|
8
|
+
export * from './instrumentation-instances';
|
|
7
9
|
export * from './instrumentation-rules';
|
|
8
10
|
export * from './metrics';
|
|
9
11
|
export * from './namespaces';
|
|
12
|
+
export * from './service-map';
|
|
10
13
|
export * from './signals';
|
|
11
14
|
export * from './sources';
|
|
12
15
|
export * from './tokens';
|
|
16
|
+
export * from './traces';
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import type { SVG } from '../common';
|
|
2
1
|
import type { WorkloadId } from '../sources';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
import type { ProgrammingLanguages, SVG } from '../common';
|
|
3
|
+
export declare enum InstrumentationRuleType {
|
|
4
|
+
CodeAttributes = "CodeAttributes",
|
|
5
|
+
HeadersCollection = "HeadersCollection",
|
|
6
|
+
PayloadCollection = "PayloadCollection",
|
|
7
|
+
CustomInstrumentation = "CustomInstrumentation",
|
|
8
|
+
UnknownType = "UnknownType"
|
|
7
9
|
}
|
|
8
10
|
export interface InstrumentationRule {
|
|
9
11
|
ruleId: string;
|
|
10
12
|
ruleName: string;
|
|
11
|
-
type:
|
|
13
|
+
type: InstrumentationRuleType;
|
|
12
14
|
notes: string;
|
|
13
15
|
disabled: boolean;
|
|
14
16
|
mutable: boolean;
|
|
@@ -18,8 +20,50 @@ export interface InstrumentationRule {
|
|
|
18
20
|
language: string;
|
|
19
21
|
library: string;
|
|
20
22
|
}[] | null;
|
|
21
|
-
payloadCollection?: PayloadCollection | null;
|
|
22
23
|
codeAttributes?: CodeAttributes | null;
|
|
24
|
+
headersCollection?: HeadersCollection | null;
|
|
25
|
+
payloadCollection?: PayloadCollection | null;
|
|
26
|
+
customInstrumentations?: CustomInstrumentations | null;
|
|
27
|
+
}
|
|
28
|
+
export declare enum CodeAttributesKeyTypes {
|
|
29
|
+
Column = "column",
|
|
30
|
+
FilePath = "filePath",
|
|
31
|
+
Function = "function",
|
|
32
|
+
LineNumber = "lineNumber",
|
|
33
|
+
Namespace = "namespace",
|
|
34
|
+
StackTrace = "stacktrace"
|
|
35
|
+
}
|
|
36
|
+
export interface CodeAttributes {
|
|
37
|
+
[CodeAttributesKeyTypes.Column]?: boolean | null;
|
|
38
|
+
[CodeAttributesKeyTypes.FilePath]?: boolean | null;
|
|
39
|
+
[CodeAttributesKeyTypes.Function]?: boolean | null;
|
|
40
|
+
[CodeAttributesKeyTypes.LineNumber]?: boolean | null;
|
|
41
|
+
[CodeAttributesKeyTypes.Namespace]?: boolean | null;
|
|
42
|
+
[CodeAttributesKeyTypes.StackTrace]?: boolean | null;
|
|
43
|
+
}
|
|
44
|
+
export declare enum HeadersCollectionKeyTypes {
|
|
45
|
+
HeaderKeys = "headerKeys"
|
|
46
|
+
}
|
|
47
|
+
export interface HeadersCollection {
|
|
48
|
+
[HeadersCollectionKeyTypes.HeaderKeys]?: string[] | null;
|
|
49
|
+
}
|
|
50
|
+
export declare enum CustomInstrumentationsKeyTypes {
|
|
51
|
+
Java = "java",
|
|
52
|
+
Golang = "golang"
|
|
53
|
+
}
|
|
54
|
+
export interface JavaCustomProbe {
|
|
55
|
+
className: string;
|
|
56
|
+
methodName: string;
|
|
57
|
+
}
|
|
58
|
+
export interface GolangCustomProbe {
|
|
59
|
+
packageName: string;
|
|
60
|
+
functionName: string | null;
|
|
61
|
+
receiverName?: string | null;
|
|
62
|
+
receiverMethodName?: string | null;
|
|
63
|
+
}
|
|
64
|
+
export interface CustomInstrumentations {
|
|
65
|
+
[CustomInstrumentationsKeyTypes.Java]?: JavaCustomProbe[] | null;
|
|
66
|
+
[CustomInstrumentationsKeyTypes.Golang]?: GolangCustomProbe[] | null;
|
|
23
67
|
}
|
|
24
68
|
interface HttpPayloadCollection {
|
|
25
69
|
mimeTypes?: string[] | null;
|
|
@@ -34,41 +78,26 @@ interface MessagingPayloadCollection {
|
|
|
34
78
|
maxPayloadLength?: number | null;
|
|
35
79
|
dropPartialPayloads?: boolean | null;
|
|
36
80
|
}
|
|
37
|
-
export declare enum
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
81
|
+
export declare enum PayloadCollectionKeyTypes {
|
|
82
|
+
HttpRequest = "httpRequest",
|
|
83
|
+
HttpResponse = "httpResponse",
|
|
84
|
+
DbQuery = "dbQuery",
|
|
85
|
+
Messaging = "messaging"
|
|
42
86
|
}
|
|
43
87
|
export interface PayloadCollection {
|
|
44
|
-
[
|
|
45
|
-
[
|
|
46
|
-
[
|
|
47
|
-
[
|
|
48
|
-
}
|
|
49
|
-
export declare enum CODE_ATTRIBUTES_KEY_TYPES {
|
|
50
|
-
COLUMN = "column",
|
|
51
|
-
FILE_PATH = "filePath",
|
|
52
|
-
FUNCTION = "function",
|
|
53
|
-
LINE_NUMBER = "lineNumber",
|
|
54
|
-
NAMESPACE = "namespace",
|
|
55
|
-
STACKTRACE = "stacktrace"
|
|
56
|
-
}
|
|
57
|
-
export interface CodeAttributes {
|
|
58
|
-
[CODE_ATTRIBUTES_KEY_TYPES.COLUMN]?: boolean | null;
|
|
59
|
-
[CODE_ATTRIBUTES_KEY_TYPES.FILE_PATH]?: boolean | null;
|
|
60
|
-
[CODE_ATTRIBUTES_KEY_TYPES.FUNCTION]?: boolean | null;
|
|
61
|
-
[CODE_ATTRIBUTES_KEY_TYPES.LINE_NUMBER]?: boolean | null;
|
|
62
|
-
[CODE_ATTRIBUTES_KEY_TYPES.NAMESPACE]?: boolean | null;
|
|
63
|
-
[CODE_ATTRIBUTES_KEY_TYPES.STACKTRACE]?: boolean | null;
|
|
88
|
+
[PayloadCollectionKeyTypes.HttpRequest]?: HttpPayloadCollection | null;
|
|
89
|
+
[PayloadCollectionKeyTypes.HttpResponse]?: HttpPayloadCollection | null;
|
|
90
|
+
[PayloadCollectionKeyTypes.DbQuery]?: DbQueryPayloadCollection | null;
|
|
91
|
+
[PayloadCollectionKeyTypes.Messaging]?: MessagingPayloadCollection | null;
|
|
64
92
|
}
|
|
65
93
|
export interface InstrumentationRuleOption {
|
|
66
|
-
type:
|
|
94
|
+
type: InstrumentationRuleType;
|
|
67
95
|
icon: SVG;
|
|
68
96
|
label: string;
|
|
69
|
-
description
|
|
70
|
-
docsEndpoint
|
|
71
|
-
docsDescription
|
|
97
|
+
description: string;
|
|
98
|
+
docsEndpoint: string;
|
|
99
|
+
docsDescription: string;
|
|
100
|
+
supportedLanguages: ProgrammingLanguages[];
|
|
72
101
|
}
|
|
73
102
|
export type InstrumentationRuleFormData = Omit<InstrumentationRule, 'ruleId' | 'type' | 'mutable' | 'profileName'>;
|
|
74
103
|
export {};
|
|
@@ -2,5 +2,19 @@ import type { Source } from '../sources';
|
|
|
2
2
|
export interface Namespace {
|
|
3
3
|
name: string;
|
|
4
4
|
selected: boolean;
|
|
5
|
+
dataStreamNames: string[];
|
|
5
6
|
sources?: Source[];
|
|
6
7
|
}
|
|
8
|
+
export type FetchSingleNamespace = (payload: {
|
|
9
|
+
variables: {
|
|
10
|
+
namespaceName: string;
|
|
11
|
+
};
|
|
12
|
+
}) => Promise<{
|
|
13
|
+
loading: boolean;
|
|
14
|
+
error?: string;
|
|
15
|
+
data?: {
|
|
16
|
+
computePlatform?: {
|
|
17
|
+
k8sActualNamespace?: Namespace;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
}>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface ServiceMapFromSource {
|
|
2
|
+
serviceName: string;
|
|
3
|
+
services: ServiceMapToSource[];
|
|
4
|
+
}
|
|
5
|
+
export interface ServiceMapToSource {
|
|
6
|
+
serviceName: string;
|
|
7
|
+
requests: number;
|
|
8
|
+
dateTime: string;
|
|
9
|
+
}
|
|
10
|
+
export type ServiceMapSources = ServiceMapFromSource[];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare enum
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export declare enum SignalType {
|
|
2
|
+
Logs = "logs",
|
|
3
|
+
Metrics = "metrics",
|
|
4
|
+
Traces = "traces"
|
|
5
5
|
}
|
|
6
6
|
export interface MonitorsOption {
|
|
7
|
-
id:
|
|
7
|
+
id: SignalType;
|
|
8
8
|
value: string;
|
|
9
9
|
}
|
|
@@ -1,33 +1,55 @@
|
|
|
1
|
-
import { type Condition,
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { type Condition, ProgrammingLanguages } from '../common';
|
|
2
|
+
import type { NamespaceSelectionFormData, SourceSelectionFormData } from '@/store';
|
|
3
|
+
export declare enum K8sResourceKind {
|
|
4
|
+
Deployment = "Deployment",
|
|
5
|
+
DaemonSet = "DaemonSet",
|
|
6
|
+
StatefulSet = "StatefulSet",
|
|
7
|
+
CronJob = "CronJob"
|
|
8
|
+
}
|
|
9
|
+
export declare enum OdigosHealthStatus {
|
|
10
|
+
Error = "Error",
|
|
11
|
+
Failure = "Failure",
|
|
12
|
+
Notice = "Notice",
|
|
13
|
+
Pending = "Pending",
|
|
14
|
+
Waiting = "Waiting",
|
|
15
|
+
Unsupported = "Unsupported",
|
|
16
|
+
Disabled = "Disabled",
|
|
17
|
+
Success = "Success",
|
|
18
|
+
Irrelevant = "Irrelevant",
|
|
19
|
+
Unknown = "Unknown"
|
|
6
20
|
}
|
|
7
21
|
export interface WorkloadId {
|
|
8
22
|
namespace: string;
|
|
9
23
|
name: string;
|
|
10
|
-
kind:
|
|
24
|
+
kind: K8sResourceKind | '';
|
|
25
|
+
}
|
|
26
|
+
export interface SourceContainer {
|
|
27
|
+
containerName: string;
|
|
28
|
+
language: ProgrammingLanguages;
|
|
29
|
+
runtimeVersion: string;
|
|
30
|
+
overriden?: boolean;
|
|
31
|
+
instrumented: boolean;
|
|
32
|
+
instrumentationMessage: string;
|
|
33
|
+
otelDistroName: string | null;
|
|
11
34
|
}
|
|
12
35
|
export interface Source extends WorkloadId {
|
|
13
36
|
selected: boolean;
|
|
14
37
|
otelServiceName: string;
|
|
15
38
|
numberOfInstances?: number;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
language: PROGRAMMING_LANGUAGES;
|
|
19
|
-
runtimeVersion: string;
|
|
20
|
-
instrumented: boolean;
|
|
21
|
-
instrumentationMessage: string;
|
|
22
|
-
otelDistroName: string | null;
|
|
23
|
-
}[] | null;
|
|
39
|
+
dataStreamNames: string[];
|
|
40
|
+
containers: SourceContainer[] | null;
|
|
24
41
|
conditions: Condition[] | null;
|
|
42
|
+
workloadOdigosHealthStatus?: {
|
|
43
|
+
status: OdigosHealthStatus;
|
|
44
|
+
reasonEnum: string;
|
|
45
|
+
message: string;
|
|
46
|
+
} | null;
|
|
25
47
|
}
|
|
26
48
|
export interface SourceFormData {
|
|
27
|
-
otelServiceName
|
|
49
|
+
otelServiceName?: string;
|
|
50
|
+
currentStreamName?: string;
|
|
51
|
+
containerName?: string;
|
|
52
|
+
language?: ProgrammingLanguages | null;
|
|
53
|
+
version?: string;
|
|
28
54
|
}
|
|
29
|
-
export type PersistSources = (selectAppsList:
|
|
30
|
-
[namespace: string]: Pick<Source, 'name' | 'kind' | 'selected'>[];
|
|
31
|
-
}, futureSelectAppsList: {
|
|
32
|
-
[namespace: string]: boolean;
|
|
33
|
-
}) => void;
|
|
55
|
+
export type PersistSources = (selectAppsList: SourceSelectionFormData, futureSelectAppsList: NamespaceSelectionFormData) => void;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
interface TraceTag {
|
|
2
|
+
key: string;
|
|
3
|
+
type: string;
|
|
4
|
+
value: string;
|
|
5
|
+
}
|
|
6
|
+
interface TraceReference {
|
|
7
|
+
refType: string;
|
|
8
|
+
traceID: string;
|
|
9
|
+
spanID: string;
|
|
10
|
+
}
|
|
11
|
+
export interface TraceLog {
|
|
12
|
+
timestamp: number;
|
|
13
|
+
fields: TraceTag[];
|
|
14
|
+
}
|
|
15
|
+
export interface TraceSpan {
|
|
16
|
+
traceID: string;
|
|
17
|
+
spanID: string;
|
|
18
|
+
operationName: string;
|
|
19
|
+
references: TraceReference[];
|
|
20
|
+
startTime: number;
|
|
21
|
+
duration: number;
|
|
22
|
+
tags: TraceTag[];
|
|
23
|
+
logs: TraceLog[];
|
|
24
|
+
processID: string;
|
|
25
|
+
warnings: string;
|
|
26
|
+
spans?: TraceSpan[];
|
|
27
|
+
}
|
|
28
|
+
export interface TraceProcess {
|
|
29
|
+
serviceName: string;
|
|
30
|
+
tags: TraceTag[];
|
|
31
|
+
}
|
|
32
|
+
export interface Trace {
|
|
33
|
+
traceID: string;
|
|
34
|
+
spans: TraceSpan[];
|
|
35
|
+
processes: TraceProcess[];
|
|
36
|
+
warnings: string;
|
|
37
|
+
}
|
|
38
|
+
export {};
|