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.

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

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

import LogsSettings from '../index';
import { logsSettingsMocks } from './LogsSettings.stories.mocks';

type LogsSettingsArgs = PageStoryArgs<typeof logsSettingsMocks>;

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

/**
 * The logs settings page, which opens on its index fields tab.
 *
 * Route: `/logs-explorer/index-fields`.
 */
const meta = {
	title: 'Pages/Logs/Settings',
	component: LogsSettings,
	...pageStory,
	parameters: { ...pageStory.parameters },
} satisfies Meta<LogsSettingsArgs>;

export default meta;

type Story = StoryObj<LogsSettingsArgs>;

/**
 * The index-fields tab, which is where the logs settings page opens and the
 * only tab it has. The tab body is still a placeholder in the app.
 */
export const Default: Story = {};