mirror of
https://github.com/hanzoai/datastore.git
synced 2026-09-26 13:55:07 +00:00
Runtime regression from the final lowercase pass: it renamed <clickhouse> opening tags to <datastore> but the / exclusion (protecting /clickhouse paths) left </clickhouse> closing tags, so embedded + shipped configs became <datastore>...</clickhouse> -> SAXParseException 'Tag mismatch' at runtime (compile was fine; XML is data). Renamed all <clickhouse/</clickhouse XML tags -> datastore (101 closes across configs, embedded strings, keeper configs). Path strings (/var/lib/clickhouse) have no angle bracket and are untouched. Build compiled; this fixes runtime config parsing.
16 lines
589 B
XML
16 lines
589 B
XML
<datastore>
|
|
<dashboards>
|
|
<dashboard>
|
|
<dashboard>Overview</dashboard>
|
|
<title>Queries/second</title>
|
|
<query>
|
|
SELECT toStartOfInterval(event_time, INTERVAL {rounding:UInt32} SECOND)::INT AS t, avg(ProfileEvent_Query)
|
|
FROM system.metric_log
|
|
WHERE event_date >= toDate(now() - {seconds:UInt32}) AND event_time >= now() - {seconds:UInt32}
|
|
GROUP BY t
|
|
ORDER BY t WITH FILL STEP {rounding:UInt32}
|
|
</query>
|
|
</dashboard>
|
|
</dashboards>
|
|
</datastore>
|