Skip to content

limit application-signals service-event metrics OTLP batch to 1000 datapoints per request - #2129

Merged
sky333999 merged 1 commit into
aws:mainfrom
jj22ee:appsignals-logs-translator-pr-2
May 27, 2026
Merged

sky333999 merged 1 commit into
aws:mainfrom
jj22ee:appsignals-logs-translator-pr-2

Conversation

@jj22ee

@jj22ee jj22ee commented May 27, 2026 •

Copy link
Copy Markdown
Member

Description of the issue

CW OTLP metrics endpoint has a 1000 datapoints/request limit.

Description of changes

Set send_batch_size and send_batch_max_size to 1000 to prevent exceeding this limit when multiple SDK instances report to the same CWAgent.

License

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Tests

Tested CWAgent in a Java EKS application and locally.

Requirements

Before commiting your code, please do the following steps.

  1. Run make fmt and make fmt-sh
  2. Run make lint

Integration Tests

To run integration tests against this PR, add the ready for testing label.

@jj22ee
jj22ee requested a review from a team as a code owner May 27, 2026 20:10
@sky333999
sky333999 merged commit 9a26fe1 into aws:main May 27, 2026
35 of 37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants