What’s New in Arconia 0.32.0
Arconia 0.32.0 provides a number of new features and enhancements. This page includes the highlights of the release, but you can also check out the full release notes for more details about each new feature and bug fix.
We provide an automated way to upgrade your project to the latest version of Arconia, which is described in the Upgrading Arconia documentation.
Core Features
-
The
arconia-coreandarconia-spring-bootmodules have been reorganized asarconia-core-annotations, holding the@Incubatingand@Internalannotations without any Spring Boot dependency, andarconia-core-bootstrap, holding the bootstrap mode and profiles. Their packages have been renamed accordingly:io.arconia.core.supporttoio.arconia.core.annotations,io.arconia.boot.bootstraptoio.arconia.core.bootstrap, andio.arconia.boot.autoconfigure.bootstraptoio.arconia.core.bootstrap.autoconfigure, which includesBootstrapModeand@ConditionalOnDevMode. The upgrade recipe applies the renames. -
When the bootstrap mode is set both as the
arconia.bootstrap.modeJVM system property and as theARCONIA_BOOTSTRAP_MODEenvironment variable, the JVM system property now takes precedence, as in the Spring Boot externalized configuration. Previously, the environment variable won, including the one the Arconia CLI sets when running or testing an application. Learn more about the Bootstrap Mode. -
The startup message reporting the bootstrap mode and the warnings about misplaced bootstrap properties now appear in the application log. Previously, they were lost because they were logged before the logging system was initialized. A bootstrap mode set in an unsupported location, such as the application configuration, is now also reported when it’s set correctly elsewhere, since that value has no effect.
-
The JSpecify nullability annotations of all Arconia modules are now enforced with NullAway at build time, so the null-safety contracts your IDE sees are verified rather than declared only. Previously, only the Dev Services modules were checked.
Data
-
The SQLite dialect for Spring Data JDBC now stores
Instant,OffsetDateTime,LocalDateTime,LocalDate, andLocalTimevalues as text in the format of the SQLite date and time functions, and reads them back. Previously, readingInstant,OffsetDateTime, andLocalDatevalues failed. Values written by the application and by SQLite, such as withCURRENT_TIMESTAMP, now sort and compare correctly together. Learn more about the SQLite Type Mapping. -
Queries with an offset and no limit now work with SQLite, where they previously failed with a syntax error.
-
Calling
JdbcAggregateTemplate.upsert()with SQLite now fails with an error stating that upserts aren’t supported, instead of a syntax error from the database. Learn more about the SQLite Limitations. -
The
SqliteDialectclass has been merged intoJdbcSqliteDialect. The upgrade recipe replaces the references. -
The SQLite documentation now covers the recommended connection settings, in-memory databases, schema initialization, deployment, and backups.
Dev Services
-
Test slices now pick up the Dev Service of their technology with no further configuration:
@JdbcTest,@DataJdbcTest,@DataJpaTest, and@JooqTestfor the JDBC Dev Services, and@DataMongoTest,@DataRedisTest,@DataElasticsearchTest, and@DataLdapTestfor the Dev Services of their technology. For the JDBC slices, the Dev Service replaces the embedded database Spring Boot would otherwise configure; disable the Dev Service for a test with itsenabledproperty to get the embedded database back. Learn more on the page of each Dev Service, for example the PostgreSQL Dev Service. -
The observability Dev Services (Grafana LGTM, OpenTelemetry Collector, Phoenix, and OpenLIT) are now skipped in test mode by default, since most tests have no use for a telemetry backend. Set
arconia.dev.services.<service-name>.skip-in-teststofalsefor the tests that verify the telemetry the application exports. Learn more about Dev Services in Test Mode. -
When the application process exits, the containers it kept across Spring Boot DevTools restarts are now stopped, instead of being left to the Testcontainers resource reaper a few seconds later. Another application can no longer connect to a container that is about to disappear. Containers kept by the
testcontainersreuse strategy are still left running. Learn more about Lifecycle Management. -
The startup message of a Dev Service now includes the host address of its main port, which is what you need to connect a tool on your machine to it, and only mentions the reuse strategy when a container is reused or the configured strategy could not be applied. Learn more about Startup Feedback.
-
The default
startup-timeoutof the Dev Services is now 60 seconds, as in Testcontainers, instead of 30 seconds. The Dev Services that take longer to start keep their 120 seconds default. -
An application connecting to a Dev Service started by another application now honors the configuration set through the
environmentproperty of the Dev Service, as the application that started it does: the region of Floci, the base DN and password of LLDAP, and the API key of Docling. -
Two Dev Services of the same category, such as two JDBC databases, now fail at startup also when one of them connects to a container started by another application, instead of the second one being silently skipped.
-
A new Troubleshooting section covers containers that fail to start, running without a container runtime, showing the logs of a container in the application log, and Podman closing idle connections. The documentation also explains how Dev Services work together with Spring Boot Docker Compose, how test application contexts share containers, and how to start containers in parallel.
Building Dev Services
The following changes affect the custom Dev Services you build on the Arconia Dev Services API. The upgrade recipe applies the renames.
-
BaseDevServicesPropertieshas been renamed toDevServicesProperties. -
DevServiceRegistrationandContainerInfoare classes with getters instead of records, so that they can describe more about a Dev Service in the future without breaking changes:registration.name()becomesregistration.getName(),containerInfo.imageName()becomescontainerInfo.getImageName(), and so on. Create instances with their builders.DevServiceRegistrationalso reports the category of the Dev Service, which thedevservicesactuator endpoint now includes. -
DevServiceSslConfigureraccepts any TestcontainersContainer, likeDevServiceContainerCustomizer. -
DiscoveredContaineris a class instead of a record, so that it can carry more information in the future without breaking changes. Its accessors and builder are unchanged. -
The methods of
DevServicesRegistrarcalled by Spring are nowfinal. ImplementregisterDevServicesonly. -
A Dev Service auto-configuration only needs to be ordered before Spring Boot’s
ServiceConnectionAutoConfiguration: ordering it afterDevServicesAutoConfigurationis no longer necessary. Learn more about Building Your Own Dev Service.
Docling
-
The Docling Dev Service now uses the
ghcr.io/docling-project/docling-serve-cpuimage by default, less than half the size of the image with GPU support, which the Dev Service never used. -
The
arconia.dev.services.docling.enable-uiproperty has been renamed toarconia.dev.services.docling.ui-enabled, consistent with the other boolean properties. The upgrade recipe renames it.
Elasticsearch
-
An application connecting to an Elasticsearch Dev Service started by another application now uses the password configured through the
ELASTIC_PASSWORDenvironment variable, as the application that started it does. -
The Elasticsearch Dev Service now runs with a heap of 512 MB to 1 GB (
ES_JAVA_OPTS=-Xms512m -Xmx1g), instead of the fixed 2 GB Testcontainers configures. Override it through theenvironmentproperty.
Grafana LGTM
-
A new GenAI dashboard shows the calls to chat and embedding models, their failures and durations, token usage, tool executions,
ChatClientrequests, and the most recent model calls with links to their traces. It’s provisioned when the OpenTelemetry AI Semantic Conventions module is on the classpath, whatever the flavor. Learn more about the Grafana Dashboards. -
New HTTP Server and HTTP Client dashboards show the requests handled and sent by the application, with a summary by route or server, traffic and errors by status code, durations, and the most recent failed requests with links to their traces. Each comes in a version for the Micrometer conventions and one for the OpenTelemetry semantic conventions, provisioned according to the conventions the application uses. Learn more about the Grafana Dashboards.
-
Prometheus now counts the first value of each metric in rates and totals, such as the first call to an endpoint or a model, which previously only appeared from the second one. Learn more about the Grafana LGTM Dev Service.
-
The Grafana LGTM Dev Service can now serve SSL on its OTLP ports, so that the application exports telemetry to it over SSL, as it does with a collector secured with SSL. Learn more about Using SSL.
Keycloak
-
The Keycloak Dev Service now imports several realm files, each holding a single realm or a list of realms in the formats Keycloak exports, so that an application with a realm per tenant can run against all of them. The files are configured in
arconia.dev.services.keycloak.realm.import-paths(replacing the previousarconia.dev.services.keycloak.realm.import-pathproperty), andarconia.dev.services.keycloak.realm.nameselects the realm the application connects to. The upgrade recipe renames the previous property. Learn more about Importing Realms.
Langfuse
-
The new Langfuse Dev Service runs Langfuse for exploring the traces of AI applications, together with the containers it needs, and sends the traces of the application to it with no configuration. It signs you in to the Langfuse UI as
arconia@example.com(passwordpassword), and it’s skipped in test mode by default, like the other observability Dev Services.
LLDAP
-
The LLDAP Dev Service now starts with its default configuration, with the
adminuser and thepasswordpassword. Learn more about the LLDAP Dev Service.
MongoDB
-
The MongoDB Dev Service runs a single-node replica set again, so that transactions and change streams work as they do in production.
-
The MongoDB Dev Service now starts on Linux kernels 6.19 to 7.0, which MongoDB 8.0 and later refuse to run on with their default memory allocator settings (SERVER-121912).
Ollama
-
The OpenAI compatibility of the Ollama Dev Service now works with Spring AI 2: the
spring.ai.openai.base-urlproperty points to the OpenAI-compatible API of Ollama, under/v1, where requests previously failed with a 404 error.
OpenTelemetry Collector
-
The OpenTelemetry Collector Dev Service can now serve SSL, so that the application exports telemetry to it over SSL, as it does with a collector secured with SSL. Learn more about Using SSL.
Phoenix
-
The Phoenix Dev Service can now serve SSL, so that the application exports traces to it over SSL, as it does with a Phoenix deployment secured with SSL. Learn more about Using SSL.
Docling
-
The async operations of the Docling client, such as
convertSourceAsync, now return the result of the task. Previously, they returned an empty response without waiting for the task to complete. They poll the task status as configured by the newarconia.docling.async-poll-intervalandarconia.docling.async-timeoutproperties, or by theasyncPollIntervalandasyncTimeoutoptions of the client builders, which are no longer ignored. Learn more about the Docling configuration. -
The auto-configured Docling client now applies the Spring Boot
spring.http.clients.*settings, such as the SSL bundle and the redirect strategy, so it can connect to a Docling Serve instance whose certificate is signed by a private certificate authority. Previously, only the connect and read timeouts were applied. Learn more about the Docling configuration. -
Polling the status of a task and clearing the stored results now send the
waitandolder_thendurations in seconds, as Docling Serve expects. -
The default
arconia.docling.read-timeoutis now 2 minutes instead of 30 seconds, matching the time Docling Serve waits for a synchronous conversion to complete. Previously, converting a document that took longer than 30 seconds failed with a read timeout. -
When logging the requests and responses of the Docling client, the bodies are now truncated to 4000 characters, since a request carries each file as a Base64 string, and the API key and Authorization header values are always fully masked.
-
The
API_KEY_HEADER_NAMEconstant has moved fromDoclingPropertiestoDoclingServeClient, next to the client that sends the header. The upgrade recipe updates the references. -
The Docling health contributor now backs off when the application defines a
doclingHealthIndicatorordoclingHealthContributorbean, as in Spring Boot. Previously, defining adoclingHealthContributorbean made the application fail to start. If you replaced the health contributor with adoclingServeHealthIndicatorordoclingServeHealthContributorbean, rename it. Thelocationhealth detail no longer includes the credentials the base URL may carry. -
The
DoclingDocumentReadernow throws anIllegalStateExceptionwhen Docling Serve can’t convert one of its sources. Previously, it returned the chunks of the other sources, silently dropping the failed ones. Learn more about Ingesting Documents with Docling. -
The
DoclingDocumentReaderno longer asks Docling Serve to include the converted documents in the response, which it didn’t use, making the responses several times smaller. -
Combining
files(List)withfiles(Resource…), orurls(List)withurls(String…), on theDoclingDocumentReaderbuilder no longer fails when the list is immutable, and changing a list after building the reader no longer changes the sources it reads.
Multitenancy
-
Tenant resolution is now a chain. The
arconia.multitenancy.resolution.http.resolution-modeproperty accepts a list of modes, consulted in order until one resolves a tenant, so thatsubdomain, headerreads the tenant from the subdomain when the host matches and from the header otherwise. A customHttpRequestTenantResolverbean still replaces the configured chain, and the newCompositeHttpRequestTenantResolverlets it combine custom and built-in resolvers. A resolver may now throw anInvalidTenantIdentifierExceptionfor input that is present but unusable, which stops the chain. Learn more about Tenant Resolution and the Architecture. -
Tenants can be resolved from the request path with the new
pathmode and a pattern such as/tenants/{tenant}/**, and from the subdomain with thesubdomainmode and a pattern for the request host such as{tenant}.example.com. Both patterns follow the syntax of Spring MVC request mappings. Learn more about Path-Based Resolution and Subdomain-Based Resolution. -
The fixed tenant is now a resolution mode.
arconia.multitenancy.resolution.http.resolution-mode=fixedturns the application into a single-tenant deployment, andheader, fixedmakes the fixed tenant the default tenant for requests without one. Thearconia.multitenancy.resolution.fixed.enabledproperty has been removed accordingly. Learn more about Fixed Tenant and Default Tenant. -
The tenant identifier policy is configurable with
arconia.multitenancy.identifier.max-lengthandarconia.multitenancy.identifier.pattern. Learn more about Tenant Identifier Validation. -
Requests without a usable tenant are handed to a
TenantResolutionFailureHandler, so that an application can redirect to a tenant selection page or apply its own error conventions instead of the defaultapplication/problem+jsonresponse. Rejections are now logged atDEBUGlevel, and a request carrying the tenant header or cookie more than once is rejected. Learn more about Failure Responses. -
The core and web modules have a new package layout, with
resolution,contextandtenantdetailspackages replacing the previouscontext.resolvers,context.events,exceptions,context.filtersandcontext.annotationspackages, andPropertiesTenantDetailsServicehas becomeInMemoryTenantDetailsService. The upgrade recipe rewrites imports and the removed property. -
Tenant resolution is stricter and more robust. A blank tenant identifier, such as an empty header or an OAuth2 token with an empty tenant claim, is rejected instead of falling back to the next resolution mode. The default
TenantVerifierrequires the loaded tenant to carry exactly the requested identifier, so a case-insensitiveTenantDetailsServicecannot admitACMEas an alias ofacme. The tenant established for a request is bound again on its asynchronous and error dispatches, CORS preflight requests are no longer rejected, and a tenant registry outage is logged atWARNlevel in a single line. Learn more about Error Dispatches. -
The tenant context is propagated to
@Asyncmethods,Callablecontroller methods, and tasks run by the executors and schedulers auto-configured by Spring Boot, together with the tenant in the logs of those threads. It can be turned off witharconia.multitenancy.context.propagation.enabled=false. Learn more about Context Propagation Across Threads. -
The tenant lookup behind each request’s verification can be cached with Caffeine by setting
arconia.multitenancy.details.cache.time-to-live. Only existing tenants are cached, and the time to live bounds how long a disabled tenant keeps being accepted. Learn more about Caching Tenant Lookups. -
The JDBC tenant details can be read from a dedicated data source, such as a control-plane database separate from the business data, by annotating it with
@TenantDetailsDataSource. The web module now also logs at startup when tenants are not verified, which happens silently otherwise, for example when the application has several data sources and none is selected for the tenant details. Learn more about Dedicated Data Source. -
DefaultTenantKeyGeneratorhas becomeTenantKeyGenerator, replacing the interface of the same name, and theTenantDetailsManagerinterface, which had no implementation, has been removed. A custom key generator replaces the auto-configured one when it’s aKeyGeneratorbean namedtenantKeyGenerator. The upgrade recipe applies the rename. -
TenantContextIgnorePathMatcheris no longer public and no longer registered as a bean. The paths to ignore are still configured witharconia.multitenancy.resolution.http.filter.ignore-pathsandadditional-ignore-paths. When building aTenantContextFilteryourself, pass them toTenantContextFilter.builder().ignorePaths(…)instead oftenantContextIgnorePathMatcher(…). -
Names across the multitenancy APIs are now consistent with their configuration properties. The
arconia.multitenancy.resolution.http.header.header-nameandarconia.multitenancy.resolution.http.cookie.cookie-nameproperties have becomeheader.nameandcookie.name. The builder methods and getterstenantHeaderName,tenantCookieName,tenantClaimNameandtenantIdentifierKeyhave becomeheaderName,cookieName,claimNameandkeyName, andTenantContextFilter.builder().httpRequestTenantResolver(…)has becometenantResolver(…). The upgrade recipe applies the renames. -
TenantDetails.attribute(key, type)converts the attribute value to the requested type instead of casting it, so reading a number or a boolean works the same for tenants loaded from a database, where values are stored as text, and for tenants declared in configuration properties. Learn more about JDBC-Based Tenant Details. -
The tenant details health indicator has been removed. Spring Boot’s
dbhealth indicator already reports whether the database holding the tenant details can be reached, and a missing tenant details table makes the tenant filter answer with503 Service Unavailableand log the cause. Themanagement.health.tenantdetails.enabledproperty no longer has any effect, and the upgrade recipe comments it out.
Observability
OpenTelemetry
Resource
-
The OpenTelemetry resource now identifies Arconia as the distribution in use and declares the schema URL of the semantic conventions it follows. Learn more about the Distro Resource Contributor.
-
The new
arconia.otel.resource.deployment-environment-nameproperty sets thedeployment.environment.nameattribute, such asproductionorstaging. -
The new Git resource contributor, disabled by default, adds the commit, branch, and repository the application was built from. Learn more about the Git Resource Contributor.
-
The resource contributors now report values as the OpenTelemetry Semantic Conventions define them, such as
amd64instead ofx86_64forhost.arch. Learn more about the Resource Contributors. -
The values of the
arconia.otel.resource.attributesproperties are now used as they are, as in Spring Boot. Previously, a%character prevented the application from starting. -
The
arconia.otel.resource.enableproperties now work like Spring Boot’smanagement.metrics.enable: the longest matching key wins.
Environment Variables
-
The
OTEL_TRACES_SAMPLERandOTEL_TRACES_SAMPLER_ARGenvironment variables now configure the sampler. Previously, they were ignored. As the specification requires, the sampler argument only applies to thetraceidratioandparentbased_traceidratiosamplers and must be between 0 and 1. When it’s not set, the ratio is 1, unlessmanagement.tracing.sampling.probabilityis set. Learn more about the OpenTelemetry Environment Variables. -
The OpenTelemetry environment variables now follow the specification more closely. A timeout of
0means no limit,OTEL_PROPAGATORS=nonedisables the propagation, and values ofOTEL_SDK_DISABLEDother thantrueandfalseare reported and ignored. -
The propagators set with
OTEL_PROPAGATORSnow apply both to the trace context the application sends and to the one it receives. Previously, the application still accepted all the supported formats from incoming requests. -
The
OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCEandOTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATIONenvironment variables are now supported. -
The warnings about invalid OpenTelemetry environment variables now appear in the application log. Previously, they were lost because they were logged before the logging system was initialized. They never include the values of headers and resource attributes, and a value that isn’t correctly percent-encoded is skipped instead of preventing the application from starting. When a value can’t be bound, the error names the environment variable it comes from.
OTLP Exporters
-
The OTLP exporters now send telemetry over HTTP/1.1 with the new
arconia-opentelemetry-exporter-sender-httpmodule, which the Arconia OpenTelemetry Spring Boot Starter includes instead of the JDK sender of the OpenTelemetry project. Previously, the requests to plaintext endpoints asked to upgrade the connection to HTTP/2, and the servers and proxies rejecting the upgrade closed the connection, so the telemetry was lost. The Micrometer Metrics Registry OTLP connects the same way. You can still use another sender, such as the one based on OkHttp. If you excludedopentelemetry-exporter-sender-jdkfrom the starter to use another sender, excludearconia-opentelemetry-exporter-sender-httpinstead. The upgrade recipe updates the exclusion in Maven builds. Learn more about HTTP. -
The OTLP exporters, including the Micrometer Metrics Registry OTLP, can now trust a certificate authority or authenticate with a client certificate through a Spring Boot SSL bundle, configured with the new
arconia.otel.exporter.otlp.ssl.bundleproperty or per signal.OtlpConnectionDetailscan provide an SSL bundle through the newgetSslBundle()method, and the Testcontainers service connections use HTTPS when the container has one. Learn more about TLS. -
The
OTEL_EXPORTER_OTLP_CERTIFICATE,OTEL_EXPORTER_OTLP_CLIENT_KEY, andOTEL_EXPORTER_OTLP_CLIENT_CERTIFICATEenvironment variables, and their signal-specific variants, are now supported. They configure a Spring Boot SSL bundle for the OTLP exporters. Learn more about TLS. -
You can configure a proxy for the OTLP exporters, including the Micrometer Metrics Registry OTLP, with the new
arconia.otel.exporter.otlp.proxy.*properties, or per signal. Without it, the exporters keep using the proxy configured for the JVM, such as with thehttps.proxyHostsystem property. Learn more about Proxy. -
When virtual threads are enabled with the
spring.threads.virtual.enabledproperty, the OTLP exporters send telemetry on virtual threads. -
OtlpConnectionDetailscan now provide the headers of the requests to the OTLP endpoint through the newgetHeaders()method. -
The
arconia.otel.<signal>.exporter.otlp.retry.*properties are now part of the configuration metadata, so IDEs complete and describe them. The description ofmax-attemptsnow states that it counts the original request and must be between 2 and 5, as the OpenTelemetry SDK requires. -
The retry settings of a signal now fall back one by one to the common ones under
arconia.otel.exporter.otlp.retry.*, like the other exporter settings. Previously, setting any retry property for a signal reset the others to their defaults for that signal, ignoring the common ones.
Traces
-
The tracing context is now propagated whatever the type of traces exporter. Previously, with the
consoleornoneexporter, incoming trace context was ignored and none was sent to other services, so an application not exporting traces broke the traces passing through it. Learn more about Propagation. -
An application without the Micrometer Tracing OpenTelemetry bridge on the classpath no longer fails to start. Tracing with OpenTelemetry is then not configured, since it relies on the bridge.
Metrics
-
Histograms now use the bucket boundaries advised by their instrumentation, such as the ones defined by the semantic conventions. Previously, they always used the default boundaries, which suit durations in milliseconds. The
arconia.otel.metrics.exporter.histogram-aggregationproperty now sets the default aggregation of the OTLP metrics exporter. -
The
arconia.otel.metrics.exemplars.enabledproperty has been removed, since setting it tofalsedidn’t disable the exemplars. Setarconia.otel.metrics.exemplars.filtertoalways-offinstead. The upgrade recipe migrates the property. -
When enabled, the metrics the OpenTelemetry SDK records about itself use the names of the semantic conventions, such as
otel.sdk.processor.span.processed. -
Enabling the metrics of the OTLP metrics exporter with
arconia.otel.metrics.exporter.otlp.metricsno longer makes the application fail to start. -
The Micrometer Metrics Registry OTLP now sends the headers provided by the OTLP connection details, such as the credentials of a backend, and applies the OTLP connection and request timeouts. Previously, it ignored them.
-
The Micrometer Metrics Registry OTLP now records exemplars, linking measurements to the trace in which they were recorded, as Spring Boot does. Learn more about the Micrometer Metrics Registry OTLP.
-
The Micrometer Metrics Registry OTLP only supports HTTP/Protobuf, so the application now fails to start with an explanation when the metrics exporter is configured to use gRPC. Previously, the registry sent HTTP requests to the gRPC endpoint and the metrics were lost. Learn more about the Micrometer Metrics Registry OTLP.
Logs
-
The Logback OpenTelemetry Bridge now forwards logs with the
consolelogs exporter too. Previously, it only forwarded them when exporting via OTLP. When logs aren’t exported, it no longer holds the first log events in memory waiting for an exporter. -
The Logback OpenTelemetry Bridge now registers a single appender when an application is started several times in the same JVM, such as in tests. Previously, each start added another appender, so each log event was exported several times.
OpenTelemetry Semantic Conventions
-
HTTP client requests made with the
RestClientandRestTemplatebuilt from the Spring Boot auto-configured builders now follow the conventions, and thehttp.client.request.durationmetric replaceshttp.client.requests. Thearconia.observations.conventions.opentelemetry.http.enabledproperty now covers both HTTP clients and servers. Learn more about the HTTP conventions. -
HTTP server requests now get attributes only when their value is available, instead of placeholders such as
UNKNOWNorNOT_FOUNDforhttp.route. Requests matching no route have nohttp.route, so filter on the status code instead. -
The URL query string of HTTP server requests is now captured as
url.queryby default, with the values of sensitive parameters replaced byREDACTED, as inurl.fullfor HTTP clients. Theinclude-url-queryproperty has been renamed tocapture-url-query, and the upgrade recipe renames it. -
New properties let you add sensitive query parameters to redact and record selected HTTP headers on the spans. Learn more about the HTTP configuration properties.
-
HTTP spans now get the
Errorstatus when the response signals an error, also without an exception. -
Every observation ending in an error now records the stable
error.typeattribute, on both spans and metrics, and successful operations no longer geterror.type=none. Learn more about Errors. -
The
jvm.gc.durationmetric is now exported as a single metric, and thejvm.threads.livemetric is no longer published, sincejvm.thread.countreplaces it. The JVM dashboard of the Grafana LGTM Dev Service has been updated accordingly. Learn more about the JVM conventions. -
The documentation now describes the stability of the conventions, their known deviations, and how to enable histogram buckets to compute percentiles.
OpenTelemetry AI Semantic Conventions
All Flavors
-
Content capturing is now configured by the
capture-message-content,capture-tool-definitions, andcapture-tool-call-contentproperties, which every flavor honors. They replacecapture-content,include-tool-definitions, andinclude-tool-call-content, and the upgrade recipe migrates them. -
The duration of model calls is now reported with the
gen_ai.client.operation.durationmetric instead ofgen_ai.client.operation: update the dashboards and alerts usinggen_ai_client_operation_seconds. -
Spring AI
ChatClientcalls are now reported as agent invocations (invoke_agent) instead ofinvoke_workflow. -
Model names are omitted when unknown, instead of being set to
none, and finish reasons use the well-known values of the conventions, such asstop, instead of the provider ones. -
Large media in the captured messages is left out, so that the size of spans and events stays bounded.
OpenTelemetry Flavor
-
The new
inference-content-destinationproperty decides where the captured content is recorded: as span attributes (default), in a span event, or in a log event correlated with the span of the model call. Learn more about Content Capturing. -
The
OpenTelemetryChatModelEventObservationHandlernow records both span events and log events, and its constructor takes theOpenTelemetryinstance. TheOpenTelemetryChatClientEventObservationHandlerclass has been removed.
Langfuse Flavor
-
The new
langfuseflavor sends Spring AI traces to Langfuse. Learn more about the Langfuse Semantic Conventions.
LangSmith Flavor
-
The
langsmithflavor now follows the LangSmith SDKs: conversations are grouped into LangSmith threads, and the messages of model and chat client calls are recorded as span attributes instead of span events. Learn more about the LangSmith Semantic Conventions.
OpenLIT Flavor
-
The
openlitflavor now follows the current OpenLIT SDKs and UI, recording the provider asgen_ai.provider.nameinstead ofgen_ai.system, and the arguments of tool executions asgen_ai.tool.call.argumentsinstead ofgen_ai.tool.args. Learn more about the OpenLIT Semantic Conventions.
OpenLLMetry Flavor
-
The
openllmetryflavor now follows the current OpenLLMetry instrumentations, recording the provider asgen_ai.provider.nameinstead ofgen_ai.system, and grouping conversations into Traceloop sessions. Learn more about the OpenLLMetry Semantic Conventions.
OpenInference Semantic Conventions
-
Model calls now record their input and output documents, the requested and response models, and the available tools. They also record the cached input tokens, which Phoenix includes in the cost. Video and document content, such as PDFs, is also recorded, and the results of parallel tool calls are all recorded instead of only the first one.
-
Tool executions now record the tool call ID and the parameters definition of the tool.
-
Base64 media longer than
arconia.observations.conventions.openinference.ai.base64-image-max-lengthis now redacted, as the OpenInference specification requires, instead of being truncated into an invalid data URI. -
Google GenAI calls are now reported with the OpenInference provider and system values, model names are omitted when unknown, and embedding spans are named
CreateEmbeddings, as the specification requires. -
The new
hide-llm-toolsproperty hides the definitions of the tools available to the model. -
The
hide-promptsandhide-choicesproperties have been removed, together with their environment variables, since they apply to the completions API, which Spring AI doesn’t use. The upgrade recipe comments out the properties. -
The documentation now covers sending traces to Arize AX.
-
The boolean OpenInference environment variables now accept only
trueandfalse, as in the OpenInference reference implementation. Any other value, such asyes, is reported in the log and ignored, so the configuration property applies. Previously, it was silently treated asfalse, which overrode ahide-property set totrue. Learn more about the Environment Variables.
Testcontainers
-
The Arconia Testcontainers modules now have their own documentation, covering the Langfuse, OpenLIT, Phoenix, and Redis containers. Learn more about Testcontainers.
-
The new
arconia-testcontainers-langfusemodule providesLangfuseContainer, which runs Langfuse together with the containers it needs. With Arconia OpenTelemetry, tests send traces to it by annotating the container with@ServiceConnection. Learn more about Langfuse Testcontainers. -
PhoenixContainernow turns off the authentication that Phoenix 21 enables by default, so that Phoenix accepts traces without an API key. Learn more about Phoenix Testcontainers. -
OpenLitContainernow requires OpenLIT 2.1.1 or later, the default of the OpenLIT Dev Service, which receives OTLP data with its built-in receiver instead of the OpenTelemetry Collector of the previous versions. Learn more about OpenLIT Testcontainers. -
OpenLitContainernow keeps the tmpfs mounts configured viawithTmpFs(), and when it fails to start, it stops its ClickHouse container instead of leaving it running until the JVM exits.