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.

861 B
Raw Blame
import { SectionKind, type SectionConfig } from '../../types/sections';

// No thresholds: colour already means "count". No bucket controls either — the
// bucket axis comes back with the response and the panel never re-bins it.
export const sections: SectionConfig[] = [
	{
		kind: SectionKind.Visualization,
		controls: { switchPanelKind: true, timePreference: true },
	},
	// Ahead of the rest: the colour ramp is what a heatmap is read through.
	{ kind: SectionKind.ChartAppearance, controls: { colors: true } },
	// Formats the bucket bounds; counts are plain integers and take no unit.
	{ kind: SectionKind.Formatting, controls: { unit: true, decimals: true } },
	{ kind: SectionKind.Axes, controls: { y: true } },
	// Position only: a group's swatch colour comes off the grid's own ramp.
	{ kind: SectionKind.Legend, controls: { position: true } },
];