@kylincloud/flamegraph 0.35.6
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 +1211 -0
- package/LICENSE +202 -0
- package/README.md +251 -0
- package/dist/FlameGraph/FlameGraphComponent/CheckIcon.d.ts +2 -0
- package/dist/FlameGraph/FlameGraphComponent/CheckIcon.d.ts.map +1 -0
- package/dist/FlameGraph/FlameGraphComponent/ContextMenu.d.ts +17 -0
- package/dist/FlameGraph/FlameGraphComponent/ContextMenu.d.ts.map +1 -0
- package/dist/FlameGraph/FlameGraphComponent/ContextMenuHighlight.d.ts +14 -0
- package/dist/FlameGraph/FlameGraphComponent/ContextMenuHighlight.d.ts.map +1 -0
- package/dist/FlameGraph/FlameGraphComponent/DiffLegend.d.ts +9 -0
- package/dist/FlameGraph/FlameGraphComponent/DiffLegend.d.ts.map +1 -0
- package/dist/FlameGraph/FlameGraphComponent/DiffLegendPaletteDropdown.d.ts +8 -0
- package/dist/FlameGraph/FlameGraphComponent/DiffLegendPaletteDropdown.d.ts.map +1 -0
- package/dist/FlameGraph/FlameGraphComponent/Flamegraph.d.ts +96 -0
- package/dist/FlameGraph/FlameGraphComponent/Flamegraph.d.ts.map +1 -0
- package/dist/FlameGraph/FlameGraphComponent/Flamegraph_render.d.ts +27 -0
- package/dist/FlameGraph/FlameGraphComponent/Flamegraph_render.d.ts.map +1 -0
- package/dist/FlameGraph/FlameGraphComponent/GraphVizPane.d.ts +7 -0
- package/dist/FlameGraph/FlameGraphComponent/GraphVizPane.d.ts.map +1 -0
- package/dist/FlameGraph/FlameGraphComponent/Header.d.ts +12 -0
- package/dist/FlameGraph/FlameGraphComponent/Header.d.ts.map +1 -0
- package/dist/FlameGraph/FlameGraphComponent/Highlight.d.ts +18 -0
- package/dist/FlameGraph/FlameGraphComponent/Highlight.d.ts.map +1 -0
- package/dist/FlameGraph/FlameGraphComponent/LogoLink.d.ts +2 -0
- package/dist/FlameGraph/FlameGraphComponent/LogoLink.d.ts.map +1 -0
- package/dist/FlameGraph/FlameGraphComponent/color.d.ts +20 -0
- package/dist/FlameGraph/FlameGraphComponent/color.d.ts.map +1 -0
- package/dist/FlameGraph/FlameGraphComponent/colorPalette.d.ts +11 -0
- package/dist/FlameGraph/FlameGraphComponent/colorPalette.d.ts.map +1 -0
- package/dist/FlameGraph/FlameGraphComponent/constants.d.ts +6 -0
- package/dist/FlameGraph/FlameGraphComponent/constants.d.ts.map +1 -0
- package/dist/FlameGraph/FlameGraphComponent/index.d.ts +37 -0
- package/dist/FlameGraph/FlameGraphComponent/index.d.ts.map +1 -0
- package/dist/FlameGraph/FlameGraphComponent/murmur3.d.ts +2 -0
- package/dist/FlameGraph/FlameGraphComponent/murmur3.d.ts.map +1 -0
- package/dist/FlameGraph/FlameGraphComponent/testData.d.ts +53 -0
- package/dist/FlameGraph/FlameGraphComponent/testData.d.ts.map +1 -0
- package/dist/FlameGraph/FlameGraphComponent/utils.d.ts +6 -0
- package/dist/FlameGraph/FlameGraphComponent/utils.d.ts.map +1 -0
- package/dist/FlameGraph/FlameGraphComponent/viewTypes.d.ts +2 -0
- package/dist/FlameGraph/FlameGraphComponent/viewTypes.d.ts.map +1 -0
- package/dist/FlameGraph/FlameGraphRenderer.d.ts +86 -0
- package/dist/FlameGraph/FlameGraphRenderer.d.ts.map +1 -0
- package/dist/FlameGraph/decode.d.ts +27 -0
- package/dist/FlameGraph/decode.d.ts.map +1 -0
- package/dist/FlameGraph/normalize.d.ts +6 -0
- package/dist/FlameGraph/normalize.d.ts.map +1 -0
- package/dist/FlameGraph/uniqueness.d.ts +3 -0
- package/dist/FlameGraph/uniqueness.d.ts.map +1 -0
- package/dist/FlamegraphRenderer.d.ts +19 -0
- package/dist/FlamegraphRenderer.d.ts.map +1 -0
- package/dist/Icons.d.ts +9 -0
- package/dist/Icons.d.ts.map +1 -0
- package/dist/ProfilerTable.d.ts +21 -0
- package/dist/ProfilerTable.d.ts.map +1 -0
- package/dist/SharedQueryInput.d.ts +10 -0
- package/dist/SharedQueryInput.d.ts.map +1 -0
- package/dist/Toolbar.d.ts +31 -0
- package/dist/Toolbar.d.ts.map +1 -0
- package/dist/Tooltip/FlamegraphTooltip.d.ts +59 -0
- package/dist/Tooltip/FlamegraphTooltip.d.ts.map +1 -0
- package/dist/Tooltip/LeftClickIcon.d.ts +2 -0
- package/dist/Tooltip/LeftClickIcon.d.ts.map +1 -0
- package/dist/Tooltip/RightClickIcon.d.ts +2 -0
- package/dist/Tooltip/RightClickIcon.d.ts.map +1 -0
- package/dist/Tooltip/TableTooltip.d.ts +12 -0
- package/dist/Tooltip/TableTooltip.d.ts.map +1 -0
- package/dist/Tooltip/Tooltip.d.ts +29 -0
- package/dist/Tooltip/Tooltip.d.ts.map +1 -0
- package/dist/convert/convertJaegerTraceToProfile.d.ts +3 -0
- package/dist/convert/convertJaegerTraceToProfile.d.ts.map +1 -0
- package/dist/convert/diffTwoProfiles.d.ts +3 -0
- package/dist/convert/diffTwoProfiles.d.ts.map +1 -0
- package/dist/convert/flamebearersToTree.d.ts +11 -0
- package/dist/convert/flamebearersToTree.d.ts.map +1 -0
- package/dist/convert/sandwichViewProfiles.d.ts +14 -0
- package/dist/convert/sandwichViewProfiles.d.ts.map +1 -0
- package/dist/convert/subtract.d.ts +3 -0
- package/dist/convert/subtract.d.ts.map +1 -0
- package/dist/convert/testData.d.ts +50 -0
- package/dist/convert/testData.d.ts.map +1 -0
- package/dist/convert/toGraphviz.d.ts +3 -0
- package/dist/convert/toGraphviz.d.ts.map +1 -0
- package/dist/fitMode/fitMode.d.ts +42 -0
- package/dist/fitMode/fitMode.d.ts.map +1 -0
- package/dist/format/format.d.ts +42 -0
- package/dist/format/format.d.ts.map +1 -0
- package/dist/i18n.d.ts +55 -0
- package/dist/i18n.d.ts.map +1 -0
- package/dist/index.cjs.css +792 -0
- package/dist/index.cjs.js +5087 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.esm.css +792 -0
- package/dist/index.esm.js +5079 -0
- package/dist/index.node.d.ts +9 -0
- package/dist/index.node.d.ts.map +1 -0
- package/dist/logo-v3-small-T5VXIMRR.svg +32 -0
- package/dist/models/decode.d.ts +3 -0
- package/dist/models/decode.d.ts.map +1 -0
- package/dist/models/flamebearer.d.ts +63 -0
- package/dist/models/flamebearer.d.ts.map +1 -0
- package/dist/models/groups.d.ts +37 -0
- package/dist/models/groups.d.ts.map +1 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.d.ts.map +1 -0
- package/dist/models/profile.d.ts +152 -0
- package/dist/models/profile.d.ts.map +1 -0
- package/dist/models/spyName.d.ts +8 -0
- package/dist/models/spyName.d.ts.map +1 -0
- package/dist/models/trace.d.ts +357 -0
- package/dist/models/trace.d.ts.map +1 -0
- package/dist/models/units.d.ts +6 -0
- package/dist/models/units.d.ts.map +1 -0
- package/dist/search.d.ts +2 -0
- package/dist/search.d.ts.map +1 -0
- package/dist/shims/Box.d.ts +38 -0
- package/dist/shims/Box.d.ts.map +1 -0
- package/dist/shims/Button.d.ts +26 -0
- package/dist/shims/Button.d.ts.map +1 -0
- package/dist/shims/Dropdown.d.ts +30 -0
- package/dist/shims/Dropdown.d.ts.map +1 -0
- package/dist/shims/Input.d.ts +19 -0
- package/dist/shims/Input.d.ts.map +1 -0
- package/dist/shims/LoadingSpinner.d.ts +7 -0
- package/dist/shims/LoadingSpinner.d.ts.map +1 -0
- package/dist/shims/Menu.d.ts +4 -0
- package/dist/shims/Menu.d.ts.map +1 -0
- package/dist/shims/NoData.d.ts +2 -0
- package/dist/shims/NoData.d.ts.map +1 -0
- package/dist/shims/Table.d.ts +52 -0
- package/dist/shims/Table.d.ts.map +1 -0
- package/dist/shims/Tooltip.d.ts +9 -0
- package/dist/shims/Tooltip.d.ts.map +1 -0
- package/package.json +84 -0
- package/src/FlameGraph/FlameGraphComponent/CheckIcon.tsx +27 -0
- package/src/FlameGraph/FlameGraphComponent/ContextMenu.module.scss +10 -0
- package/src/FlameGraph/FlameGraphComponent/ContextMenu.spec.tsx +84 -0
- package/src/FlameGraph/FlameGraphComponent/ContextMenu.tsx +86 -0
- package/src/FlameGraph/FlameGraphComponent/ContextMenuHighlight.module.css +8 -0
- package/src/FlameGraph/FlameGraphComponent/ContextMenuHighlight.tsx +47 -0
- package/src/FlameGraph/FlameGraphComponent/DiffLegend.module.css +21 -0
- package/src/FlameGraph/FlameGraphComponent/DiffLegend.tsx +52 -0
- package/src/FlameGraph/FlameGraphComponent/DiffLegendPaletteDropdown.module.css +40 -0
- package/src/FlameGraph/FlameGraphComponent/DiffLegendPaletteDropdown.tsx +129 -0
- package/src/FlameGraph/FlameGraphComponent/Flamegraph.spec.ts +552 -0
- package/src/FlameGraph/FlameGraphComponent/Flamegraph.ts +446 -0
- package/src/FlameGraph/FlameGraphComponent/Flamegraph_render.spec.tsx +233 -0
- package/src/FlameGraph/FlameGraphComponent/Flamegraph_render.ts +478 -0
- package/src/FlameGraph/FlameGraphComponent/GraphVizPane.tsx +56 -0
- package/src/FlameGraph/FlameGraphComponent/GraphVizPanel.module.scss +55 -0
- package/src/FlameGraph/FlameGraphComponent/Header.module.css +27 -0
- package/src/FlameGraph/FlameGraphComponent/Header.tsx +71 -0
- package/src/FlameGraph/FlameGraphComponent/Highlight.module.css +7 -0
- package/src/FlameGraph/FlameGraphComponent/Highlight.spec.tsx +53 -0
- package/src/FlameGraph/FlameGraphComponent/Highlight.tsx +94 -0
- package/src/FlameGraph/FlameGraphComponent/LogoLink.module.scss +10 -0
- package/src/FlameGraph/FlameGraphComponent/LogoLink.tsx +101 -0
- package/src/FlameGraph/FlameGraphComponent/__image_snapshots__/canvas-renderer-spec-tsx-canvas-renderer-group-snapshot-collapses-small-blocks-into-one-1-snap.png +0 -0
- package/src/FlameGraph/FlameGraphComponent/__image_snapshots__/canvas-renderer-spec-tsx-canvas-renderer-group-snapshot-works-with-diff-mode-1-snap.png +0 -0
- package/src/FlameGraph/FlameGraphComponent/__image_snapshots__/canvas-renderer-spec-tsx-canvas-renderer-group-snapshot-works-with-highlighted-flamegraph-1-snap.png +0 -0
- package/src/FlameGraph/FlameGraphComponent/__image_snapshots__/canvas-renderer-spec-tsx-canvas-renderer-group-snapshot-works-with-normal-flamegraph-1-snap.png +0 -0
- package/src/FlameGraph/FlameGraphComponent/__image_snapshots__/canvas-renderer-spec-tsx-canvas-renderer-group-snapshot-works-with-selected-node-1-snap.png +0 -0
- package/src/FlameGraph/FlameGraphComponent/__image_snapshots__/flamegraph-render-spec-tsx-render-group-snapshot-focused-also-zooms-1-snap.png +0 -0
- package/src/FlameGraph/FlameGraphComponent/__image_snapshots__/flamegraph-render-spec-tsx-render-group-snapshot-focused-renders-a-focused-node-in-the-beginning-1-snap.png +0 -0
- package/src/FlameGraph/FlameGraphComponent/__image_snapshots__/flamegraph-render-spec-tsx-render-group-snapshot-focused-renders-a-focused-node-when-node-is-not-in-the-beginning-1-snap.png +0 -0
- package/src/FlameGraph/FlameGraphComponent/__image_snapshots__/flamegraph-render-spec-tsx-render-group-snapshot-focused-renders-a-focused-node-zoom-top-level-1-snap.png +0 -0
- package/src/FlameGraph/FlameGraphComponent/__image_snapshots__/flamegraph-render-spec-tsx-render-group-snapshot-renders-a-complex-flamegraph-1-snap.png +0 -0
- package/src/FlameGraph/FlameGraphComponent/__image_snapshots__/flamegraph-render-spec-tsx-render-group-snapshot-renders-a-double-diff-flamegraph-1-snap.png +0 -0
- package/src/FlameGraph/FlameGraphComponent/__image_snapshots__/flamegraph-render-spec-tsx-render-group-snapshot-renders-a-highlighted-double-flamegraph-1-snap.png +0 -0
- package/src/FlameGraph/FlameGraphComponent/__image_snapshots__/flamegraph-render-spec-tsx-render-group-snapshot-renders-a-highlighted-flamegraph-1-snap.png +0 -0
- package/src/FlameGraph/FlameGraphComponent/__image_snapshots__/flamegraph-render-spec-tsx-render-group-snapshot-renders-a-simple-flamegraph-1-snap.png +0 -0
- package/src/FlameGraph/FlameGraphComponent/__image_snapshots__/flamegraph-render-spec-tsx-render-group-snapshot-renders-a-simple-tree-1-snap.png +0 -0
- package/src/FlameGraph/FlameGraphComponent/__image_snapshots__/flamegraph-render-spec-tsx-render-group-snapshot-renders-a-zoomed-flamegraph-1-snap.png +0 -0
- package/src/FlameGraph/FlameGraphComponent/__image_snapshots__/flamegraph-render-spec-tsx-render-group-snapshot-renders-a-zoomed-with-fit-mode-tail-1-snap.png +0 -0
- package/src/FlameGraph/FlameGraphComponent/canvas.module.css +6 -0
- package/src/FlameGraph/FlameGraphComponent/color.spec.ts +308 -0
- package/src/FlameGraph/FlameGraphComponent/color.ts +167 -0
- package/src/FlameGraph/FlameGraphComponent/colorPalette.ts +58 -0
- package/src/FlameGraph/FlameGraphComponent/constants.ts +5 -0
- package/src/FlameGraph/FlameGraphComponent/index.spec.tsx +291 -0
- package/src/FlameGraph/FlameGraphComponent/index.tsx +411 -0
- package/src/FlameGraph/FlameGraphComponent/murmur3.ts +97 -0
- package/src/FlameGraph/FlameGraphComponent/styles.module.scss +10 -0
- package/src/FlameGraph/FlameGraphComponent/testData.ts +427 -0
- package/src/FlameGraph/FlameGraphComponent/utils.ts +31 -0
- package/src/FlameGraph/FlameGraphComponent/viewTypes.ts +6 -0
- package/src/FlameGraph/FlameGraphRenderer.tsx +603 -0
- package/src/FlameGraph/FlamegraphRenderer.module.scss +93 -0
- package/src/FlameGraph/decode.ts +78 -0
- package/src/FlameGraph/normalize.spec.ts +76 -0
- package/src/FlameGraph/normalize.ts +60 -0
- package/src/FlameGraph/testData.json +423 -0
- package/src/FlameGraph/uniqueness.spec.ts +16 -0
- package/src/FlameGraph/uniqueness.ts +84 -0
- package/src/FlamegraphRenderer.tsx +61 -0
- package/src/Icons.tsx +74 -0
- package/src/ProfilerTable.tsx +527 -0
- package/src/SharedQueryInput.module.scss +82 -0
- package/src/SharedQueryInput.tsx +127 -0
- package/src/Toolbar.module.scss +117 -0
- package/src/Toolbar.spec.tsx +217 -0
- package/src/Toolbar.tsx +471 -0
- package/src/Tooltip/FlamegraphTooltip.spec.tsx +81 -0
- package/src/Tooltip/FlamegraphTooltip.tsx +257 -0
- package/src/Tooltip/LeftClickIcon.tsx +18 -0
- package/src/Tooltip/RightClickIcon.tsx +18 -0
- package/src/Tooltip/TableTooltip.spec.tsx +44 -0
- package/src/Tooltip/TableTooltip.tsx +145 -0
- package/src/Tooltip/Tooltip.module.scss +71 -0
- package/src/Tooltip/Tooltip.spec.tsx +395 -0
- package/src/Tooltip/Tooltip.tsx +336 -0
- package/src/__snapshots__/Toolbar.spec.tsx.snap +297 -0
- package/src/convert/convertJaegerTraceToProfile.ts +97 -0
- package/src/convert/diffTwoProfiles.ts +81 -0
- package/src/convert/flamebearersToTree.ts +78 -0
- package/src/convert/sandwichViewProfiles.spec.ts +65 -0
- package/src/convert/sandwichViewProfiles.ts +191 -0
- package/src/convert/subtract.ts +87 -0
- package/src/convert/testData.ts +145 -0
- package/src/convert/toGraphviz.ts +485 -0
- package/src/fitMode/fitMode.spec.ts +93 -0
- package/src/fitMode/fitMode.ts +122 -0
- package/src/format/format.spec.ts +291 -0
- package/src/format/format.ts +303 -0
- package/src/globals.d.ts +13 -0
- package/src/i18n.tsx +293 -0
- package/src/index.node.ts +19 -0
- package/src/index.spec.tsx +383 -0
- package/src/index.tsx +10 -0
- package/src/logo-v3-small.svg +32 -0
- package/src/models/decode.ts +45 -0
- package/src/models/flamebearer.ts +86 -0
- package/src/models/groups.ts +14 -0
- package/src/models/index.ts +7 -0
- package/src/models/profile.spec.ts +32 -0
- package/src/models/profile.ts +48 -0
- package/src/models/spyName.spec.ts +18 -0
- package/src/models/spyName.ts +32 -0
- package/src/models/trace.ts +45 -0
- package/src/models/units.spec.ts +21 -0
- package/src/models/units.ts +24 -0
- package/src/sass/_common.scss +206 -0
- package/src/sass/_css-variables.scss +201 -0
- package/src/sass/_mixins.scss +15 -0
- package/src/sass/_sanitize.scss +407 -0
- package/src/sass/_variables.scss +53 -0
- package/src/sass/flamegraph.scss +18 -0
- package/src/search.spec.ts +11 -0
- package/src/search.ts +4 -0
- package/src/shameful-any.d.ts +2 -0
- package/src/shims/Box.module.scss +57 -0
- package/src/shims/Box.tsx +105 -0
- package/src/shims/Button.module.scss +129 -0
- package/src/shims/Button.tsx +128 -0
- package/src/shims/Dropdown.module.scss +63 -0
- package/src/shims/Dropdown.tsx +96 -0
- package/src/shims/Input.module.scss +15 -0
- package/src/shims/Input.tsx +55 -0
- package/src/shims/LoadingSpinner.tsx +19 -0
- package/src/shims/Menu.tsx +9 -0
- package/src/shims/NoData.module.scss +6 -0
- package/src/shims/NoData.tsx +11 -0
- package/src/shims/Table.module.scss +82 -0
- package/src/shims/Table.spec.tsx +121 -0
- package/src/shims/Table.tsx +252 -0
- package/src/shims/Tooltip.tsx +51 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import Box from './shims/Box';
|
|
2
|
+
import Flamegraph from './FlameGraph/FlameGraphComponent/Flamegraph';
|
|
3
|
+
import { DefaultPalette } from './FlameGraph/FlameGraphComponent/colorPalette';
|
|
4
|
+
import { FlamegraphRenderer } from './FlamegraphRenderer';
|
|
5
|
+
import { convertJaegerTraceToProfile } from './convert/convertJaegerTraceToProfile';
|
|
6
|
+
import { diffTwoProfiles } from './convert/diffTwoProfiles';
|
|
7
|
+
import { subtract } from './convert/subtract';
|
|
8
|
+
export { Flamegraph, DefaultPalette, FlamegraphRenderer, Box, convertJaegerTraceToProfile, diffTwoProfiles, subtract, };
|
|
9
|
+
//# sourceMappingURL=index.node.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.node.d.ts","sourceRoot":"","sources":["../src/index.node.ts"],"names":[],"mappings":"AAEA,OAAO,GAAG,MAAM,aAAa,CAAC;AAC9B,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,+CAA+C,CAAC;AAC/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,2BAA2B,EAAE,MAAM,uCAAuC,CAAC;AACpF,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAE9C,OAAO,EACL,UAAU,EACV,cAAc,EACd,kBAAkB,EAClB,GAAG,EACH,2BAA2B,EAC3B,eAAe,EACf,QAAQ,GACT,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="1024px" height="1024px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<title>Artboard@2x</title>
|
|
4
|
+
<defs>
|
|
5
|
+
<radialGradient cx="49.4236252%" cy="92.6627823%" fx="49.4236252%" fy="92.6627823%" r="195.066755%" gradientTransform="translate(0.494236,0.926628),scale(1.000000,0.735610),rotate(-90.000000),translate(-0.494236,-0.926628)" id="radialGradient-1">
|
|
6
|
+
<stop stop-color="#FFB90C" offset="0%"></stop>
|
|
7
|
+
<stop stop-color="#F9243A" offset="38.390924%"></stop>
|
|
8
|
+
<stop stop-color="#F9243A" offset="50.5405%"></stop>
|
|
9
|
+
<stop stop-color="#B51424" offset="73.98091%"></stop>
|
|
10
|
+
<stop stop-color="#B51424" offset="100%"></stop>
|
|
11
|
+
</radialGradient>
|
|
12
|
+
</defs>
|
|
13
|
+
<g id="Artboard" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
14
|
+
<g id="fire-part" transform="translate(148.516736, 0.000000)" fill-rule="nonzero">
|
|
15
|
+
<g id="whole-thing" transform="translate(363.983264, 495.000000) scale(-1, 1) rotate(-180.000000) translate(-363.983264, -495.000000) translate(0.483264, 0.000000)">
|
|
16
|
+
<g id="g70" transform="translate(-0.000091, 0.685815)" fill="url(#radialGradient-1)">
|
|
17
|
+
<path d="M65.3646667,571.739321 L65.4492471,571.698868 C19.5139147,505.999969 -5.32464048,424.477859 1.04305801,336.877516 L1.04305801,336.877516 C14.0321963,158.179446 159.192462,13.7596653 338.059844,1.5917266 L338.059844,1.5917266 C419.418369,-3.93888015 495.500283,17.3823334 558.456522,57.4611191 L558.456522,57.4611191 L481.301947,162.097965 C437.516468,136.521928 399.367671,129.590556 363.486536,130.155994 L363.486536,130.155994 C234.497143,130.155994 129.556988,235.032238 129.556988,363.946998 L129.556988,363.946998 C129.556988,492.865683 234.497143,597.738003 363.486536,597.738003 L363.486536,597.738003 C492.483783,597.738003 597.427864,492.865683 597.427864,363.946998 L597.427864,363.946998 C597.41276,304.634864 581.39383,255.677522 530.630465,199.668053 L607.770843,95.1329436 C680.936847,161.576603 726.932594,257.364176 726.932594,363.946998 L726.932594,363.946998 C726.932594,458.031616 691.13483,543.75602 632.416071,608.271816 L632.416071,608.271816 L632.416071,608.275741 L533.597728,748.122808 L428.601388,617.203806 L434.703262,646.563419 C459.453008,765.59222 433.664131,889.543925 363.49439,988.853335 L363.49439,988.853335 L65.3646667,571.723019 L65.3646667,571.739321 Z" id="path84"></path>
|
|
18
|
+
</g>
|
|
19
|
+
<g id="blue" transform="translate(191.447039, 191.331780)">
|
|
20
|
+
<g id="g88" transform="translate(-0.000063, 0.685930)">
|
|
21
|
+
<g id="g94" transform="translate(0.177296, 0.699054)" fill="#3EC1D3">
|
|
22
|
+
<path d="M171.862466,343.697728 C77.0961324,343.697728 -0.00497405932,266.647602 -0.00497405932,171.934957 C-0.00497405932,77.2182874 77.0961324,0.168162396 171.862466,0.168162396 C266.632828,0.168162396 343.741988,77.2182874 343.741988,171.934957 C343.741988,266.647602 266.632828,343.697728 171.862466,343.697728" id="path96"></path>
|
|
23
|
+
</g>
|
|
24
|
+
<g id="g98" transform="translate(29.362379, 172.629585)" fill="#FFFFFF">
|
|
25
|
+
<path d="M22.8397982,0 L0.671669409,0 C0.671669409,78.2496309 64.380874,141.920035 142.678189,141.920035 L142.678189,119.765407 C76.6007327,119.765407 22.8397982,66.0372141 22.8397982,0" id="path100"></path>
|
|
26
|
+
</g>
|
|
27
|
+
</g>
|
|
28
|
+
</g>
|
|
29
|
+
</g>
|
|
30
|
+
</g>
|
|
31
|
+
</g>
|
|
32
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decode.d.ts","sourceRoot":"","sources":["../../src/models/decode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAoCpC,wBAAgB,iBAAiB,CAAC,EAAE,EAAE,OAAO,GAAG,OAAO,CAQtD"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { SpyName } from './spyName';
|
|
2
|
+
import { Units } from './units';
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated one should use the Profile model
|
|
5
|
+
*/
|
|
6
|
+
export type Flamebearer = {
|
|
7
|
+
/**
|
|
8
|
+
* List of names
|
|
9
|
+
*/
|
|
10
|
+
names: string[];
|
|
11
|
+
/**
|
|
12
|
+
* List of level
|
|
13
|
+
*
|
|
14
|
+
* This is NOT the same as in the flamebearer
|
|
15
|
+
* that we receive from the server.
|
|
16
|
+
* As in there are some transformations required
|
|
17
|
+
* (see deltaDiffWrapper)
|
|
18
|
+
*/
|
|
19
|
+
levels: number[][];
|
|
20
|
+
numTicks: number;
|
|
21
|
+
maxSelf: number;
|
|
22
|
+
/**
|
|
23
|
+
* Sample Rate, used in text information
|
|
24
|
+
*/
|
|
25
|
+
sampleRate: number;
|
|
26
|
+
units: Units;
|
|
27
|
+
spyName: SpyName;
|
|
28
|
+
} & addTicks;
|
|
29
|
+
export type addTicks = {
|
|
30
|
+
format: 'double';
|
|
31
|
+
leftTicks: number;
|
|
32
|
+
rightTicks: number;
|
|
33
|
+
} | {
|
|
34
|
+
format: 'single';
|
|
35
|
+
};
|
|
36
|
+
export declare const singleFF: {
|
|
37
|
+
format: "single";
|
|
38
|
+
jStep: number;
|
|
39
|
+
jName: number;
|
|
40
|
+
getBarOffset: (level: number[], j: number) => number;
|
|
41
|
+
getBarTotal: (level: number[], j: number) => number;
|
|
42
|
+
getBarTotalDiff: (level: number[], j: number) => number;
|
|
43
|
+
getBarSelf: (level: number[], j: number) => number;
|
|
44
|
+
getBarSelfDiff: (level: number[], j: number) => number;
|
|
45
|
+
getBarName: (level: number[], j: number) => number;
|
|
46
|
+
};
|
|
47
|
+
export declare const doubleFF: {
|
|
48
|
+
format: "double";
|
|
49
|
+
jStep: number;
|
|
50
|
+
jName: number;
|
|
51
|
+
getBarOffset: (level: number[], j: number) => number;
|
|
52
|
+
getBarTotal: (level: number[], j: number) => number;
|
|
53
|
+
getBarTotalLeft: (level: number[], j: number) => number;
|
|
54
|
+
getBarTotalRght: (level: number[], j: number) => number;
|
|
55
|
+
getBarTotalDiff: (level: number[], j: number) => number;
|
|
56
|
+
getBarSelf: (level: number[], j: number) => number;
|
|
57
|
+
getBarSelfLeft: (level: number[], j: number) => number;
|
|
58
|
+
getBarSelfRght: (level: number[], j: number) => number;
|
|
59
|
+
getBarSelfDiff: (level: number[], j: number) => number;
|
|
60
|
+
getBarName: (level: number[], j: number) => number;
|
|
61
|
+
};
|
|
62
|
+
export declare function createFF(viewType: 'single' | 'double'): typeof singleFF | typeof doubleFF;
|
|
63
|
+
//# sourceMappingURL=flamebearer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flamebearer.d.ts","sourceRoot":"","sources":["../../src/models/flamebearer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB;;;;;;;OAOG;IACH,MAAM,EAAE,MAAM,EAAE,EAAE,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,KAAK,CAAC;IAEb,OAAO,EAAE,OAAO,CAAC;CAIlB,GAAG,QAAQ,CAAC;AAEb,MAAM,MAAM,QAAQ,GAChB;IAAE,MAAM,EAAE,QAAQ,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,GAC3D;IAAE,MAAM,EAAE,QAAQ,CAAA;CAAE,CAAC;AAEzB,eAAO,MAAM,QAAQ;;;;0BAIG,MAAM,EAAE,KAAK,MAAM;yBACpB,MAAM,EAAE,KAAK,MAAM;6BACf,MAAM,EAAE,KAAK,MAAM;wBACxB,MAAM,EAAE,KAAK,MAAM;4BACf,MAAM,EAAE,KAAK,MAAM;wBACvB,MAAM,EAAE,KAAK,MAAM;CACxC,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;0BAIG,MAAM,EAAE,KAAK,MAAM;yBACpB,MAAM,EAAE,KAAK,MAAM;6BACf,MAAM,EAAE,KAAK,MAAM;6BACnB,MAAM,EAAE,KAAK,MAAM;6BACnB,MAAM,EAAE,KAAK,MAAM;wBAGxB,MAAM,EAAE,KAAK,MAAM;4BACf,MAAM,EAAE,KAAK,MAAM;4BACnB,MAAM,EAAE,KAAK,MAAM;4BACnB,MAAM,EAAE,KAAK,MAAM;wBACvB,MAAM,EAAE,KAAK,MAAM;CACxC,CAAC;AAIF,wBAAgB,QAAQ,CACtB,QAAQ,EAAE,QAAQ,GAAG,QAAQ,GAC5B,OAAO,QAAQ,GAAG,OAAO,QAAQ,CAanC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
declare const GroupSchema: z.ZodObject<{
|
|
3
|
+
watermark: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
4
|
+
startTime: z.ZodNumber;
|
|
5
|
+
samples: z.ZodArray<z.ZodNumber, "many">;
|
|
6
|
+
durationDelta: z.ZodNumber;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
samples?: number[];
|
|
9
|
+
startTime?: number;
|
|
10
|
+
watermark?: {};
|
|
11
|
+
durationDelta?: number;
|
|
12
|
+
}, {
|
|
13
|
+
samples?: number[];
|
|
14
|
+
startTime?: number;
|
|
15
|
+
watermark?: {};
|
|
16
|
+
durationDelta?: number;
|
|
17
|
+
}>;
|
|
18
|
+
export declare const GroupsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
19
|
+
watermark: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
20
|
+
startTime: z.ZodNumber;
|
|
21
|
+
samples: z.ZodArray<z.ZodNumber, "many">;
|
|
22
|
+
durationDelta: z.ZodNumber;
|
|
23
|
+
}, "strip", z.ZodTypeAny, {
|
|
24
|
+
samples?: number[];
|
|
25
|
+
startTime?: number;
|
|
26
|
+
watermark?: {};
|
|
27
|
+
durationDelta?: number;
|
|
28
|
+
}, {
|
|
29
|
+
samples?: number[];
|
|
30
|
+
startTime?: number;
|
|
31
|
+
watermark?: {};
|
|
32
|
+
durationDelta?: number;
|
|
33
|
+
}>>;
|
|
34
|
+
export type Groups = z.infer<typeof GroupsSchema>;
|
|
35
|
+
export type Group = z.infer<typeof GroupSchema>;
|
|
36
|
+
export {};
|
|
37
|
+
//# sourceMappingURL=groups.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"groups.d.ts","sourceRoot":"","sources":["../../src/models/groups.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;EAMf,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;GAAoC,CAAC;AAE9D,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAClD,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const FlamebearerSchema: z.ZodObject<{
|
|
3
|
+
names: z.ZodArray<z.ZodEffects<z.ZodString, string, unknown>, "many">;
|
|
4
|
+
levels: z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">;
|
|
5
|
+
numTicks: z.ZodNumber;
|
|
6
|
+
maxSelf: z.ZodNumber;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
names?: string[];
|
|
9
|
+
levels?: number[][];
|
|
10
|
+
numTicks?: number;
|
|
11
|
+
maxSelf?: number;
|
|
12
|
+
}, {
|
|
13
|
+
names?: unknown[];
|
|
14
|
+
levels?: number[][];
|
|
15
|
+
numTicks?: number;
|
|
16
|
+
maxSelf?: number;
|
|
17
|
+
}>;
|
|
18
|
+
export declare const MetadataSchema: z.ZodObject<{
|
|
19
|
+
appName: z.ZodOptional<z.ZodString>;
|
|
20
|
+
name: z.ZodOptional<z.ZodString>;
|
|
21
|
+
startTime: z.ZodOptional<z.ZodNumber>;
|
|
22
|
+
endTime: z.ZodOptional<z.ZodNumber>;
|
|
23
|
+
query: z.ZodOptional<z.ZodString>;
|
|
24
|
+
maxNodes: z.ZodOptional<z.ZodNumber>;
|
|
25
|
+
format: z.ZodEnum<["single", "double"]>;
|
|
26
|
+
sampleRate: z.ZodNumber;
|
|
27
|
+
spyName: z.ZodEffects<z.ZodDefault<z.ZodEnum<["dotnetspy", "ebpfspy", "gospy", "phpspy", "pyspy", "rbspy", "nodespy", "javaspy", "pyroscope-rs", "scrape", "tracing", "unknown"]>>, "dotnetspy" | "ebpfspy" | "gospy" | "phpspy" | "pyspy" | "rbspy" | "nodespy" | "javaspy" | "pyroscope-rs" | "scrape" | "tracing" | "unknown", unknown>;
|
|
28
|
+
units: z.ZodEffects<z.ZodEnum<["samples", "objects", "goroutines", "bytes", "lock_samples", "lock_nanoseconds", "trace_samples", "exceptions", "unknown"]>, "unknown" | "samples" | "objects" | "goroutines" | "bytes" | "lock_samples" | "lock_nanoseconds" | "trace_samples" | "exceptions", unknown>;
|
|
29
|
+
}, "strip", z.ZodTypeAny, {
|
|
30
|
+
appName?: string;
|
|
31
|
+
name?: string;
|
|
32
|
+
startTime?: number;
|
|
33
|
+
endTime?: number;
|
|
34
|
+
query?: string;
|
|
35
|
+
maxNodes?: number;
|
|
36
|
+
format?: "single" | "double";
|
|
37
|
+
sampleRate?: number;
|
|
38
|
+
spyName?: "dotnetspy" | "ebpfspy" | "gospy" | "phpspy" | "pyspy" | "rbspy" | "nodespy" | "javaspy" | "pyroscope-rs" | "scrape" | "tracing" | "unknown";
|
|
39
|
+
units?: "unknown" | "samples" | "objects" | "goroutines" | "bytes" | "lock_samples" | "lock_nanoseconds" | "trace_samples" | "exceptions";
|
|
40
|
+
}, {
|
|
41
|
+
appName?: string;
|
|
42
|
+
name?: string;
|
|
43
|
+
startTime?: number;
|
|
44
|
+
endTime?: number;
|
|
45
|
+
query?: string;
|
|
46
|
+
maxNodes?: number;
|
|
47
|
+
format?: "single" | "double";
|
|
48
|
+
sampleRate?: number;
|
|
49
|
+
spyName?: unknown;
|
|
50
|
+
units?: unknown;
|
|
51
|
+
}>;
|
|
52
|
+
export declare const FlamebearerProfileSchema: z.ZodObject<{
|
|
53
|
+
version: z.ZodDefault<z.ZodNumber>;
|
|
54
|
+
flamebearer: z.ZodObject<{
|
|
55
|
+
names: z.ZodArray<z.ZodEffects<z.ZodString, string, unknown>, "many">;
|
|
56
|
+
levels: z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">;
|
|
57
|
+
numTicks: z.ZodNumber;
|
|
58
|
+
maxSelf: z.ZodNumber;
|
|
59
|
+
}, "strip", z.ZodTypeAny, {
|
|
60
|
+
names?: string[];
|
|
61
|
+
levels?: number[][];
|
|
62
|
+
numTicks?: number;
|
|
63
|
+
maxSelf?: number;
|
|
64
|
+
}, {
|
|
65
|
+
names?: unknown[];
|
|
66
|
+
levels?: number[][];
|
|
67
|
+
numTicks?: number;
|
|
68
|
+
maxSelf?: number;
|
|
69
|
+
}>;
|
|
70
|
+
metadata: z.ZodObject<{
|
|
71
|
+
appName: z.ZodOptional<z.ZodString>;
|
|
72
|
+
name: z.ZodOptional<z.ZodString>;
|
|
73
|
+
startTime: z.ZodOptional<z.ZodNumber>;
|
|
74
|
+
endTime: z.ZodOptional<z.ZodNumber>;
|
|
75
|
+
query: z.ZodOptional<z.ZodString>;
|
|
76
|
+
maxNodes: z.ZodOptional<z.ZodNumber>;
|
|
77
|
+
format: z.ZodEnum<["single", "double"]>;
|
|
78
|
+
sampleRate: z.ZodNumber;
|
|
79
|
+
spyName: z.ZodEffects<z.ZodDefault<z.ZodEnum<["dotnetspy", "ebpfspy", "gospy", "phpspy", "pyspy", "rbspy", "nodespy", "javaspy", "pyroscope-rs", "scrape", "tracing", "unknown"]>>, "dotnetspy" | "ebpfspy" | "gospy" | "phpspy" | "pyspy" | "rbspy" | "nodespy" | "javaspy" | "pyroscope-rs" | "scrape" | "tracing" | "unknown", unknown>;
|
|
80
|
+
units: z.ZodEffects<z.ZodEnum<["samples", "objects", "goroutines", "bytes", "lock_samples", "lock_nanoseconds", "trace_samples", "exceptions", "unknown"]>, "unknown" | "samples" | "objects" | "goroutines" | "bytes" | "lock_samples" | "lock_nanoseconds" | "trace_samples" | "exceptions", unknown>;
|
|
81
|
+
}, "strip", z.ZodTypeAny, {
|
|
82
|
+
appName?: string;
|
|
83
|
+
name?: string;
|
|
84
|
+
startTime?: number;
|
|
85
|
+
endTime?: number;
|
|
86
|
+
query?: string;
|
|
87
|
+
maxNodes?: number;
|
|
88
|
+
format?: "single" | "double";
|
|
89
|
+
sampleRate?: number;
|
|
90
|
+
spyName?: "dotnetspy" | "ebpfspy" | "gospy" | "phpspy" | "pyspy" | "rbspy" | "nodespy" | "javaspy" | "pyroscope-rs" | "scrape" | "tracing" | "unknown";
|
|
91
|
+
units?: "unknown" | "samples" | "objects" | "goroutines" | "bytes" | "lock_samples" | "lock_nanoseconds" | "trace_samples" | "exceptions";
|
|
92
|
+
}, {
|
|
93
|
+
appName?: string;
|
|
94
|
+
name?: string;
|
|
95
|
+
startTime?: number;
|
|
96
|
+
endTime?: number;
|
|
97
|
+
query?: string;
|
|
98
|
+
maxNodes?: number;
|
|
99
|
+
format?: "single" | "double";
|
|
100
|
+
sampleRate?: number;
|
|
101
|
+
spyName?: unknown;
|
|
102
|
+
units?: unknown;
|
|
103
|
+
}>;
|
|
104
|
+
leftTicks: z.ZodOptional<z.ZodNumber>;
|
|
105
|
+
rightTicks: z.ZodOptional<z.ZodNumber>;
|
|
106
|
+
}, "strip", z.ZodTypeAny, {
|
|
107
|
+
version?: number;
|
|
108
|
+
flamebearer?: {
|
|
109
|
+
names?: string[];
|
|
110
|
+
levels?: number[][];
|
|
111
|
+
numTicks?: number;
|
|
112
|
+
maxSelf?: number;
|
|
113
|
+
};
|
|
114
|
+
metadata?: {
|
|
115
|
+
appName?: string;
|
|
116
|
+
name?: string;
|
|
117
|
+
startTime?: number;
|
|
118
|
+
endTime?: number;
|
|
119
|
+
query?: string;
|
|
120
|
+
maxNodes?: number;
|
|
121
|
+
format?: "single" | "double";
|
|
122
|
+
sampleRate?: number;
|
|
123
|
+
spyName?: "dotnetspy" | "ebpfspy" | "gospy" | "phpspy" | "pyspy" | "rbspy" | "nodespy" | "javaspy" | "pyroscope-rs" | "scrape" | "tracing" | "unknown";
|
|
124
|
+
units?: "unknown" | "samples" | "objects" | "goroutines" | "bytes" | "lock_samples" | "lock_nanoseconds" | "trace_samples" | "exceptions";
|
|
125
|
+
};
|
|
126
|
+
leftTicks?: number;
|
|
127
|
+
rightTicks?: number;
|
|
128
|
+
}, {
|
|
129
|
+
version?: number;
|
|
130
|
+
flamebearer?: {
|
|
131
|
+
names?: unknown[];
|
|
132
|
+
levels?: number[][];
|
|
133
|
+
numTicks?: number;
|
|
134
|
+
maxSelf?: number;
|
|
135
|
+
};
|
|
136
|
+
metadata?: {
|
|
137
|
+
appName?: string;
|
|
138
|
+
name?: string;
|
|
139
|
+
startTime?: number;
|
|
140
|
+
endTime?: number;
|
|
141
|
+
query?: string;
|
|
142
|
+
maxNodes?: number;
|
|
143
|
+
format?: "single" | "double";
|
|
144
|
+
sampleRate?: number;
|
|
145
|
+
spyName?: unknown;
|
|
146
|
+
units?: unknown;
|
|
147
|
+
};
|
|
148
|
+
leftTicks?: number;
|
|
149
|
+
rightTicks?: number;
|
|
150
|
+
}>;
|
|
151
|
+
export type Profile = z.infer<typeof FlamebearerProfileSchema>;
|
|
152
|
+
//# sourceMappingURL=profile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../src/models/profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;EAa5B,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBzB,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQnC,CAAC;AAEH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export type SpyNameFirstClassType = typeof SpyNameFirstClass[number];
|
|
3
|
+
export declare const SpyNameFirstClass: readonly ["dotnetspy", "ebpfspy", "gospy", "phpspy", "pyspy", "rbspy", "nodespy", "javaspy", "pyroscope-rs"];
|
|
4
|
+
export declare const SpyNameOther: readonly ["scrape", "tracing", "unknown"];
|
|
5
|
+
export declare const AllSpyNames: readonly ["dotnetspy", "ebpfspy", "gospy", "phpspy", "pyspy", "rbspy", "nodespy", "javaspy", "pyroscope-rs", "scrape", "tracing", "unknown"];
|
|
6
|
+
export declare const SpyNameSchema: z.ZodEffects<z.ZodDefault<z.ZodEnum<["dotnetspy", "ebpfspy", "gospy", "phpspy", "pyspy", "rbspy", "nodespy", "javaspy", "pyroscope-rs", "scrape", "tracing", "unknown"]>>, "dotnetspy" | "ebpfspy" | "gospy" | "phpspy" | "pyspy" | "rbspy" | "nodespy" | "javaspy" | "pyroscope-rs" | "scrape" | "tracing" | "unknown", unknown>;
|
|
7
|
+
export type SpyName = z.infer<typeof SpyNameSchema>;
|
|
8
|
+
//# sourceMappingURL=spyName.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spyName.d.ts","sourceRoot":"","sources":["../../src/models/spyName.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,MAAM,qBAAqB,GAAG,OAAO,iBAAiB,CAAC,MAAM,CAAC,CAAC;AAErE,eAAO,MAAM,iBAAiB,8GAUpB,CAAC;AAEX,eAAO,MAAM,YAAY,2CAIf,CAAC;AAEX,eAAO,MAAM,WAAW,8IAAmD,CAAC;AAE5E,eAAO,MAAM,aAAa,mUAKgB,CAAC;AAE3C,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC"}
|