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.

848 B
Raw Blame
import { memo } from 'react';
import HeaderRightSection from 'components/HeaderRightSection/HeaderRightSection';

import DashboardPageBreadcrumbs from './DashboardPageBreadcrumbs';
import { useShareVariablesOption } from './useShareVariablesOption';

import styles from './DashboardPageHeader.module.scss';

interface DashboardPageHeaderProps {
	title: string;
	image: string;
}

function DashboardPageHeader({
	title,
	image,
}: DashboardPageHeaderProps): JSX.Element {
	const shareVariablesOption = useShareVariablesOption();
	return (
		<div className={styles.dashboardPageHeader}>
			<DashboardPageBreadcrumbs title={title} image={image} />
			<HeaderRightSection
				enableAnnouncements={false}
				enableShare
				enableFeedback
				shareModalExtraOption={shareVariablesOption}
			/>
		</div>
	);
}

export default memo(DashboardPageHeader);