Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

feat(logs): show every service in one virtualized list (#83785)

Jon McCallum7eeefa44c9eb
diff --git a/products/logs/backend/presentation/views/api.py b/products/logs/backend/presentation/views/api.py
index ab539edd9180..42b3fbbc3f3d 100644
--- a/products/logs/backend/presentation/views/api.py
+++ b/products/logs/backend/presentation/views/api.py
@@ -708,7 +708,7 @@ class _LogsServicesSummarySerializer(serializers.Serializer):
class _LogsServicesResponseSerializer(serializers.Serializer):
services = _LogsServiceAggregateSerializer(
many=True,
- help_text="Per-service aggregates, ordered by log_count descending. Capped at 1000 services.",
+ help_text="Per-service aggregates, ordered by log_count descending. Capped at 10000 services.",
)
sparkline = _LogsServicesSparklineBucketSerializer(
many=True,
@@ -720,7 +720,7 @@ class _LogsServicesResponseSerializer(serializers.Serializer):
)
total_services = serializers.IntegerField(
help_text=(
- "True distinct service count for the window and filters, unaffected by the 1000-service "
+ "True distinct service count for the window and filters, unaffected by the 10000-service "
"cap on `services`. Greater than the length of `services` when the response is truncated."
),
)
diff --git a/products/logs/backend/services_query_runner.py b/products/logs/backend/services_query_runner.py
index 4cb7498bb240..9acfc633b701 100644
--- a/products/logs/backend/services_query_runner.py
+++ b/products/logs/backend/services_query_runner.py
@@ -168,7 +168,9 @@ def _sampling_rule_summary(rule: LogsExclusionRule) -> str:
# user-controlled service_name cardinality (a misconfigured SDK can emit a
# unique name per pod or instance). Names beyond the cap stay reachable via
# serviceNameSearch, which filters before aggregation.
-SERVICES_LIMIT = 1000
+# The LIMIT applies after the GROUP BY, so raising it costs response bytes rather
+# than query time. The aggregation reads the same window either way.
+SERVICES_LIMIT = 10000
# Sparklines are fetched per displayed page: the bucket grid is
# time × service and the sparkline query's row LIMIT would silently drop the
# most recent buckets if scoped to all SERVICES_LIMIT names at once.
diff --git a/products/logs/backend/test/test_services_query_runner.py b/products/logs/backend/test/test_services_query_runner.py
index dc9520745595..036ac1093f17 100644
--- a/products/logs/backend/test/test_services_query_runner.py
+++ b/products/logs/backend/test/test_services_query_runner.py
@@ -252,22 +252,29 @@ class TestServicesQueryDateRange(ClickhouseTestMixin, APIBaseTest):
# whose date subclasses cannot be built while freezegun has datetime.date patched.
def test_cap_limits_services_but_not_total_count(self):
with patch.object(services_query_runner, "SERVICES_LIMIT", 5):
- with patch.object(
- services_query_runner,
- "execute_hogql_query",
- wraps=services_query_runner.execute_hogql_query,
- ) as execute_spy:
- result = self._services("2025-12-16T00:00:00Z", "2025-12-16T23:59:59Z")
+ result = self._services("2025-12-16T00:00:00Z", "2025-12-16T23:59:59Z")
self.assertEqual(len(result["services"]), 5)
self.assertEqual(result["total_services"], 12)
- # Counting the services with a second, uncapped scan of the window instead
- # of the aggregates query's window function added 20s on a large project.
- self.assertEqual(execute_spy.call_count, 2, "expected only the aggregates and sparkline queries")
# The cap keeps the highest-volume services: every kept fixture service has
# 97+ rows, so the smallest two (11 and 3 rows) are the ones cut.
self.assertTrue(all(s["log_count"] >= 97 for s in result["services"]))
+ def test_query_count_does_not_grow_with_the_number_of_services(self):
+ with patch.object(
+ services_query_runner,
+ "execute_hogql_query",
+ wraps=services_query_runner.execute_hogql_query,
+ ) as execute_spy:
+ result = self._services("2025-12-16T00:00:00Z", "2025-12-16T23:59:59Z")
+
+ # Runs on the shipped cap, so every fixture service comes back untruncated.
+ self.assertEqual(len(result["services"]), 12)
+ # Counting the services with a second, uncapped scan of the window instead
+ # of the aggregates query's window function added 20s on a large project.
+ # Fetching rules or sparklines per service would show up here too.
+ self.assertEqual(execute_spy.call_count, 2, "expected only the aggregates and sparkline queries")
+
def test_sparkline_scoped_to_top_services_when_over_limit(self):
with patch.object(services_query_runner, "SPARKLINE_SERVICES_LIMIT", 3):
result = self._services("2025-12-16T00:00:00Z", "2025-12-16T23:59:59Z")
diff --git a/products/logs/frontend/LogsScene.stories.tsx b/products/logs/frontend/LogsScene.stories.tsx
index f76f98ad7269..7f972adf3a86 100644
--- a/products/logs/frontend/LogsScene.stories.tsx
+++ b/products/logs/frontend/LogsScene.stories.tsx
@@ -482,6 +482,7 @@ LogsSceneServicesTabV2.parameters = {
featureFlags: [FEATURE_FLAGS.LOGS_SERVICES_VIEW, FEATURE_FLAGS.LOGS_SERVICES_VIEW_V2],
testOptions: {
// v2-specific, so this fails rather than passes if the gate falls through to the v1 table.
- waitForSelector: '[data-attr="logs-services-view-mode-list"]',
+ // A rendered row also means the virtualized list measured its container.
+ waitForSelector: '[data-attr="logs-services-row"]',
},
}
diff --git a/products/logs/frontend/components/LogsServices/LogsServices.tsx b/products/logs/frontend/components/LogsServices/LogsServices.tsx
index 3359f590635d..ab8501a47645 100644
--- a/products/logs/frontend/components/LogsServices/LogsServices.tsx
+++ b/products/logs/frontend/components/LogsServices/LogsServices.tsx
@@ -1,18 +1,8 @@
import { useActions, useValues } from 'kea'
-import { combineUrl } from 'kea-router'
import { useEffect, useMemo, useState } from 'react'
import { IconShare } from '@posthog/icons'
-import {
- LemonBanner,
- LemonButton,
- LemonInput,
- LemonSelect,
- LemonTable,
- LemonTag,
- Tooltip,
- lemonToast,
-} from '@posthog/lemon-ui'
+import { LemonBanner, LemonButton, LemonInput, LemonSelect, LemonTable, LemonTag, Tooltip } from '@posthog/lemon-ui'
import type { LemonTableColumns } from '@posthog/lemon-ui'
import { Sparkline } from 'lib/components/Sparkline'
@@ -24,6 +14,7 @@ import { logsViewerModalLogic } from 'products/logs/frontend/components/LogsView
import { LogsFeatureFlagKeys } from 'products/logs/frontend/logsFeatureFlagKeys'
import { logsServicesLogic, SERVICES_PAGE_SIZE, ServiceRow } from './logsServicesLogic'
+import { copyServiceDeepLink } from './serviceViewerUrl'
/** Collapsed Rules column shows this many rule chips before "+ N more". */
const RULES_PREVIEW_COUNT = 3
@@ -148,18 +139,6 @@ function ServiceRulesCell({
)
}
-function copyServiceDeepLink(serviceName: string): void {
- const path = combineUrl(urls.currentProject(urls.logs()), {
- activeTab: 'viewer',
- serviceNames: serviceName,
- }).url
- const full = urls.absolute(path)
- void navigator.clipboard.writeText(full).then(
- () => lemonToast.success('Link copied'),
- () => lemonToast.error('Could not copy link')
- )
-}
-
export function LogsServices(): JSX.Element {
const {
services,
diff --git a/products/logs/frontend/components/LogsServices/LogsServicesV2.tsx b/products/logs/frontend/components/LogsServices/LogsServicesV2.tsx
index 96fc35b5c89d..64855070402c 100644
--- a/products/logs/frontend/components/LogsServices/LogsServicesV2.tsx
+++ b/products/logs/frontend/components/LogsServices/LogsServicesV2.tsx
@@ -1,11 +1,12 @@
import { useActions, useValues } from 'kea'
-import { LemonBanner, LemonInput, LemonSegmentedButton, LemonSelect, LemonTable, LemonTag } from '@posthog/lemon-ui'
-import type { LemonSegmentedButtonOption, LemonTableColumns } from '@posthog/lemon-ui'
+import { LemonBanner, LemonInput, LemonSegmentedButton, LemonSelect } from '@posthog/lemon-ui'
+import type { LemonSegmentedButtonOption } from '@posthog/lemon-ui'
import { humanFriendlyNumber } from 'lib/utils/numbers'
-import { logsServicesLogic, SERVICES_PAGE_SIZE, ServiceRow, ServicesViewMode } from './logsServicesLogic'
+import { logsServicesLogic, ServicesViewMode } from './logsServicesLogic'
+import { ServicesList } from './ServicesList'
const DATE_OPTIONS = [
{ value: '-1h', label: 'Last hour' },
@@ -19,25 +20,6 @@ const VIEW_MODE_OPTIONS: LemonSegmentedButtonOption<ServicesViewMode>[] = [
{ value: 'grid', label: 'Grid', 'data-attr': 'logs-services-view-mode-grid' },
]
-const COLUMNS: LemonTableColumns<ServiceRow> = [
- { title: 'Service name', dataIndex: 'service_name' },
- {
- title: 'Log volume',
- dataIndex: 'log_count',
- align: 'right',
- render: (_, row) => humanFriendlyNumber(row.log_count),
- },
- {
- title: 'Error rate',
- dataIndex: 'error_rate',
- align: 'right',
- render: (_, row) => {
- const type = row.error_rate > 0.1 ? 'danger' : row.error_rate > 0.01 ? 'warning' : 'success'
- return <LemonTag type={type}>{(row.error_rate * 100).toFixed(1)}%</LemonTag>
- },
- },
-]
-
function ServicesGrid(): JSX.Element {
return (
<div className="p-4 text-center text-muted">
@@ -47,9 +29,9 @@ function ServicesGrid(): JSX.Element {
}
export function LogsServicesV2(): JSX.Element {
- const { pageRows, services, totalServices, servicesDataLoading, searchTerm, dateFrom, page, viewMode } =
+ const { sortedServices, services, totalServices, servicesDataLoading, searchTerm, dateFrom, viewMode } =
useValues(logsServicesLogic)
- const { setDateFrom, setSearchTerm, setPage, setViewMode } = useActions(logsServicesLogic)
+ const { setDateFrom, setSearchTerm, setViewMode } = useActions(logsServicesLogic)
return (
<div className="flex flex-col gap-2 py-2 flex-1 min-h-0">
@@ -88,25 +70,7 @@ export function LogsServicesV2(): JSX.Element {
{viewMode === 'grid' ? (
<ServicesGrid />
) : (
- <LemonTable
- columns={COLUMNS}
- dataSource={pageRows}
- loading={servicesDataLoading}
- pagination={{
- controlled: true,
- pageSize: SERVICES_PAGE_SIZE,
- currentPage: page,
- entryCount: services.length,
- onForward: () => setPage(page + 1),
- onBackward: () => setPage(page - 1),
- useUrl: false,
- }}
- emptyState={
- searchTerm ? 'No services match your search' : 'No services found in this time range'
- }
- rowKey="service_name"
- size="small"
- />
+ <ServicesList services={sortedServices} loading={servicesDataLoading} searchTerm={searchTerm} />
)}
</div>
</div>
diff --git a/products/logs/frontend/components/LogsServices/ServicesList.test.tsx b/products/logs/frontend/components/LogsServices/ServicesList.test.tsx
new file mode 100644
index 000000000000..2189eaa65b23
--- /dev/null
+++ b/products/logs/frontend/components/LogsServices/ServicesList.test.tsx
@@ -0,0 +1,67 @@
+import { render } from '@testing-library/react'
+
+import type { SizeProps } from 'lib/components/AutoSizer/AutoSizer'
+
+import { initKeaTests } from '~/test/init'
+
+import type { ServiceRow } from './logsServicesLogic'
+import { ServicesList } from './ServicesList'
+
+// jsdom measures every element as 0x0, so the real AutoSizer would render nothing.
+jest.mock('lib/components/AutoSizer', () => ({
+ __esModule: true,
+ AutoSizer: ({ renderProp }: { renderProp: (size: SizeProps) => JSX.Element | null }) =>
+ renderProp({ width: 800, height: 600 }),
+}))
+
+const service = (name: string): ServiceRow => ({
+ service_name: name,
+ log_count: 1,
+ error_count: 0,
+ error_rate: 0,
+})
+
+const SERVICES = Array.from({ length: 2400 }, (_, i) => ({
+ ...service(`svc-${String(i).padStart(4, '0')}`),
+ log_count: 2400 - i,
+}))
+
+describe('ServicesList', () => {
+ beforeEach(() => {
+ initKeaTests()
+ })
+
+ const renderList = (services: ServiceRow[] = SERVICES): HTMLElement =>
+ render(<ServicesList services={services} loading={false} searchTerm="" />).container
+
+ it('keeps the DOM bounded by the viewport, not by the number of services', () => {
+ const rows = renderList().querySelectorAll('[data-attr="logs-services-row"]')
+
+ // 600px of viewport at 30px rows holds ~18 rows, plus 5 of overscan either side.
+ // A count anywhere near 2,400 means the list stopped virtualizing.
+ expect(rows.length).toBeGreaterThan(15)
+ expect(rows.length).toBeLessThan(40)
+ })
+
+ it('carries the whole service name into the viewer link, commas and all', () => {
+ const href = renderList([service('checkout,v2')])
+ .querySelector('[data-attr="logs-services-row"] a')
+ ?.getAttribute('href')
+
+ expect(href).toContain('activeTab=viewer')
+ // A scalar here would come back out of the URL as two services.
+ expect(href).toContain(`serviceNames=${encodeURIComponent('["checkout,v2"]')}`)
+ })
+
+ it('leaves the no-service row unlinked, because no filter can express it', () => {
+ const row = renderList([service('(no service)')]).querySelector('[data-attr="logs-services-row"]')
+
+ expect(row?.textContent).toContain('(no service)')
+ expect(row?.querySelector('a')).toBeNull()
+ expect(row?.querySelector('[data-attr="logs-services-row-share"]')).toBeNull()
+ })
+
+ it('states how many services matched and how far they scroll', () => {
+ expect(renderList().textContent).toContain('2,400 services, about 134 screens')
+ })
+})
diff --git a/products/logs/frontend/components/LogsServices/ServicesList.tsx b/products/logs/frontend/components/LogsServices/ServicesList.tsx
new file mode 100644
index 000000000000..91fe523189a5
--- /dev/null
+++ b/products/logs/frontend/components/LogsServices/ServicesList.tsx
@@ -0,0 +1,196 @@
+import { CSSProperties, useMemo } from 'react'
+import { List } from 'react-window'
+
+import { IconShare } from '@posthog/icons'
+import { LemonButton, LemonTag, Link, Spinner, Tooltip } from '@posthog/lemon-ui'
+
+import { AutoSizer } from 'lib/components/AutoSizer'
+import { SizeProps } from 'lib/components/AutoSizer/AutoSizer'
+import { cn } from 'lib/utils/css-classes'
+import { humanFriendlyLargeNumber, humanFriendlyNumber } from 'lib/utils/numbers'
+
+import { NO_SERVICE_LABEL, ServiceRow } from './logsServicesLogic'
+import { copyServiceDeepLink, serviceViewerUrl } from './serviceViewerUrl'
+
+const ROW_HEIGHT = 30
+// The scroller needs an explicit pixel height, so these have to match the `h-6` and
+// `h-7` classes that actually size the subtitle and the header.
+const SUBTITLE_HEIGHT = 24
+const HEADER_HEIGHT = 28
+
+/** Shared by the header and every row so the columns line up either side of the scroller. */
+const COLUMN_TEMPLATE = 'grid grid-cols-[minmax(0,1fr)_6rem_5rem_12rem] items-center gap-2'
+
+interface ServicesListProps {
+ services: ServiceRow[]
+ loading: boolean
+ /** Both the empty state and the subtitle read differently for a search result than for the whole project. */
+ searchTerm: string
+}
+
+/**
+ * Every service in the project, in one scroller. The aggregates query costs the same whether
+ * it returns 25 rows or all of them, because the LIMIT lands after the GROUP BY.
+ */
+export function ServicesList({ services, loading, searchTerm }: ServicesListProps): JSX.Element {
+ const rowProps = useMemo(() => ({ services }), [services])
+
+ if (loading && services.length === 0) {
+ return (
+ <div className="flex items-center justify-center p-4">
+ <Spinner />
+ </div>
+ )
+ }
+
+ if (services.length === 0) {
+ return (
+ <div className="p-4 text-center text-muted">
+ {searchTerm ? 'No services match your search' : 'No services found in this time range'}
+ </div>
+ )
+ }
+
+ return (
+ <AutoSizer
+ renderProp={({ width, height }: SizeProps) => {
+ if (!width || !height) {
+ return null
+ }
+ const listHeight = Math.max(ROW_HEIGHT, height - HEADER_HEIGHT - SUBTITLE_HEIGHT)
+ return (
+ <div
+ className={cn('flex flex-col', loading && 'opacity-60 transition-opacity')}
+ // eslint-disable-next-line react/forbid-dom-props
+ style={{ width }}
+ >
+ <div className="h-6 shrink-0 text-xs text-muted px-2">
+ {densitySubtitle(services.length, screenCount(services.length, listHeight), !!searchTerm)}
+ </div>
+ <ServicesListHeader />
+ <List<ServicesListRowProps>
+ // eslint-disable-next-line react/forbid-dom-props
+ style={{ width, height: listHeight }}
+ rowCount={services.length}
+ rowHeight={ROW_HEIGHT}
+ overscanCount={5}
+ rowComponent={ServicesListRow}
+ rowProps={rowProps}
+ />
+ </div>
+ )
+ }}
+ />
+ )
+}
+
+function screenCount(serviceCount: number, listHeight: number): number {
+ const rowsPerScreen = Math.max(1, Math.floor(listHeight / ROW_HEIGHT))
+ return Math.ceil(serviceCount / rowsPerScreen)
+}
+
+function densitySubtitle(serviceCount: number, screens: number, searching: boolean): string {
+ const noun = serviceCount === 1 ? 'service' : 'services'
+ const label = `${humanFriendlyNumber(serviceCount)} ${searching ? 'matching ' : ''}${noun}`
+ return screens <= 1 ? label : `${label}, about ${humanFriendlyNumber(screens)} screens`
+}
+
+function ServicesListHeader(): JSX.Element {
+ return (
+ <div className="h-7 shrink-0 flex items-center gap-2 pr-2 border-b text-xs font-semibold text-secondary uppercase tracking-wide">
+ <div className={cn(COLUMN_TEMPLATE, 'flex-1 min-w-0 pl-2')}>
+ <span>Service</span>
+ <span className="text-right">Log volume</span>
+ <span className="text-right">Error rate</span>
+ <span>Rules</span>
+ </div>
+ {/* Matches the share button, which has no column title of its own. */}
+ <span className="w-6 shrink-0" />
+ </div>
+ )
+}
+
+interface ServicesListRowProps {
+ services: ServiceRow[]
+}
+
+function ServicesListRow({
+ ariaAttributes,
+ index,
+ style,
+ services,
+}: {
+ ariaAttributes: { 'aria-posinset': number; 'aria-setsize': number; role: 'listitem' }
+ index: number
+ style: CSSProperties
+} & ServicesListRowProps): JSX.Element {
+ const service = services[index]
+ // The placeholder rows stand for logs that carry no service name at all. `parseTagsFilter`
+ // drops the empty value they map back to, so a link would open the viewer unfiltered.
+ const deepLinkable = service.service_name !== NO_SERVICE_LABEL
+ const cells = (
+ <>
+ <span className="truncate font-medium">{service.service_name}</span>
+ <span className="text-right tabular-nums">{humanFriendlyLargeNumber(service.log_count)}</span>
+ <span className="text-right">
+ <ErrorRateTag errorRate={service.error_rate} />
+ </span>
+ <ServiceRulesSummary rules={service.active_rules ?? []} />
+ </>
+ )
+ const cellsClassName = cn(COLUMN_TEMPLATE, 'flex-1 min-w-0 h-full pl-2')
+ return (
+ <div
+ {...ariaAttributes}
+ // eslint-disable-next-line react/forbid-dom-props
+ style={style}
+ className="flex items-center gap-2 pr-2 border-b hover:bg-accent-highlight-secondary"
+ data-attr="logs-services-row"
+ >
+ {deepLinkable ? (
+ /* The link carries the row's left padding so clicking anywhere but the share cell navigates. */
+ <Link subtle to={serviceViewerUrl(service.service_name)} className={cellsClassName}>
+ {cells}
+ </Link>
+ ) : (
+ <Tooltip title="These logs have no service name, so the viewer can't filter to them">
+ <div className={cellsClassName}>{cells}</div>
+ </Tooltip>
+ )}
+ {deepLinkable ? (
+ <Tooltip title="Copy a link to the viewer filtered to this service">
+ <LemonButton
+ size="xsmall"
+ noPadding
+ icon={<IconShare />}
+ onClick={() => copyServiceDeepLink(service.service_name)}
+ data-attr="logs-services-row-share"
+ />
+ </Tooltip>
+ ) : (
+ /* Holds the share button's width so the columns line up across every row. */
+ <span className="w-6 shrink-0" />
+ )}
+ </div>
+ )
+}
+
+function ErrorRateTag({ errorRate }: { errorRate: number }): JSX.Element {
+ const type = errorRate > 0.1 ? 'danger' : errorRate > 0.01 ? 'warning' : 'success'
+ return <LemonTag type={type}>{(errorRate * 100).toFixed(1)}%</LemonTag>
+}
+
+function ServiceRulesSummary({ rules }: { rules: NonNullable<ServiceRow['active_rules']> }): JSX.Element {
+ if (rules.length === 0) {
+ return <span className="text-muted">-</span>
+ }
+ const [first, ...rest] = rules
+ return (
+ <Tooltip title={rules.map((rule) => rule.rule_name).join(', ')}>
+ <span className="flex items-center gap-1 min-w-0 cursor-default">
+ <span className="truncate">{first.rule_name}</span>
+ {rest.length > 0 && <span className="shrink-0 text-muted">+{rest.length}</span>}
+ </span>
+ </Tooltip>
+ )
+}
diff --git a/products/logs/frontend/components/LogsServices/logsServicesLogic.ts b/products/logs/frontend/components/LogsServices/logsServicesLogic.ts
index 308e029dd253..bb4f3eece0af 100644
--- a/products/logs/frontend/components/LogsServices/logsServicesLogic.ts
+++ b/products/logs/frontend/components/LogsServices/logsServicesLogic.ts
@@ -23,7 +23,7 @@ export type ServicesViewMode = 'list' | 'grid'
export const SERVICES_PAGE_SIZE = 25
/** Placeholder the backend substitutes for an empty service name; map back to '' when filtering. */
-const NO_SERVICE_LABEL = '(no service)'
+export const NO_SERVICE_LABEL = '(no service)'
const EMPTY_SERVICES_RESPONSE: _LogsServicesResponseApi = {
services: [],
diff --git a/products/logs/frontend/components/LogsServices/serviceViewerUrl.ts b/products/logs/frontend/components/LogsServices/serviceViewerUrl.ts
new file mode 100644
index 000000000000..e90c169f65b3
--- /dev/null
+++ b/products/logs/frontend/components/LogsServices/serviceViewerUrl.ts
@@ -0,0 +1,25 @@
+import { combineUrl } from 'kea-router'
+
+import { lemonToast } from '@posthog/lemon-ui'
+
+import { urls } from 'scenes/urls'
+
+/**
+ * Viewer tab scoped to one service. logsSceneLogic reads `serviceNames` back off the URL, and
+ * the list has to go in as a list: a scalar comes back through `parseTagsFilter`'s
+ * comma-separated path, so `checkout,v2` would arrive as two services.
+ */
+export function serviceViewerUrl(serviceName: string): string {
+ return combineUrl(urls.currentProject(urls.logs()), {
+ activeTab: 'viewer',
+ serviceNames: [serviceName],
+ }).url
+}
+
+export function copyServiceDeepLink(serviceName: string): void {
+ const full = urls.absolute(serviceViewerUrl(serviceName))
+ void navigator.clipboard.writeText(full).then(
+ () => lemonToast.success('Link copied'),
+ () => lemonToast.error('Could not copy link')
+ )
+}
diff --git a/products/logs/frontend/generated/api.schemas.ts b/products/logs/frontend/generated/api.schemas.ts
index 2b18aae2dc30..c50ee852b244 100644
--- a/products/logs/frontend/generated/api.schemas.ts
+++ b/products/logs/frontend/generated/api.schemas.ts
@@ -2088,11 +2088,11 @@ export interface _LogsServicesSummaryApi {
}
export interface _LogsServicesResponseApi {
- /** Per-service aggregates, ordered by log_count descending. Capped at 1000 services. */
+ /** Per-service aggregates, ordered by log_count descending. Capped at 10000 services. */
services: _LogsServiceAggregateApi[]
/** Time-bucketed counts broken down by service, for plotting volume over time. Covers only the top 25 services in this response; re-request with `serviceNames` to get sparklines for specific services. */
sparkline: _LogsServicesSparklineBucketApi[]
- /** True distinct service count for the window and filters, unaffected by the 1000-service cap on `services`. Greater than the length of `services` when the response is truncated. */
+ /** True distinct service count for the window and filters, unaffected by the 10000-service cap on `services`. Greater than the length of `services` when the response is truncated. */
total_services: number
/** Roll-up stats for the Services tab header. */
summary?: _LogsServicesSummaryApi
diff --git a/services/mcp/src/api/generated.ts b/services/mcp/src/api/generated.ts
index 5dff1ca1e5df..03f611213efc 100644
--- a/services/mcp/src/api/generated.ts
+++ b/services/mcp/src/api/generated.ts
@@ -82367,11 +82367,11 @@ export namespace Schemas {
}
export interface _LogsServicesResponse {
- /** Per-service aggregates, ordered by log_count descending. Capped at 1000 services. */
+ /** Per-service aggregates, ordered by log_count descending. Capped at 10000 services. */
services: _LogsServiceAggregate[];
/** Time-bucketed counts broken down by service, for plotting volume over time. Covers only the top 25 services in this response; re-request with `serviceNames` to get sparklines for specific services. */
sparkline: _LogsServicesSparklineBucket[];
- /** True distinct service count for the window and filters, unaffected by the 1000-service cap on `services`. Greater than the length of `services` when the response is truncated. */
+ /** True distinct service count for the window and filters, unaffected by the 10000-service cap on `services`. Greater than the length of `services` when the response is truncated. */
total_services: number;
/** Roll-up stats for the Services tab header. */
summary?: _LogsServicesSummary;