Added PriorityQueue class for collecting events.
This replaces the Reservoir class for event sampling. Using priority sampling allows the agent to maintain randomness across a given time period while improving the chances that events will be coordinated across Transaction, Error, and Custom event pools.
The agent will now allow external instrumentation modules to fail in a safe way.
Previously, the agent would stop running if an externally loaded instrumentation failed for any reason. Due to the way external instrumentations can be updated independently, the agent should allow them to fail and carry on after logging a warning.
The agent can now be configured to redact error messages on collected errors.
The agent can now be configured to disallow attribute include patterns to be specified.
Updated logic around wrapping route handlers when
configobject is present.
Before, the agent would only attempt to wrap
configobject was present, without defaulting to the root
handlerif it didn't exist.