Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

chore(trial end): analytics events added (#6048)

Sudeep MP9b42326f80d7
diff --git a/frontend/src/pages/WorkspaceLocked/CustomerStoryCard.tsx b/frontend/src/pages/WorkspaceLocked/CustomerStoryCard.tsx
index c22401f7c4..68df0f5d7c 100644
--- a/frontend/src/pages/WorkspaceLocked/CustomerStoryCard.tsx
+++ b/frontend/src/pages/WorkspaceLocked/CustomerStoryCard.tsx
@@ -32,4 +32,5 @@ function CustomerStoryCard({
</a>
);
}
+
export default CustomerStoryCard;
diff --git a/frontend/src/pages/WorkspaceLocked/WorkspaceLocked.tsx b/frontend/src/pages/WorkspaceLocked/WorkspaceLocked.tsx
index 052d8dcbc5..7b6b5af294 100644
--- a/frontend/src/pages/WorkspaceLocked/WorkspaceLocked.tsx
+++ b/frontend/src/pages/WorkspaceLocked/WorkspaceLocked.tsx
@@ -54,6 +54,23 @@ export default function WorkspaceBlocked(): JSX.Element {
data: licensesData,
} = useLicense();
+ useEffect((): void => {
+ logEvent('Trial: Blocker Screen Viewed', {});
+ }, []);
+
+ const handleContactUsClick = (): void => {
+ logEvent('Trial: Contact Us CTA Clicked', {});
+ };
+
+ const handleTabClick = (key: string): void => {
+ logEvent('Trial: Blocked Screen Tabs Clicked', { tabKey: key });
+ };
+
+ const handleCollapseChange = (key: string | string[]): void => {
+ const lastKey = Array.isArray(key) ? key.slice(-1)[0] : key;
+ logEvent('Trial: Blocker Screen Tab FAQ Item Clicked', { panelKey: lastKey });
+ };
+
useEffect(() => {
if (!isFetchingLicenseData) {
const shouldBlockWorkspace = licensesData?.payload?.workSpaceBlock;
@@ -135,7 +152,7 @@ export default function WorkspaceBlocked(): JSX.Element {
const tabItems: TabsProps['items'] = [
{
- key: '1',
+ key: 'whyChooseSignoz',
label: t('whyChooseSignoz'),
children: (
<Row align="middle" justify="center">
@@ -182,7 +199,7 @@ export default function WorkspaceBlocked(): JSX.Element {
),
},
{
- key: '2',
+ key: 'youAreInGoodCompany',
label: t('youAreInGoodCompany'),
children: (
<Row gutter={[24, 16]} justify="center">
@@ -224,7 +241,7 @@ export default function WorkspaceBlocked(): JSX.Element {
// children: 'Our Pricing',
// },
{
- key: '4',
+ key: 'faqs',
label: t('faqs'),
children: (
<Row align="middle" justify="center">
@@ -234,7 +251,11 @@ export default function WorkspaceBlocked(): JSX.Element {
direction="vertical"
className="workspace-locked__faq-container"
>
- <Collapse items={faqData} defaultActiveKey={['1']} />
+ <Collapse
+ items={faqData}
+ defaultActiveKey={['signoz-cloud-vs-community']}
+ onChange={handleCollapseChange}
+ />
{isAdmin && (
<Button
type="primary"
@@ -272,6 +293,7 @@ export default function WorkspaceBlocked(): JSX.Element {
size="middle"
href="mailto:[email protected]"
role="button"
+ onClick={handleContactUsClick}
>
Contact Us
</Button>
@@ -355,7 +377,11 @@ export default function WorkspaceBlocked(): JSX.Element {
)}
<div className="workspace-locked__tabs">
- <Tabs items={tabItems} defaultActiveKey="2" />
+ <Tabs
+ items={tabItems}
+ defaultActiveKey="youAreInGoodCompany"
+ onTabClick={handleTabClick}
+ />
</div>
</>
)}
diff --git a/frontend/src/pages/WorkspaceLocked/workspaceLocked.data.ts b/frontend/src/pages/WorkspaceLocked/workspaceLocked.data.ts
index 0f4d07b96e..bebcdaf64a 100644
--- a/frontend/src/pages/WorkspaceLocked/workspaceLocked.data.ts
+++ b/frontend/src/pages/WorkspaceLocked/workspaceLocked.data.ts
@@ -42,7 +42,7 @@ export const enterpriseGradeValuesData = [
export const customerStoriesData = [
{
- key: 'c-story-1',
+ key: 'story-subomi-oluwalana',
avatar: 'https://signoz.io/img/users/subomi-oluwalana.webp',
personName: 'Subomi Oluwalana',
role: 'Founder & CEO at Convoy',
@@ -53,7 +53,7 @@ export const customerStoriesData = [
'https://www.linkedin.com/feed/update/urn:li:activity:7212117589068591105/',
},
{
- key: 'c-story-2',
+ key: 'story-dhruv-garg',
avatar: 'https://signoz.io/img/users/dhruv-garg.webp',
personName: 'Dhruv Garg',
role: 'Tech Lead at Nudge',
@@ -64,7 +64,7 @@ export const customerStoriesData = [
'https://www.linkedin.com/posts/dhruv-garg79_signoz-docker-kubernetes-activity-7205163679028240384-Otlb/',
},
{
- key: 'c-story-3',
+ key: 'story-vivek-bhakta',
avatar: 'https://signoz.io/img/users/vivek-bhakta.webp',
personName: 'Vivek Bhakta',
role: 'CTO at Wombo AI',
@@ -74,7 +74,7 @@ export const customerStoriesData = [
link: 'https://x.com/notorious_VB/status/1701773119696904242',
},
{
- key: 'c-story-4',
+ key: 'story-pranay-narang',
avatar: 'https://signoz.io/img/users/pranay-narang.webp',
personName: 'Pranay Narang',
role: 'Engineering at Azodha',
@@ -84,7 +84,7 @@ export const customerStoriesData = [
link: 'https://x.com/PranayNarang/status/1676247073396752387',
},
{
- key: 'c-story-4',
+ key: 'story-Sheheryar-Sewani',
avatar: 'https://signoz.io/img/users/shey.webp',
personName: 'Sheheryar Sewani',
role: 'Seasoned Rails Dev & Founder',
@@ -95,7 +95,7 @@ export const customerStoriesData = [
'https://www.linkedin.com/feed/update/urn:li:activity:7181011853915926528/',
},
{
- key: 'c-story-5',
+ key: 'story-daniel-schell',
avatar: 'https://signoz.io/img/users/daniel.webp',
personName: 'Daniel Schell',
role: 'Founder & CTO at Airlockdigital',
@@ -115,7 +115,7 @@ export const customerStoriesData = [
link: 'https://x.com/gofrendiasgard/status/1680139003658641408',
},
{
- key: 'c-story-7',
+ key: 'story-anselm-eickhoff',
avatar: 'https://signoz.io/img/users/anselm.jpg',
personName: 'Anselm Eickhoff',
role: 'Software Architect',
@@ -129,26 +129,26 @@ export const customerStoriesData = [
export const faqData = [
{
- key: '1',
+ key: 'signoz-cloud-vs-community',
label:
'What is the difference between SigNoz Cloud(Teams) and Community Edition?',
children:
'You can self-host and manage the community edition yourself. You should choose SigNoz Cloud if you don’t want to worry about managing the SigNoz cluster. There are some exclusive features like SSO & SAML support, which come with SigNoz cloud offering. Our team also offers support on the initial configuration of dashboards & alerts and advises on best practices for setting up your observability stack in the SigNoz cloud offering.',
},
{
- key: '2',
+ key: 'calc-for-metrics',
label: 'How are number of samples calculated for metrics pricing?',
children:
"If a timeseries sends data every 30s, then it will generate 2 samples per min. So, if you have 10,000 time series sending data every 30s then you will be sending 20,000 samples per min to SigNoz. This will be around 864 mn samples per month and would cost 86.4 USD/month. Here's an explainer video on how metrics pricing is calculated - Link: https://vimeo.com/973012522",
},
{
- key: '3',
+ key: 'enterprise-support-plans',
label: 'Do you offer enterprise support plans?',
children:
'Yes, feel free to reach out to us on [email protected] if you need a dedicated support plan or paid support for setting up your initial SigNoz setup.',
},
{
- key: '4',
+ key: 'who-should-use-enterprise-plans',
label: 'Who should use Enterprise plans?',
children:
'Teams which need enterprise support or features like SSO, Audit logs, etc. may find our enterprise plans valuable.',