Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

serverless updates, including support for v1 payload formats #2528

Merged
merged 11 commits into from
Mar 29, 2024

Conversation

fallwith
Copy link
Contributor

@fallwith fallwith commented Mar 23, 2024

  • Default to serverless output payload format v2, but support v1 via an env var being set
  • Use custom formatting for metric_data and error_data
  • Don't allow custom attributes with serverless
  • misc serverless improvements

- switch from payload format v2 to v1 to align with the other dynamic
  language based agents
- don't send log event data
- remove metadata attributes not used by the Node.js agent
more serverless handler changes for output format v1, agent attributes
work
write instead of puts, debug output
`Base64.encode64` -> `Base64.strict_encode64`
serverless: go more efficient with metric_data
- make sure errors are converted into the collector format
- restore the log_event_data section
the error_data arrays must themselves be in an array as the second
element (the first being the agent run id)
the two item array and two argument method call got a bit mixed up
support for these could potentially be added in the future if we could
adapt the data normalization process to them
don't check for serverless with a disabled agent
use an env var to por que no los dos toda la cosa
@fallwith fallwith changed the title serverless - use output payload v1 format serverless updates, including support for v1 payload formats Mar 29, 2024
Copy link
Contributor

SimpleCov Report

Coverage Threshold
Line 93.78% 93%
Branch 71.79% 71%

@fallwith fallwith merged commit 0a787fd into sansgarçon Mar 29, 2024
26 checks passed
@fallwith fallwith deleted the sophocles branch March 29, 2024 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants