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.

947 B
Raw Blame
import { useCallback } from 'react';
import logEvent from 'api/common/logEvent';
import LearnMore from 'components/LearnMore/LearnMore';

import './NotCloudFallback.styles.scss';
import { MCP_DOCS_URL } from '../clients';

const DOCS_LINK_EVENT = 'MCP Settings: Docs link clicked';

function NotCloudFallback(): JSX.Element {
	const handleDocsClick = useCallback(() => {
		void logEvent(DOCS_LINK_EVENT, { target: 'fallback' });
	}, []);

	return (
		<div className="not-cloud-fallback">
			<div className="not-cloud-fallback__content">
				<h2 className="not-cloud-fallback__title">
					MCP Server is available on SigNoz
				</h2>
				<p className="not-cloud-fallback__body">
					Users can follow the docs to setup the MCP server against their SigNoz
					instance.
				</p>
				<LearnMore
					text="View MCP Server docs"
					url={MCP_DOCS_URL}
					onClick={handleDocsClick}
				/>
			</div>
		</div>
	);
}

export default NotCloudFallback;