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
/**
* AI-owned. Generated and maintained by the `signoz-page-story` skill.
* Do not hand-edit: regenerate instead.
*/
import { rest } from 'msw';
import { countControl } from '@/storybook/controls/controls';
import { defineStoryMocks } from '@/storybook/controls/defineStoryMocks';
import {
SERVICE_NAME,
servicesWithTopLevelOpsResponse,
} from './__story_mockdata__/serviceTopLevelOperations';
const LIST = 'Top level operations · list';
export const serviceTopLevelOperationsMocks = defineStoryMocks({
controls: {
operations: countControl('Operations', {
group: LIST,
description:
'Entry-point spans the service reported. The page exists for the case where this runs past 2500, and the table pages at 100.',
value: 24,
max: 2501,
}),
},
handlers: (values, response) => [
rest.post(
'http://localhost/api/v2/services',
response.json(() => servicesWithTopLevelOpsResponse(values.operations)),
),
],
config: () => ({ route: `/services/${SERVICE_NAME}/top-level-operations` }),
});