설계 개편
This commit is contained in:
@@ -0,0 +1,234 @@
|
||||
{
|
||||
"version": "1.1",
|
||||
"id": "query-fanout",
|
||||
"title": "query-fanout runtime fixture",
|
||||
"question": "Does the query-fanout logical composition render correctly?",
|
||||
"type": "data-flow",
|
||||
"direction": "LR",
|
||||
"audience": [
|
||||
"renderer maintainer"
|
||||
],
|
||||
"summary": "Executable query-fanout fixture.",
|
||||
"alt": "Executable technical diagram fixture for the query-fanout composition profile.",
|
||||
"long_description": "This fixture validates the node roles, edges, and layout rules of the query-fanout profile.",
|
||||
"source_context": {
|
||||
"document": "examples/runtime-profiles/fixture.md",
|
||||
"document_sha256": "0000000000000000000000000000000000000000000000000000000000000000",
|
||||
"anchor": {
|
||||
"kind": "line",
|
||||
"value": 1,
|
||||
"line": 1
|
||||
}
|
||||
},
|
||||
"composition": {
|
||||
"profile": "query-fanout",
|
||||
"diagram_only": true,
|
||||
"reference_ids": [
|
||||
"metrics-query-fanout"
|
||||
],
|
||||
"rationale": "Runtime regression fixture for query-fanout.",
|
||||
"focus_node": "selector"
|
||||
},
|
||||
"groups": [],
|
||||
"nodes": [
|
||||
{
|
||||
"id": "user",
|
||||
"label": "사용자",
|
||||
"kind": "actor",
|
||||
"role": "actor",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"shape": "actor"
|
||||
},
|
||||
{
|
||||
"id": "query",
|
||||
"label": "rate(http_requests_total[5m])",
|
||||
"kind": "request",
|
||||
"role": "query",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"details": [
|
||||
"time range: 15:00–15:10"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "parser",
|
||||
"label": "query parser",
|
||||
"kind": "component",
|
||||
"role": "parser",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"shape": "port"
|
||||
},
|
||||
{
|
||||
"id": "selector",
|
||||
"label": "vmselect",
|
||||
"kind": "service",
|
||||
"role": "router",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"emphasis": "primary"
|
||||
},
|
||||
{
|
||||
"id": "a",
|
||||
"label": "vmstorage A",
|
||||
"kind": "database",
|
||||
"role": "shard",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"shape": "database",
|
||||
"details": [
|
||||
"IndexDB → TSID → Data"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "b",
|
||||
"label": "vmstorage B",
|
||||
"kind": "database",
|
||||
"role": "shard",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"shape": "database",
|
||||
"details": [
|
||||
"IndexDB → TSID → Data"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "c",
|
||||
"label": "vmstorage C",
|
||||
"kind": "database",
|
||||
"role": "shard",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false,
|
||||
"shape": "database",
|
||||
"details": [
|
||||
"IndexDB → TSID → Data"
|
||||
]
|
||||
}
|
||||
],
|
||||
"edges": [
|
||||
{
|
||||
"id": "submit",
|
||||
"from": "user",
|
||||
"to": "query",
|
||||
"label": "PromQL",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "parse",
|
||||
"from": "query",
|
||||
"to": "parser",
|
||||
"label": "parse",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "select",
|
||||
"from": "parser",
|
||||
"to": "selector",
|
||||
"label": "filters + time range",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "to-a",
|
||||
"from": "selector",
|
||||
"to": "a",
|
||||
"label": "range query",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "to-b",
|
||||
"from": "selector",
|
||||
"to": "b",
|
||||
"label": "range query",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
},
|
||||
{
|
||||
"id": "to-c",
|
||||
"from": "selector",
|
||||
"to": "c",
|
||||
"label": "range query",
|
||||
"kind": "request",
|
||||
"evidence": [
|
||||
{
|
||||
"start_line": 1,
|
||||
"end_line": 1
|
||||
}
|
||||
],
|
||||
"assumption": false
|
||||
}
|
||||
],
|
||||
"legend": [],
|
||||
"metadata": {
|
||||
"fixture": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user