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 type { Meta, StoryObj } from '@storybook/react-vite';
import { storyMocks } from '@/storybook/controls/defineStoryMocks';
import type { PageStoryArgs } from '@/storybook/runtime/resolveStory';
import { statefulSetsMocks } from './Kubernetes.stories.mocks';
import InfrastructureMonitoringPage from '../InfrastructureMonitoringPage';
type StatefulSetsArgs = PageStoryArgs<typeof statefulSetsMocks>;
const pageStory = storyMocks(statefulSetsMocks, { layout: 'app' });
/**
* The Kubernetes stateful sets tab: desired against ready replicas, with CPU and
* memory beside them.
*
* Route: `/infrastructure-monitoring/kubernetes?category=statefulsets`.
*/
const meta = {
title: 'Pages/Infrastructure/Kubernetes/StatefulSets',
component: InfrastructureMonitoringPage,
...pageStory,
parameters: { ...pageStory.parameters },
} satisfies Meta<StatefulSetsArgs>;
export default meta;
/**
* StatefulSets by namespace: current against desired pods, the replica count and
* the pod status counts. The drawer adds the by-pod metrics tab.
*/
export const Default: StoryObj<StatefulSetsArgs> = {};