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.
TypeScript apmapplication-monitoringdistributed-tracinggogood-first-issuejaegerloglogsmetricsmonitoringnextjsobservabilityopen-sourceopentelemetryprometheusreactreactjsself-hostedtracingtypescript
import { useMemo } from 'react';
import { useDashboardFetchRequired } from './useDashboardFetchRequired';
export interface DashboardEventMeta {
dashboardId: string;
dashboardName: string;
}
/**
* Dashboard identity for analytics payloads, sent as a pair: `dashboardId` joins the
* event back to the record, `dashboardName` is what makes it readable in the funnel.
*/
export function useDashboardEventMeta(): DashboardEventMeta {
const { dashboard } = useDashboardFetchRequired();
return useMemo(
() => ({
dashboardId: dashboard.id,
dashboardName: dashboard.spec.display.name,
}),
[dashboard.id, dashboard.spec.display.name],
);
}