github.com/grafana/pyroscope@v1.18.0/docs/sources/reference-pyroscope-architecture/block-format/model.svg (about)
1 <svg aria-labelledby="chart-title-mermaid-svg chart-desc-mermaid-svg" role="img" viewBox="0 0 660.0234375 620" style="max-width: 660.0234375px;" height="620" xmlns="http://www.w3.org/2000/svg" width="100%" id="mermaid-svg"><title id="chart-title-mermaid-svg"></title><desc id="chart-desc-mermaid-svg"></desc><style>#mermaid-svg {font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}#mermaid-svg .error-icon{fill:#552222;}#mermaid-svg .error-text{fill:#552222;stroke:#552222;}#mermaid-svg .edge-thickness-normal{stroke-width:2px;}#mermaid-svg .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg .marker{fill:#333333;stroke:#333333;}#mermaid-svg .marker.cross{stroke:#333333;}#mermaid-svg svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#mermaid-svg g.classGroup text{fill:#9370DB;fill:#131300;stroke:none;font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:10px;}#mermaid-svg g.classGroup text .title{font-weight:bolder;}#mermaid-svg .nodeLabel,#mermaid-svg .edgeLabel{color:#131300;}#mermaid-svg .edgeLabel .label rect{fill:#ECECFF;}#mermaid-svg .label text{fill:#131300;}#mermaid-svg .edgeLabel .label span{background:#ECECFF;}#mermaid-svg .classTitle{font-weight:bolder;}#mermaid-svg .node rect,#mermaid-svg .node circle,#mermaid-svg .node ellipse,#mermaid-svg .node polygon,#mermaid-svg .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg .divider{stroke:#9370DB;stroke:1;}#mermaid-svg g.clickable{cursor:pointer;}#mermaid-svg g.classGroup rect{fill:#ECECFF;stroke:#9370DB;}#mermaid-svg g.classGroup line{stroke:#9370DB;stroke-width:1;}#mermaid-svg .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5;}#mermaid-svg .classLabel .label{fill:#9370DB;font-size:10px;}#mermaid-svg .relation{stroke:#333333;stroke-width:1;fill:none;}#mermaid-svg .dashed-line{stroke-dasharray:3;}#mermaid-svg #compositionStart,#mermaid-svg .composition{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg #compositionEnd,#mermaid-svg .composition{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg #dependencyStart,#mermaid-svg .dependency{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg #dependencyStart,#mermaid-svg .dependency{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg #extensionStart,#mermaid-svg .extension{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg #extensionEnd,#mermaid-svg .extension{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg #aggregationStart,#mermaid-svg .aggregation{fill:#ECECFF!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg #aggregationEnd,#mermaid-svg .aggregation{fill:#ECECFF!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg .edgeTerminals{font-size:11px;}#mermaid-svg :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}</style><g transform="translate(0, 0)"><defs><marker orient="auto" markerHeight="240" markerWidth="190" refY="7" refX="0" class="marker aggregation classDiagram" id="classDiagram-aggregationStart"><path d="M 18,7 L9,13 L1,7 L9,1 Z"></path></marker></defs><defs><marker orient="auto" markerHeight="28" markerWidth="20" refY="7" refX="19" class="marker aggregation classDiagram" id="classDiagram-aggregationEnd"><path d="M 18,7 L9,13 L1,7 L9,1 Z"></path></marker></defs><defs><marker orient="auto" markerHeight="240" markerWidth="190" refY="7" refX="0" class="marker extension classDiagram" id="classDiagram-extensionStart"><path d="M 1,7 L18,13 V 1 Z"></path></marker></defs><defs><marker orient="auto" markerHeight="28" markerWidth="20" refY="7" refX="19" class="marker extension classDiagram" id="classDiagram-extensionEnd"><path d="M 1,1 V 13 L18,7 Z"></path></marker></defs><defs><marker orient="auto" markerHeight="240" markerWidth="190" refY="7" refX="0" class="marker composition classDiagram" id="classDiagram-compositionStart"><path d="M 18,7 L9,13 L1,7 L9,1 Z"></path></marker></defs><defs><marker orient="auto" markerHeight="28" markerWidth="20" refY="7" refX="19" class="marker composition classDiagram" id="classDiagram-compositionEnd"><path d="M 18,7 L9,13 L1,7 L9,1 Z"></path></marker></defs><defs><marker orient="auto" markerHeight="240" markerWidth="190" refY="7" refX="0" class="marker dependency classDiagram" id="classDiagram-dependencyStart"><path d="M 5,7 L9,13 L1,7 L9,1 Z"></path></marker></defs><defs><marker orient="auto" markerHeight="28" markerWidth="20" refY="7" refX="19" class="marker dependency classDiagram" id="classDiagram-dependencyEnd"><path d="M 18,7 L9,13 L14,7 L9,1 Z"></path></marker></defs><g class="root"><g class="clusters"></g><g class="edgePaths"><path marker-end="url(#classDiagram-aggregationEnd)" style="fill:none" class="edge-pattern-solid relation" id="id1" d="M52.9765625,427.5L52.9765625,435.1666666666667C52.9765625,442.8333333333333,52.9765625,458.1666666666667,58.579073338150295,471.5833333333333C64.18158417630057,485,75.38660585260116,496.5,80.98911669075146,502.25L86.59162752890174,508"></path><path style="fill:none" class="edge-pattern-solid relation" id="id2" d="M221.5390625,439L221.5390625,444.75C221.5390625,450.5,221.5390625,462,215.93655166184973,473.5C210.3340408236994,485,199.12901914739882,496.5,193.52650830924856,502.25L187.92399747109826,508"></path><path marker-start="url(#classDiagram-aggregationStart)" style="fill:none" class="edge-pattern-solid relation" id="id3" d="M295.125,407.86624750294527L333.7018229166667,418.80520625245435C372.2786458333333,429.7441650019635,449.4322916666667,451.6220825009818,488.0091145833333,472.1443745838242C526.5859375,492.6666666666667,526.5859375,511.8333333333333,526.5859375,521.4166666666666L526.5859375,531"></path><path marker-start="url(#classDiagram-aggregationStart)" style="fill:none" class="edge-pattern-solid relation" id="id4" d="M427.4296875,427.5L427.4296875,435.1666666666667C427.4296875,442.8333333333333,427.4296875,458.1666666666667,391.0729166666667,476.6712571572164C354.7161458333333,495.1758476477662,282.0026041666667,516.8516952955325,245.64583333333334,527.6896191194156L209.2890625,538.5275429432987"></path><path style="fill:none" class="edge-pattern-solid relation" id="id5" d="M456.2598417207792,112L451.45481601731603,116.16666666666667C446.64979031385275,120.33333333333333,437.0397389069264,128.66666666666666,432.2347132034632,137C427.4296875,145.33333333333334,427.4296875,153.66666666666666,427.4296875,157.83333333333334L427.4296875,162"></path><path marker-start="url(#classDiagram-aggregationStart)" style="fill:none" class="edge-pattern-solid relation" id="id6" d="M576.1932832792207,112L580.998308982684,116.16666666666667C585.8033346861472,120.33333333333333,595.4133860930737,128.66666666666666,600.2184117965368,140.83333333333334C605.0234375,153,605.0234375,169,605.0234375,177L605.0234375,185"></path><path marker-start="url(#classDiagram-aggregationStart)" style="fill:none" class="edge-pattern-solid relation" id="id7" d="M427.4296875,266L427.4296875,271.75C427.4296875,277.5,427.4296875,289,427.4296875,302.4166666666667C427.4296875,315.8333333333333,427.4296875,331.1666666666667,427.4296875,338.8333333333333L427.4296875,346.5"></path></g><g class="edgeLabels"><g transform="translate(52.9765625, 473.5)" class="edgeLabel"><g transform="translate(-36.59375, -9.5)" class="label"><foreignObject height="19" width="73.1875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="edgeLabel"><span class="edgeLabel">MappingID</span></span></div></foreignObject></g></g><g transform="translate(37.9765625, 445)" class="edgeTerminals"><g transform="translate(0, 0)" class="inner"><foreignObject style="width: 9px; height: 12px;"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="edgeLabel">1</span></div></foreignObject></g></g><g transform="translate(80.12254793545941, 479.9980043224913)" class="edgeTerminals"><g transform="translate(0, 0)" class="inner"></g><foreignObject style="width: 9px; height: 12px;"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="edgeLabel">1</span></div></foreignObject></g><g transform="translate(221.5390625, 473.5)" class="edgeLabel"><g transform="translate(-18.3046875, -9.5)" class="label"><foreignObject height="19" width="36.609375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="edgeLabel"><span class="edgeLabel">Lines</span></span></div></foreignObject></g></g><g transform="translate(206.3653486173784, 456.27891535394104)" class="edgeTerminals"><g transform="translate(0, 0)" class="inner"><foreignObject style="width: 9px; height: 12px;"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="edgeLabel">n</span></div></foreignObject></g></g><g transform="translate(526.5859375, 473.5)" class="edgeLabel"><g transform="translate(-38.15625, -9.5)" class="label"><foreignObject height="19" width="76.3125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="edgeLabel"><span class="edgeLabel">FunctionID</span></span></div></foreignObject></g></g><g transform="translate(536.5859375, 508.5)" class="edgeTerminals"><g transform="translate(0, 0)" class="inner"></g><foreignObject style="width: 9px; height: 12px;"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="edgeLabel">1</span></div></foreignObject></g><g transform="translate(427.4296875, 473.5)" class="edgeLabel"><g transform="translate(-41, -9.5)" class="label"><foreignObject height="19" width="82"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="edgeLabel"><span class="edgeLabel">LocationIDs</span></span></div></foreignObject></g></g><g transform="translate(225.34491458128986, 542.9031012269872)" class="edgeTerminals"><g transform="translate(0, 0)" class="inner"></g><foreignObject style="width: 9px; height: 12px;"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="edgeLabel">n</span></div></foreignObject></g><g class="edgeLabel"><g transform="translate(0, 0)" class="label"><foreignObject height="0" width="0"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="edgeLabel"></span></div></foreignObject></g></g><g transform="translate(440.79484986070713, 144.71736736085043)" class="edgeTerminals"><g transform="translate(0, 0)" class="inner"></g><foreignObject style="width: 9px; height: 12px;"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="edgeLabel">n</span></div></foreignObject></g><g class="edgeLabel"><g transform="translate(0, 0)" class="label"><foreignObject height="0" width="0"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="edgeLabel"></span></div></foreignObject></g></g><g transform="translate(615.0234375, 162.5)" class="edgeTerminals"><g transform="translate(0, 0)" class="inner"></g><foreignObject style="width: 9px; height: 12px;"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="edgeLabel">n</span></div></foreignObject></g><g transform="translate(427.4296875, 300.5)" class="edgeLabel"><g transform="translate(-45.1640625, -9.5)" class="label"><foreignObject height="19" width="90.328125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="edgeLabel"><span class="edgeLabel">StacktraceID</span></span></div></foreignObject></g></g><g transform="translate(412.4296875, 283.5)" class="edgeTerminals"><g transform="translate(0, 0)" class="inner"><foreignObject style="width: 9px; height: 12px;"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="edgeLabel">n</span></div></foreignObject></g></g><g transform="translate(437.4296875, 324)" class="edgeTerminals"><g transform="translate(0, 0)" class="inner"></g><foreignObject style="width: 9px; height: 12px;"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="edgeLabel">1</span></div></foreignObject></g></g><g class="nodes"><g transform="translate(363.21875, 60)" id="classid-String-0" class="node default"><rect height="58" width="58.609375" y="-29" x="-29.3046875" class="outer title-state"></rect><line y2="2" y1="2" x2="29.3046875" x1="-29.3046875" class="divider"></line><line y2="18" y1="18" x2="29.3046875" x1="-29.3046875" class="divider"></line><g class="label"><foreignObject height="0" width="0"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel"></span></div></foreignObject><foreignObject transform="translate( -21.8046875, -21.5)" height="19" width="43.609375" class="classTitle"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">String</span></div></foreignObject></g></g><g transform="translate(52.9765625, 387)" id="classid-Mapping-1" class="node default"><rect height="81" width="89.953125" y="-40.5" x="-44.9765625" class="outer title-state"></rect><line y2="-9.5" y1="-9.5" x2="44.9765625" x1="-44.9765625" class="divider"></line><line y2="29.5" y1="29.5" x2="44.9765625" x1="-44.9765625" class="divider"></line><g class="label"><foreignObject height="0" width="0"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel"></span></div></foreignObject><foreignObject transform="translate( -30.671875, -33)" height="19" width="61.34375" class="classTitle"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Mapping</span></div></foreignObject><foreignObject transform="translate( -37.4765625, 2)" height="19" width="74.953125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">ID : uint64</span></div></foreignObject></g></g><g transform="translate(137.2578125, 560)" id="classid-Location-2" class="node default"><rect height="104" width="144.0625" y="-52" x="-72.03125" class="outer title-state"></rect><line y2="-21" y1="-21" x2="72.03125" x1="-72.03125" class="divider"></line><line y2="41" y1="41" x2="72.03125" x1="-72.03125" class="divider"></line><g class="label"><foreignObject height="0" width="0"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel"></span></div></foreignObject><foreignObject transform="translate( -32.1171875, -44.5)" height="19" width="64.234375" class="classTitle"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Location</span></div></foreignObject><foreignObject transform="translate( -64.53125, -9.5)" height="19" width="129.0625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">MappingID: uint64</span></div></foreignObject><foreignObject transform="translate( -64.53125, 13.5)" height="19" width="89.1875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Lines: []Line</span></div></foreignObject></g></g><g transform="translate(221.5390625, 387)" id="classid-Line-3" class="node default"><rect height="104" width="147.171875" y="-52" x="-73.5859375" class="outer title-state"></rect><line y2="-21" y1="-21" x2="73.5859375" x1="-73.5859375" class="divider"></line><line y2="41" y1="41" x2="73.5859375" x1="-73.5859375" class="divider"></line><g class="label"><foreignObject height="0" width="0"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel"></span></div></foreignObject><foreignObject transform="translate( -16.1328125, -44.5)" height="19" width="32.265625" class="classTitle"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Line</span></div></foreignObject><foreignObject transform="translate( -66.0859375, -9.5)" height="19" width="132.171875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">FunctionID: uint64</span></div></foreignObject><foreignObject transform="translate( -66.0859375, 13.5)" height="19" width="77.265625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Line: int64</span></div></foreignObject></g></g><g transform="translate(526.5859375, 560)" id="classid-Function-4" class="node default"><rect height="58" width="80.296875" y="-29" x="-40.1484375" class="outer title-state"></rect><line y2="2" y1="2" x2="40.1484375" x1="-40.1484375" class="divider"></line><line y2="18" y1="18" x2="40.1484375" x1="-40.1484375" class="divider"></line><g class="label"><foreignObject height="0" width="0"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel"></span></div></foreignObject><foreignObject transform="translate( -32.6484375, -21.5)" height="19" width="65.296875" class="classTitle"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Function</span></div></foreignObject></g></g><g transform="translate(427.4296875, 387)" id="classid-Stacktrace-5" class="node default"><rect height="81" width="164.609375" y="-40.5" x="-82.3046875" class="outer title-state"></rect><line y2="-9.5" y1="-9.5" x2="82.3046875" x1="-82.3046875" class="divider"></line><line y2="29.5" y1="29.5" x2="82.3046875" x1="-82.3046875" class="divider"></line><g class="label"><foreignObject height="0" width="0"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel"></span></div></foreignObject><foreignObject transform="translate( -39.296875, -33)" height="19" width="78.59375" class="classTitle"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Stacktrace</span></div></foreignObject><foreignObject transform="translate( -74.8046875, 2)" height="19" width="149.609375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">LocationIDs: []uint64</span></div></foreignObject></g></g><g transform="translate(516.2265625, 60)" id="classid-Profile-6" class="node default"><rect height="104" width="147.40625" y="-52" x="-73.703125" class="outer title-state"></rect><line y2="-21" y1="-21" x2="73.703125" x1="-73.703125" class="divider"></line><line y2="41" y1="41" x2="73.703125" x1="-73.703125" class="divider"></line><g class="label"><foreignObject height="0" width="0"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel"></span></div></foreignObject><foreignObject transform="translate( -24.9453125, -44.5)" height="19" width="49.890625" class="classTitle"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Profile</span></div></foreignObject><foreignObject transform="translate( -66.203125, -9.5)" height="19" width="121.578125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">SeriesRef: uint64</span></div></foreignObject><foreignObject transform="translate( -66.203125, 13.5)" height="19" width="132.40625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Samples: []Sample</span></div></foreignObject></g></g><g transform="translate(427.4296875, 214)" id="classid-Sample-7" class="node default"><rect height="104" width="161.1875" y="-52" x="-80.59375" class="outer title-state"></rect><line y2="-21" y1="-21" x2="80.59375" x1="-80.59375" class="divider"></line><line y2="41" y1="41" x2="80.59375" x1="-80.59375" class="divider"></line><g class="label"><foreignObject height="0" width="0"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel"></span></div></foreignObject><foreignObject transform="translate( -26.84375, -44.5)" height="19" width="53.6875" class="classTitle"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Sample</span></div></foreignObject><foreignObject transform="translate( -73.09375, -9.5)" height="19" width="146.1875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">StacktraceID: uint64</span></div></foreignObject><foreignObject transform="translate( -73.09375, 13.5)" height="19" width="85.859375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Value: int64</span></div></foreignObject></g></g><g transform="translate(605.0234375, 214)" id="classid-TSDBIndex-8" class="node default"><rect height="58" width="94" y="-29" x="-47" class="outer title-state"></rect><line y2="2" y1="2" x2="47" x1="-47" class="divider"></line><line y2="18" y1="18" x2="47" x1="-47" class="divider"></line><g class="label"><foreignObject height="0" width="0"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel"></span></div></foreignObject><foreignObject transform="translate( -39.5, -21.5)" height="19" width="79" class="classTitle"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">TSDBIndex</span></div></foreignObject></g></g></g></g></g><style>@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css");</style></svg>