Skip to content

Releases

v0.3.4

Choose a tag to compare

@github-actions github-actions released this 27 Nov 19:28
78041d4

Added

  • The bridge and the agent extension are published to Maven Central as io.github.trevor-ralph:cfml-otel-bridge and
    io.github.trevor-ralph:cfml-otel-agent-extension, with sources, javadoc and signatures. The build is now
    reproducible (fixed jar timestamps, built in the pinned build image), and the release workflow uploads only jars
    that are byte-identical to the ones in the release zip.

Changed

  • The Maven groupId is io.github.trevor-ralph (was cfmlotel). Java package names are unchanged.

Fixed

  • Links on the ForgeBox page to files in the repository (LICENSE, tests, docs, the workflows) now go to GitHub at
    the release's tag; on the 0.3.3 page they led nowhere.

What's Changed

Full Changelog: v0.3.3...v0.3.4

v0.3.3

Choose a tag to compare

@github-actions github-actions released this 27 Nov 17:58
bab2760

Added

  • Published to ForgeBox: box install cfml-otel. The ForgeBox entry points
    CommandBox at the GitHub release zip, so it installs the same checksummed, attested file, with lib/ built.

Changed

  • Built and tested with OpenTelemetry javaagent 2.34.0 (was 2.33.1). The bundled API is now 1.68.0, the version
    that agent is built on; the agent extension and opentelemetry-instrumentation-api move with it.
  • Tested on the latest of every engine: Lucee 8.0.0.310, 7.1.2.195 and 6.2.9.4, and ACF 2025.0.14 and 2023.0.26
    as Adobe re-pushed them on 2026-11-26 and 27, with SQL Server 2022 CU28. No code changes were needed.

Documented

  • NOTICE lists every bundled third-party jar: opentelemetry-instrumentation-api and the SDK fallback's jars in
    lib/sdk/ were missing (all Apache-2.0, unmodified). The README's acknowledgement says the same, and gives the
    right count for lib/sdk/ (10 jars, not 11).
  • SECURITY.md no longer says cfml-otel never exports anything itself: with the SDK fallback, its own exporter
    sends to the configured OTLP endpoint.
  • The README says "every engine" where it said "all four" (Lucee 8 made it five), and lists every jar the build
    fetches. The ColdBox module's ModuleConfig.cfc names its author, as box.json does.

What's Changed

  • Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.3 to 3.6.1 in /java by @dependabot[bot] in #3
  • Bump org.apache.maven.plugins:maven-dependency-plugin from 3.8.1 to 3.11.0 in /java by @dependabot[bot] in #2
  • Move to OpenTelemetry javaagent 2.34.0 (API 1.68.0) by @trevor-ralph in #6
  • Bump org.junit.jupiter:junit-jupiter from 5.13.4 to 6.1.3 in /agent-extension by @dependabot[bot] in #7
  • Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.3 to 3.6.1 in /agent-extension by @dependabot[bot] in #8
  • Bump org.junit.jupiter:junit-jupiter from 5.13.4 to 6.1.3 in /java by @dependabot[bot] in #4
  • Test on the latest engines and tools; install ACF's SQL Server package live by @trevor-ralph in #9
  • Bump maven from 3.9.16-eclipse-temurin-21 to 3.9-eclipse-temurin-26 in /dev by @dependabot[bot] in #11
  • Fix inaccuracies in NOTICE, README, SECURITY.md and comments by @trevor-ralph in #10
  • Build on JDK 25 LTS; keep Dependabot off end-of-life JDK 26 by @trevor-ralph in #12
  • Fix the Dependabot ignore that should keep the build off JDK 26 by @trevor-ralph in #14
  • Build once per CI run and retry downloads, to stop Maven Central 429s by @trevor-ralph in #15
  • Publish releases to ForgeBox by @trevor-ralph in #16
  • Release 0.3.3 by @trevor-ralph in #17

New Contributors

Full Changelog: v0.3.2...v0.3.3

v0.3.2

Choose a tag to compare

@github-actions github-actions released this 11 Nov 04:40

Changed

  • span() and makeCurrent() are faster, most of all on Adobe ColdFusion: scope tokens no longer come from
    createUUID(), which costs about 100 µs on ACF, and a span() looks up its thread's scopes once instead of
    twice. Per span(): ACF 2023 about 105 µs to 62 µs, Lucee 7.1 about 40 µs to 27 µs.

Documented

  • A Performance section: what the javaagent costs (CPU per request, query and span, memory, startup, sampling) and
    cfml-otel's own calls, from load tests on Lucee and ACF; and why ACF needs Trusted Cache in production (each span
    creates a component, whose file ACF otherwise checks every time).

Full Changelog: v0.3.1...v0.3.2

v0.3.1

Choose a tag to compare

@github-actions github-actions released this 11 Nov 03:56

Fixed

  • onError() on ACF: with the SDK fallback, the request's SERVER span now gets the exception's type as
    error.type and its message as the status description. ACF's exception is a Java object that isStruct()
    rejects, so these were _OTHER and empty.
  • SDK fallback: when init() fails after starting cfml-otel's own SDK, it shuts that SDK down again. The instance
    stays a no-op whose shutdown() does nothing, so the SDK's exporters used to run until the JVM stopped.
  • Startup checks with the agent also read its configuration file (otel.javaagent.configuration-file), so
    LUCEE_HTTPCLIENT_INSTRUMENTATION and ACF_JDBC_EXTENSION no longer warn about settings made there. Whether the
    agent's HttpClient instrumentation is on follows the agent's own rule (both of its names, and
    otel.instrumentation.common.default-enabled=false).
  • setRoute() keeps its one-time warning for real setup problems: a call with no agent SERVER span (a cfthread,
    a scheduled task) no longer uses it up.
  • Metrics: asking for an existing instrument name with another unit or description logs a warning (once per
    instrument) instead of silently returning the first definition.
  • Agent extension: no longer keeps the driver's class loader alive, and stops retrying the agent's JDBC internals
    after a bounded number of misses.

Documented

  • ColdBox: add onError() when the exceptionHandler event itself can fail, since the interceptor then never
    ends the request.
  • The bindContext() / captureContext() example now hands the function to the thread through the request
    scope: a cfthread body can't see the starting function's local variables.

Tests

  • onError() on the fallback SERVER span (error.type, status description) on every SDK engine, and a spec for
    the SDK shut down by a failed init(); both fail without their fix.

Full Changelog: v0.3.0...v0.3.1

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 11 Nov 01:37

