Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@himanshu219
Copy link
Contributor

@himanshu219 himanshu219 commented Nov 26, 2021

Description

Multiple customers raised the issue that our extension doesn't push logs to sumo logic http endpoint in case of function with very short duration. And previously they had to add a delay which used to increase the cost.

In this PR we have made following changes

  • Removed extension logs from default set of subscribed events
  • Made the log sending part synchronous
  • Added the check to wait for platform.runtimeDone before calling next event. It will send platform.start and all the function logs till platform.runtimeDone event is received. However platform.end and platform.report will still come in next invocation.

Related Issues

#10
#3

Checklist

  • Updated CHANGELOG.md.
  • Ran unit tests locally.

@himanshu219 himanshu219 merged commit 581132d into main Feb 15, 2022
@npande npande deleted the hpal_SUMO-175893_delay_fix branch June 10, 2024 08:35
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