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 { VIEWS } from 'container/InfraMonitoringK8sV2/constants';
import { storyMocks } from '@/storybook/controls/defineStoryMocks';
import type { PageStoryArgs } from '@/storybook/runtime/resolveStory';
import { volumesMocks } from './Kubernetes.stories.mocks';
import InfrastructureMonitoringPage from '../InfrastructureMonitoringPage';
type VolumesArgs = PageStoryArgs<typeof volumesMocks>;
const pageStory = storyMocks(volumesMocks, { layout: 'app' });
/**
* The Kubernetes volumes tab: capacity, used and available per persistent volume
* claim.
*
* Route: `/infrastructure-monitoring/kubernetes?category=volumes`.
*/
const meta = {
title: 'Pages/Infrastructure/Kubernetes/Volumes',
component: InfrastructureMonitoringPage,
...pageStory,
parameters: { ...pageStory.parameters },
} satisfies Meta<VolumesArgs>;
export default meta;
/**
* Persistent volume claims by namespace, with usage against capacity and the
* inode counts beside it. The volume drawer hides its tab strip, so it opens on
* the metrics widgets and stays there.
*/
export const Default: StoryObj<VolumesArgs> = {};
/** The selected volume's metrics-only detail drawer. */
export const VolumeDetails: StoryObj<VolumesArgs> = {
args: { drawer: true, drawerTab: VIEWS.METRICS },
};