Skip to content

docs: add GCP max log size documentation to guides#360

Merged
skjolber merged 2 commits intoincreaseMaxSizeForGcpfrom
copilot/add-documentation-for-max-size
Apr 30, 2026
Merged

docs: add GCP max log size documentation to guides#360
skjolber merged 2 commits intoincreaseMaxSizeForGcpfrom
copilot/add-documentation-for-max-size

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 30, 2026

PR #359 increases the GCP request-response body truncation limit from ~130 KiB to 224 KiB (GCP LogEntry hard cap is 256 KiB). The guides had no documentation on these limits or how to configure them.

Changes

  • guides/web.md — added bullet to the request-response "Please note" section documenting the 256 KiB GCP limit, the 224 KiB default body truncation, and the override properties
  • guides/gRPC.md — added equivalent "Please note" section (previously absent) before the logger config block
  • guides/troubleShooting.md — expanded the Too long lines entry to mention the library's built-in truncation and the config property to lower it

Override defaults with:

entur.logging.request-response.max-body-size=<bytes>
entur.logging.request-response.max-size=<bytes>

@skjolber skjolber changed the base branch from main to increaseMaxSizeForGcp April 30, 2026 09:38
@skjolber skjolber marked this pull request as ready for review April 30, 2026 09:38
@skjolber skjolber requested review from a team as code owners April 30, 2026 09:38
@skjolber skjolber merged commit dc71035 into increaseMaxSizeForGcp Apr 30, 2026
1 check passed
@skjolber skjolber deleted the copilot/add-documentation-for-max-size branch April 30, 2026 09:40
skjolber added a commit that referenced this pull request Apr 30, 2026
* Increase request-response max log statement size for GCP

* Adjust comment

* docs: add GCP max log size documentation to guides (#360)

docs: add max size documentation to guides for PR 359

Agent-Logs-Url: https://github.com/entur/cloud-logging/sessions/74545817-1849-4728-ac34-f3cd25df704f

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: skjolber <1031478+skjolber@users.noreply.github.com>
Co-authored-by: Thomas Skjølberg <thomas.skjolberg@gmail.com>

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: skjolber <1031478+skjolber@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants