Features and bug fixes
- add per-url transaction filtering
- route handling code and middleware for express, koa, and restify are now traced.
- use APPOPTICS_LOG_SETTINGS to set log levels; using the DEBUG environment variable is deprecated.
export APPOPTICS_LOG_SETTINGS=error,warn
as opposed toexport DEBUG=appoptics:error,appoptics:warn
- issue explicit log warning if disabled by config.
- fix koa-router probe to work with multiple middleware arguments.
- fix incorrect oboe library version reporting in init message.
Breaking changes
- all breaking changes are in the API. See
guides/migration-5to6.md
for details.
Features and bug fixes
- enable inserting trace IDs into logs automatically (pino, winston)
- new API function,
ao.getFormattedTraceId()
to get trace IDs using code. - new API function,
ao.sendMetric()
for sending custom metrics. - fix config file not found bug.
Features
- enable inserting trace IDs into logs automatically (bunyan)
insertTraceIdsIntoLogs
options expanded tofalse
,true
,'traced'
,'sampledOnly'
,'always'
Features and bug fixes
- add
insertTraceIdsIntoMorgan
to enable appendingao.traceId=...
format morgan's text output. - add
createTraceIdsToken
. Set to'morgan'
to have the tokenao-auto-trace-id
token created. Use as:ao-auto-trace-id
in morgan formats. - set config to service key that was used.
- fix aws-sdk bad signature error on transaction retry.
Features and bug fixes
- add support for SolarWinds Tokens (swoken)
- incorporate appoptics-bindings v6.2.1 with custom metrics fix
Features and bug fixes
- internal environment variable reorganization
- fix corrupted histogram in node 11.10.0+.
- support @hapi scoped packages hapi & vision.
Features and bug fixes
- use oboe v5.1.1, correcting histogram memory leak
Features and bug fixes
- context management simplification + bindings 6.4.0
- handle more boolean environment variable variations.
- propagate FilePath KV value correctly in edge case
- add log setting 'event:create', cassandra-driver now always uses 'patching'
Features and bug fixes
- trigger-trace
- appoptics-bindings 7.0.0
- loosen bind-emitter checks
- warn only when unknown environment variables
Bug fixes
- make TemplateLanguage KV consistent - never include leading dot.
- bind finalizer in instrumentHttp.
- fix zlib bind emitter message.
Features
- fetch container information in Azure App Service environment.
Features
- new
mongodb
probe for versions >= 3.3.0 as it now longer usesmongodb-core
. - allow the
fs
probe to ignore specific errors. patching
log setting logs the version of patched modules.- disable
mongodb-core
versions < 3 for node versions > 11.15.0 due to v8 memory leak.
Bug fixes
- supply a default
TransactionName
when none is present. - log only one message for
getTraceSettings()
errors. - log only one message for each incorrect KV pair.
- reset both count and time windows when a debounced log message is issued.
- add missing
FileDescriptor
to exit events.
Features
- add forceNewTrace option to
startOrContinueTrace()
- support brotli compressin in
zlib
- support restify v7+
- use
ace-context
; removecontinuation-local-storage
Bug fixes
- force new context on inbound HTTP requests.
- fix http
RemoteURL
KV when search/query is present - exit http/s client spans correctly on socket errors
- exit http/s client spans on upgrade events
- don't add undefined
Database
KV - use new http_parser values if present
Features
- runtime metrics
- new function
sendMetrics()
; deprecatesendMetric()
- requires
appoptics-bindings@9
Bug fix
- fix undefined
reporter
insendMetrics()
Features
- minimize span/event creation for unsampled traces
- support HTTP proxy configuration
- improve run span logic.
- debounce metrics send error logging
- improve logging consistency
- implement messaging for host-requested soft disable
Breaking changes
- removed
Span.last
andEvent.last
- useao.lastSpan
andao.lastEvent
- removed
span.exitWithError()
- usespan.exitCheckingError()
aob.Reporter.isReadyToSample()
is nowaob.isReadyToSample()
aob.Metadata
no longer exists. seeguides/migration.md
if you're using this low level class.- removed
%m
custom log format forMetadata
objects.
Bug fixes
- support cassandra-driver > v4.4.0
- document proxy in configuration guide.
Features
- http/https probe configuration property to specify header to be used for ClientIP KV
- don't read instrumented package versions more than once.
Bug fix
- don't log an error when
req.socket.remoteAddress
is undefined.
Features
- lambda support
- capture agent version in init message
Breaking change
- removed
ao.serviceKey
property.
Bug fix
- change config file name
appoptics-apm.{js|json}
=>appoptics-apm-config.{js|json}
Features
@appoptics/apm-bindings
replacesappoptics-bindings
.@appoptics/apm-bindings
usesnode-pre-gyp
so that users of LTS versions of node do not need to have the c/c++ build chain installed.- if
APPOPTICS_LOG_SETTINGS
is empty suppress all logging - use shimmer instead of ximmer
- add
span.runPromise()
- native async span runner - updated to Apache 2.0 license
Breaking change
- Removed
ao.serviceKey
- Configuration file name-change
Bug fix
- pass options to koa constructor
- check if module needs patching before doing builtin lookup
- set txname when not set by frameworks
Bug fix
- avoid triggering non-existent property warning during module.exports on Node 14
Maintenance
- Published using GitHub Actions
- Supports Node 16
- Added node-pre-gyp distributable binaries for Node 16
- Using oboe c-lib v10.1.1
- Updated and trimmed dependencies
- Updated and trimmed files in package
- Code lint
Breaking changes
- None
Features:
- Added a config option to deregister the
fs
probe
Maintenance
- Modified agent initialization to minimize usage of patched
fs
at startup - Changed prepack script to fully support install from branch
- Supports Node 17 (preview for 18)
Breaking changes
- None
Maintenance
- Fixed package dependencies.
- Fixed longstanding bugs in tedious and oracledb probes.
Breaking changes
- None
Maintenance
- Supports Node 18.
- Updated dependencies.
Bug fix
- No error when using without Service Key.
- No error logging for failing to report error on an aborted connection.
Breaking changes
- None