You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AWS cloudwatch receiver while receiving log groups calls a paged API (DescibleLogGroups) which requires multiple calls using nextToken to get full response, the code does record next Token but never uses it.
**Description:**
Fixing a bug with the Log Group Discovery where nextToken was not
properly getting set on the request.
**Link to tracking Issue:** Resolves#32053
**Testing:** <Describe what testing was performed and which tests were
added.>
**Documentation:** <Describe the documentation added.>
---------
Co-authored-by: Daniel Jaglowski <[email protected]>
Component(s)
receiver/awscloudwatch
What happened?
Description
AWS cloudwatch receiver while receiving log groups calls a paged API (DescibleLogGroups) which requires multiple calls using nextToken to get full response, the code does record next Token but never uses it.
Steps to Reproduce
Use aws cloudwatch receiver
Expected Result
Discover all configured logs and collect logs
Actual Result
Keeps discovering same log groups
Collector version
v.0.93.0
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
OpenTelemetry Collector configuration
No response
Log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: