fix(service ping): log body size of reports (#10686)

# Which Problems Are Solved

The current service ping reports can run into body size limit errors and
there's no way of knowing how big the current size is.

# How the Problems Are Solved

Log the current size to have at least some insights and possibly change
bulk size.

# Additional Changes

None

# Additional Context

- noticed internally
- backport to v4.x
This commit is contained in:
Livio Spring
2025-09-16 07:04:17 +00:00
committed by GitHub
parent 99b43037af
commit bc471b4f78
3 changed files with 30 additions and 0 deletions
+3
View File
@@ -1242,6 +1242,9 @@ ServicePing:
ResourceCount:
Enabled: true # ZITADEL_SERVICEPING_TELEMETRY_RESOURCECOUNT_ENABLED
# The number of counts that are sent in one batch.
# The bulk size is used to prevent large requests that might fail due to their size.
# Each report will log its size before sending it to the endpoint,
# so you can adjust the bulk size if you see that the requests are too large.
BulkSize: 10000 # ZITADEL_SERVICEPING_TELEMETRY_RESOURCECOUNT_BULKSIZE
InternalAuthZ: