Skip to content

Commit 63bd04f

Browse files
authored
Merge pull request #4662 from ClickHouse/cta-component
Tracked link component and clickstack CTA
2 parents ee01594 + 6dae7e5 commit 63bd04f

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

docs/use-cases/observability/clickstack/deployment/hyperdx-clickhouse-cloud.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,18 @@ import hyperdx_cloud_landing from '@site/static/images/use-cases/observability/h
1818
import hyperdx_cloud_datasource from '@site/static/images/use-cases/observability/hyperdx_cloud_datasource.png';
1919
import hyperdx_create_new_source from '@site/static/images/use-cases/observability/hyperdx_create_new_source.png';
2020
import hyperdx_create_trace_datasource from '@site/static/images/use-cases/observability/hyperdx_create_trace_datasource.png';
21+
import { TrackedLink } from '@site/src/components/GalaxyTrackedLink/GalaxyTrackedLink';
2122

2223
<PrivatePreviewBadge/>
2324

25+
::::note[Private Preview]
26+
This feature is in ClickHouse Cloud private preview. If your org is interested in getting priority access,
27+
<TrackedLink href="https://clickhouse.com/cloud/clickstack-private-preview" eventName="docs.clickstack_deployment.waitlist_cta">join the waitlist</TrackedLink>.
28+
29+
If you're new to ClickHouse Cloud, click
30+
<TrackedLink href="/docs/cloud/overview" eventName="docs.clickstack_deployment.cloud_learn_more_cta">here</TrackedLink> to learn more or <TrackedLink href="https://clickhouse.cloud/signUp" eventName="docs.clickstack_deployment.cloud_signup_cta" target="_blank" rel="noopener noreferrer">sign up for a free trial</TrackedLink> to get started.
31+
::::
32+
2433
This option is designed for users who are using ClickHouse Cloud. In this deployment pattern, both ClickHouse and HyperDX are hosted in ClickHouse Cloud, minimizing the number of components the user needs to self-host.
2534

2635
As well as reducing infrastructure management, this deployment pattern ensures authentication is integrated with ClickHouse Cloud SSO/SAML. Unlike self-hosted deployments, there is also no need to provision a MongoDB instance to store application state — such as dashboards, saved searches, user settings, and alerts.
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import React from 'react';
2+
import { galaxyOnClick } from '../../lib/galaxy/galaxy';
3+
4+
interface TrackedLinkProps {
5+
href: string;
6+
eventName: string;
7+
children: React.ReactNode;
8+
target?: string;
9+
rel?: string;
10+
className?: string;
11+
}
12+
13+
export const TrackedLink: React.FC<TrackedLinkProps> = ({
14+
href,
15+
eventName,
16+
children,
17+
...rest
18+
}) => {
19+
return (
20+
<a
21+
href={href}
22+
onClick={galaxyOnClick(eventName)}
23+
{...rest}
24+
>
25+
{children}
26+
</a>
27+
);
28+
};

0 commit comments

Comments
 (0)