elastic / apm-agent-php

Apache License 2.0
254 stars 69 forks source link

Improved inferred spans generation for internal and user functions (#754) #1038

Closed intuibase closed 1 year ago

intuibase commented 1 year ago

Closes #754 Closes #828 Closes #903 Closes #924

Things to consider:

  1. should I add duration offset only for internal frames (if internal is on the top- last called) and keep user space code as it was
  2. Should I use microseconds resolution in native? I think it is not worth to do that (for duration calculation passed to php side) because value is rounded anyway
  3. What should be default interval?