Added

  • Agent extension for ACF's built-in database drivers (lib/agent/cfml-otel-agent-extension.jar, loaded with
    -Dotel.javaagent.extensions=). ACF's own drivers (macromedia.jdbc.MacromediaDriver: SQL Server, Oracle, DB2,
    MySQL, Sybase) use jdbc:macromedia: URLs, which the agent can't parse, so their queries were traced as
    db.system=other_sql with no host, port or database name. With the extension they are identified like any other
    driver (mssql, server.address, server.port, db.name; tested with SQL Server on ACF 2025 and 2023). New
    startup check ACF_JDBC_EXTENSION when it isn't loaded; status().agentExtension.
  • FusionReactor no longer stops the agent's database spans, given
    -Dfr.mixin.black.list=<cfml-otel>/lib/agent/fusionreactor-jdbc-mixin-blacklist.csv. FusionReactor's JDBC
    mixins add its own interfaces to driver classes, which the agent can't resolve, so it left every statement class
    uninstrumented. The file keeps FusionReactor's mixins out of the JDBC driver packages; FusionReactor still records
    cfquery through its ColdFusion integration. New startup check FUSIONREACTOR_JDBC_MIXINS when FusionReactor is
    attached without it. Reproduced and verified on ACF 2023 with FusionReactor 2026.1.3.
  • Lucee 8.0 support: integration-tested on Lucee 8.0.0 (Java 25, Tomcat 11) with the agent, without it, and
    on ARM. Nothing in cfml-otel needed changing. Lucee 8 still runs cfhttp on a worker thread (LDEV-6519),
    so keep the agent's HttpClient instrumentation off there as on Lucee 6 and 7.
  • otel.setRoute("orders.checkout"): names the request by its route instead of its file, for front
    controllers (Fusebox, FW/1, index.cfm?action=) where every request was GET /index.cfm. With the agent it
    renames the agent's SERVER span and sets http.route on it and on the agent's http.server.request.duration
    metric, through the agent's own route mechanism (lib/ now ships OpenTelemetry's
    opentelemetry-instrumentation-api, which must be loaded by the same class loader as opentelemetry-api;
    setRoute() detects when it isn't and logs where each came from). The ColdBox module calls it for you with
    the matched route pattern or the event name (setRoute setting, on by default).
  • Bridge-only install for servers that already have opentelemetry-api on their classpath: load only the bridge
    jar. Supported from API 1.38.0; CI compiles the bridge against it and runs the full suite on ACF 2023 with
    API 1.38.0 in cfusion/lib.
  • Startup checks: DUPLICATE_OTEL_API (the API is on the classpath more than once), SERVER_OTEL_API (info:
    running on the server's API), OTEL_API_TOO_OLD, and OTEL_ENV_NOT_INHERITED (Linux: OTEL_* variables set
    for the container but not in the JVM, as when ACF is started through sudo). status() adds apiPath and
    bundledApiVersion. OTHER_APM_AGENT now says that FusionReactor has been seen to stop the agent's database
    spans.
  • One instance shared by several applications (server scope) works in applications without the module's
    mapping or jars (it used to fail on the first span or metric there), documented in the README.
  • A sample Grafana dashboard (docs/grafana).
  • otel.onAbort(), to call from Application.cfc onAbort(). Requests ended by cfabort / cflocation skip
    onRequestEnd() on both engines, which left their scopes on the pooled thread and, with the SDK
    fallback, their SERVER span un-ended.

Changed

  • Span and metric objects are copied from templates instead of looked up by name on each call: much faster on
    Lucee, and independent of the calling application's mappings.
  • ColdBox: SERVER spans are now named by route or event (GET /api/users/:id/, GET main.index) instead of
    GET /index.cfm. Set setRoute: false to keep the old names.

Documented

  • FusionReactor alongside the agent: why the agent's database spans disappeared and the fix (above), how to choose
    which of the two agents handles JDBC (per server, or per driver), and how to filter FusionReactor's internal log
    streams out of Loki.
  • ACF started as a service: configure the agent with -Dotel.* in jvm.config, since sudo / init scripts
    drop the environment.
  • onError() marks a request as failed even when its error page goes out as 200 (now tested).
  • Tomcat JMX metrics and the experimental JVM metrics as recommended agent settings.

Fixed

  • SDK fallback: the request's SERVER span is parented on the inbound trace headers or nothing, never on a
    context an earlier request left current on the pooled thread.
  • SDK fallback: a service.name set through OTEL_RESOURCE_ATTRIBUTES is no longer replaced by the
    application name.
  • ColdBox: when an event throws and the app has an exceptionHandler, the SERVER span gets the status that
    handler chooses. A handler that answers a not-found error with a 404 no longer leaves the span marked
    ERROR (with the agent too); the exception is still recorded. Without a handler the status is 500.
  • ColdBox with the SDK fallback: a relocate() no longer records the pre-redirect status (usually 200):
    it records the redirect's status once the app's onAbort() calls otel.onAbort(), and none before that.
  • ColdBox: the module no longer has to be installed in a folder named cfml-otel.
  • httpSpan() / http(): a failure while preparing the span (a URL with an unusable port, unusable options)
    no longer prevents the call itself; it runs untraced.
  • SDK fallback: url.query on the SERVER span has signature and access-key parameters redacted, like
    url.full on CLIENT spans.
  • SDK fallback: with OTEL_SDK_DISABLED=true the fallback reports SDK_FALLBACK_FAILED instead of claiming
    to run an SDK that exports nothing.
  • SDK fallback: the OTLP sender keeps its connection alive between exports instead of reconnecting each time.

