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.

1.1 KB
Raw Blame
import type { Meta, StoryObj } from '@storybook/react-vite';

import { storyMocks } from '@/storybook/controls/defineStoryMocks';
import type { PageStoryArgs } from '@/storybook/runtime/resolveStory';

import { daemonSetsMocks } from './Kubernetes.stories.mocks';

import InfrastructureMonitoringPage from '../InfrastructureMonitoringPage';

type DaemonSetsArgs = PageStoryArgs<typeof daemonSetsMocks>;

const pageStory = storyMocks(daemonSetsMocks, { layout: 'app' });

/**
 * The Kubernetes daemon sets tab: desired against ready nodes, with CPU and
 * memory beside them.
 *
 * Route: `/infrastructure-monitoring/kubernetes?category=daemonsets`.
 */
const meta = {
	title: 'Pages/Infrastructure/Kubernetes/DaemonSets',
	component: InfrastructureMonitoringPage,
	...pageStory,
	parameters: { ...pageStory.parameters },
} satisfies Meta<DaemonSetsArgs>;

export default meta;

/**
 * DaemonSets by namespace: ready, current, desired and misscheduled nodes beside
 * the CPU and memory of the pods they run. The drawer adds the by-pod metrics
 * tab.
 */
export const Default: StoryObj<DaemonSetsArgs> = {};