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.

581 B
Raw Blame
import { Input } from 'antd';

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

interface VolumeControlToolbarProps {
	value: string;
	onChange: (value: string) => void;
}

function VolumeControlToolbar({
	value,
	onChange,
}: VolumeControlToolbarProps): JSX.Element {
	return (
		<div className={styles.toolbar}>
			<Input
				className={styles.search}
				placeholder="Search metrics"
				allowClear
				value={value}
				onChange={(e): void => onChange(e.target.value)}
				data-testid="volume-control-search"
			/>
		</div>
	);
}

export default VolumeControlToolbar;