Tests

  • The Lucee 7 engines now run Lucee 7.1.2 (was 7.0.6).
  • Every agent engine loads the agent extension; on ACF the built-in SQL Server driver's spans must now be identified
    (system, host, port, database) instead of being an expected failure. JUnit tests run ACF's URLs through the
    agent's own JDBC URL parser.
  • TestBox unit specs for the CFML side (tests/specs), run on every engine, including the ColdBox interceptor's
    branches with fakes (an app without an exceptionHandler, the automatic route); CodeQL code scanning for the
    Java bridge, the Python test harness and the workflows.

Removed

  • The original classloading spike harness (spike/). Its findings are kept as
    docs/classloading-spike.md; the integration suite covers all of them.

Full Changelog: v0.2.0...v0.3.0

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 10 Nov 03:53

Added

  • Startup checks. When the OTel instance is created it checks the JVM and reports problems once in the
    cfml-otel log and in otel.status().warnings, with stable codes: NO_OTEL_AGENT, AGENT_NOT_BRIDGED,
    SDK_DISABLED, AGENT_OLDER_THAN_TESTED, OTHER_APM_AGENT (FusionReactor, New Relic, Datadog,
    AppDynamics, Dynatrace, Elastic APM, SeeFusion, …), LUCEE_HTTPCLIENT_INSTRUMENTATION,
    OTHER_IMPLEMENTATION, BRIDGE_NOT_LOADED, SDK_FALLBACK_FAILED. status() also reports the agent and API
    versions, every JVM agent, and mode (agent, sdk, other, noop). Turn the log off with
    logDiagnostics: false.
  • otel.http() and otel.httpSpan() for outbound HTTP: one CLIENT span per call on every engine, with
    the stable HTTP semantic conventions. Credentials and signature parameters are redacted from url.full;
    4xx/5xx and connection failures are errors. On ACF, where the agent already traces cfhttp, the helpers
    leave the span to it (status().httpMode); override with cfhttpSpans.
  • SDK fallback (opt-in, sdkFallback: true, jars in lib/sdk/): without the javaagent, cfml-otel runs
    an OpenTelemetry SDK of its own, configured by the standard OTEL_* variables, one per application, and
    creates each request's SERVER span. New onRequestStart() and shutdown() for Application.cfc; the
    ColdBox module calls them itself. serviceName sets service.name per app.
  • closeLeakedScopes(): scope cleanup for cfthread / runAsync bodies and mid-request use.
  • onError(exception, [statusCode]).

Fixed

  • ColdBox: app overrides in moduleSettings["cfml-otel"] were ignored, the key 0.1.0's README showed.
    ColdBox merges overrides by the module's model namespace, cfmlotel. Both keys now work; the README shows
    moduleSettings["cfmlotel"].

Documented

  • cflog / writeLog and LogBox's CFAppender need nothing from cfml-otel: the agent captures them, with
    the trace ID, on both engines. Also what else the agent ships (engine and Tomcat logs) and how to filter it.
  • Running alongside other APM agents, beyond FusionReactor; tested with Datadog's agent as the OTel API.

Tests

  • Bridge unit tests (JUnit) for the startup checks, HTTP attributes and the OTLP sender.
  • CI runs every engine without the agent too (SDK fallback), Lucee on ARM, and ACF with the agent's
    HttpClient instrumentation off.

Full Changelog: v0.1.0...v0.2.0

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 09 Nov 23:25