Skip to content

Commit 329b858

Browse files
docs: Link to the SQL-based visualization docs (#1965)
## Summary This PR updates the link for macros documentation in the SQL-based chart instructions component to target the new ClickStack [SQL-based Charts docs](https://clickhouse.com/docs/use-cases/observability/clickstack/dashboards/sql-visualizations). ### Screenshots or video <img width="1453" height="552" alt="Screenshot 2026-03-23 at 8 34 59 AM" src="https://github.com/user-attachments/assets/8706c751-6703-4180-a6ae-39422319637c" /> ### How to test locally or on Vercel This link can be tested in vercel preview. ### References - Linear Issue: - Related PRs: Co-authored-by: peter-leonov-ch <209667683+peter-leonov-ch@users.noreply.github.com>
1 parent c6a8df4 commit 329b858

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

.changeset/spicy-toes-prove.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@hyperdx/app": patch
3+
---
4+
5+
docs: Link to the SQL-based visualization docs

packages/app/src/components/ChartEditor/RawSqlChartEditor.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,7 @@ export default function RawSqlChartEditor({
159159
placeholder="None"
160160
/>
161161
</Group>
162-
<RawSqlChartInstructions
163-
displayType={displayType ?? DisplayType.Table}
164-
isDashboardForm={isDashboardForm}
165-
/>
162+
<RawSqlChartInstructions displayType={displayType ?? DisplayType.Table} />
166163
<Box style={{ position: 'relative' }}>
167164
<SQLEditorControlled
168165
control={control}

packages/app/src/components/ChartEditor/RawSqlChartInstructions.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,8 @@ function ParamSnippet({
5959

6060
export function RawSqlChartInstructions({
6161
displayType,
62-
isDashboardForm,
6362
}: {
6463
displayType: DisplayType;
65-
isDashboardForm: boolean;
6664
}) {
6765
const [helpOpened, setHelpOpened] = useAtom(helpOpenedAtom);
6866
const toggleHelp = () => setHelpOpened(v => !v);
@@ -117,12 +115,12 @@ export function RawSqlChartInstructions({
117115
</List.Item>
118116
<List.Item>
119117
<Text size="xs">
120-
Macros from the{' '}
118+
Other available macros are described in the{' '}
121119
<Anchor
122-
href="https://github.com/grafana/clickhouse-datasource?tab=readme-ov-file#macros"
120+
href="https://clickhouse.com/docs/use-cases/observability/clickstack/dashboards/sql-visualizations"
123121
target="_blank"
124122
>
125-
ClickHouse Datasource Grafana Plugin
123+
ClickStack documentation.
126124
</Anchor>
127125
</Text>
128126
</List.Item>

0 commit comments

Comments
 (0)