What changed in Pinpoint from 3 to 4

2 releases numbered after v3.1.1 up to and including v4.0.1, stable releases only. v3.1.1 and v4.0.1 are the newest stable releases of 3 and 4 we track; this page follows them as new ones ship.

34 changes across 2 releases

Added 16

v4.0.1

  • Added user-supplied URI template support for URI stat in the Jetty plugins
  • Added serviceName to the span event ContextData
  • Added a search box to the sidebar service selector
  • Added a search box to the server map service selector

v4.0.0

  • Service feature, enabled by default, that groups applications so each team can focus on its own service and see service-to-service calls on the Service Map
  • OpenTelemetry trace support that receives OTLP traces over gRPC and HTTP (protobuf and JSON) without the Pinpoint agent, with nanosecond span time precision
  • URL Statistic built from OpenTelemetry server spans using the route template
  • Error Analysis for exceptions recorded on OpenTelemetry spans, with multi-language stacktrace parsing (JVM, Go, Node.js, Python) and grouping by route
  • Caller-to-callee edges between OpenTelemetry-instrumented applications drawn from a pp entry in the W3C tracestate header, with a batch job that fills in edges when the caller cannot propagate it
  • OpenTelemetry span links that open the linked transaction
  • OTLP log collection that stores caught-and-logged exceptions in Error Analysis, linked to the span in which they were logged
  • Call tree summaries for GenAI spans showing the serving model, input and output token usage including cached tokens, and time to first token
  • Service Alarm, rebuilt around services so each team manages its alarm rules and notification channels in one place
  • Alarm Templates for setting up the same alarms across many applications
  • Service Alarm rules covering response quality (slow and error rates, Apdex), calls to another application, agent resources (heap, CPU, connection pool), and deadlocks
  • Spring Boot 4.1 and Spring Framework 7.0 support
Changed 7

v4.0.1

  • Enhanced Reactor tracing to propagate unsampled traces across publishOn, subscribeOn, delay, and interval
  • Propagate unsampled traces across Reactor subscribe and retry
  • Propagate unsampled traces across coroutine dispatch
  • Apply the durability setting to SpanChunk
  • Switched the alarm modules from thymeleaf to thymeleaf-spring6

v4.0.0

  • Sensitive span attributes are no longer stored: HTTP headers, credentials and tokens are dropped, and URL query strings and command-line arguments are stripped before the span is written
  • Data not assigned to a service, including data collected before the upgrade or sent by agents older than 4.0.0, is kept in the DEFAULT service, and creating a new service does not move existing data into it
Fixed 11

v4.0.1

  • Fixed a class retransform issue by keeping the original constant pool indices when rewriting a class from its class file
  • Fixed a Base64 decoding compatibility issue by downgrading commons-codec to 1.22.1
  • Fixed an unnecessary retransform by skipping Spring beans that declare no method to intercept
  • Fixed the trace block depth in DisableTrace and DisableChildTrace traceBlockEnd()
  • Fixed the DEFAULT servicemap not applying the search option
  • Fixed the server map right-click handlers to read the latest disableMenu state
  • Fixed the Apdex hover popup to attach to the side of the node that has room
  • Fixed the Apdex and service group popups disappearing when the server map menu is disabled
  • Fixed an extra drawer scroll when viewing servers
  • Fixed the group-by remove button showing when the error table cannot remove a group
  • Fixed focus to return to the service search box with ArrowUp from the first result

Original release notes, newest first

The list above is our reading of these notes; the originals from Pinpoint are here, one fold per release.

v4.0.1
Improvements

[Agent] Enhanced Reactor tracing — propagate unsampled traces across publishOn, subscribeOn, delay, and interval (#14604) [Agent] Propagate unsampled traces across Reactor subscribe and retry (#14594) [Agent] Propagate unsampled traces across coroutine dispatch (#14592) [Agent] Added user-supplied URI template support for URI stat in the Jetty plugins (#14546) [Agent] Added serviceName to the span event ContextData [Collector] Apply the durability setting to SpanChunk (#14544) [Web] Added a search box to the sidebar service selector [Web] Added a search box to the server map service selector [Web] Switched the alarm modules from thymeleaf to thymeleaf-spring6 (#14534)

Bug Fixes

[Agent] Fixed a class retransform issue by keeping the original constant pool indices when rewriting a class from its class file (#9246) [Agent] Fixed a Base64 decoding compatibility issue by downgrading commons-codec to 1.22.1 (#14605) [Agent] Fixed an unnecessary retransform by skipping Spring beans that declare no method to intercept [Agent] Fixed the trace block depth in DisableTrace and DisableChildTrace traceBlockEnd() [Web] Fixed the DEFAULT servicemap not applying the search option (#14600) [Web] Fixed the server map right-click handlers to read the latest disableMenu state [Web] Fixed the Apdex hover popup to attach to the side of the node that has room [Web] Fixed the Apdex and service group popups disappearing when the server map menu is disabled [Web] Fixed an extra drawer scroll when viewing servers [Web] Fixed the group-by remove button showing when the error table cannot remove a group [Web] Fixed focus to return to the service search box with ArrowUp from the first result

Security

[none] Bumped fastjson from 1.2.83 to 1.2.84 to fix CVE-2026-16723 (RCE under the default configuration) (#14584) [Web] Bumped handlebars, storybook, and shell-quote to fix critical vulnerabilities [Web] Bumped vite, zod, and transitive dependencies to fix high vulnerabilities [Web] Bumped postcss-selector-parser to 7.1.7 to fix a moderate vulnerability [Web] Reported by @Hamaecco: Reject admin API calls when admin.password is not set (#14533)

Dependency Updates

[Build]

  • Spring Boot 3.5.14 → 3.5.16
  • Spring Framework 6.2.18 → 6.2.19
  • Spring Security 6.5.10 → 6.5.11
  • Spring Batch 5.2.5 → 5.2.6
  • Spring Data 3.5.11 → 3.5.13
  • Spring Cloud 4.3.0 → 4.3.3
  • Spring Kafka 3.3.15 → 3.3.16
  • Spring Retry 2.0.12 → 2.0.13
  • Spring Shell 3.4.2 → 3.4.3
  • log4j2 2.25.4 → 2.25.5
  • jackson 2.21.4 → 2.21.8
  • snakeyaml 2.4 → 2.7
  • bouncycastle 1.81 → 1.86
  • httpclient5 5.4.4 → 5.6.5
  • tomcat-embed 10.1.55 → 10.1.61
  • snappy-java 1.1.10.4 → 1.1.10.12
  • oshi-core 6.9.1 → 7.7.3
  • jna 5.18.1 → 5.19.1
  • zstd-jni 1.5.7-16 → 1.5.7-25
  • HikariCP 7.0.1 → 7.1.0
  • commons-lang3 3.18.0 → 3.21.0
  • commons-io 2.20.0 → 2.22.0
  • commons-codec 1.17.1 → 1.23.0
  • commons-pool2 2.12.0 → 2.13.1
  • commons-collections4 4.4 → 4.6.0
  • hamcrest 2.2 → 3.0
Downloads

Binaries are attached to this release:

  • pinpoint-agent-4.0.1.tar.gz
  • pinpoint-batch-4.0.1-exec.jar
  • pinpoint-alarm-batch-starter-4.0.1-exec.jar
  • pinpoint-collector-4.0.1-exec.jar
  • pinpoint-collector-starter-4.0.1-exec.jar
  • pinpoint-web-4.0.1-exec.jar
  • pinpoint-web-starter-4.0.1-exec.jar
What's Changed

Full Changelog: https://github.com/pinpoint-apm/pinpoint/compare/v4.0.0...v4.0.1

View originalPermalink

v4.0.04.0.0 release

Pinpoint 4.0.0 is a major release that opens the 4.x line. It has three highlights:

  • Service, now on by default, groups applications so that each team can focus on its own service.
  • OpenTelemetry Trace Support brings applications instrumented with OpenTelemetry into Pinpoint without the Pinpoint agent.
  • Service Alarm is a renewed alarm system built around services. New Alarm Templates make it easy to set up the same alarms for many applications.

It also adds Spring Boot 4.1 / Spring Framework 7.0 support and includes the agent-stability work that shipped in 3.1.1.

This release changes defaults and removes several legacy code paths, so please read the Upgrade guide before upgrading in place from 3.1.x.

Highlights
Service (enabled by default)

Service model

Pinpoint 4.0.0 introduces the Service feature. You can group several applications into one service and see how services call each other on the Service Map. Screens that support the service feature show only the data of the applications in the selected service.

  • Monitoring: Focus on the data of the service you own and find the cause of a problem faster.
  • Operations: As applications grow, group them by service to keep the monitoring targets clear.

Monitoring targets form a Service → Application → Agent hierarchy. The demo-shop-commerce service of the demo shopping mall looks like this:

Service: demo-shop-commerce          products and orders
├─ Application: Shopping-Order       order processing
│  ├─ Agent: shop-order-01
│  └─ Agent: shop-order-02
└─ Application: Shopping-Product     product lookup
   └─ Agent: shop-product-01

Data that is not assigned to a service, such as data collected before the upgrade or sent by agents older than 4.0.0, stays in the DEFAULT service. Creating a new service does not move existing data into it. To use the service feature, create the service in the Web first, then set pinpoint.serviceName on the agents (see Agent). See the Service guide for details.

OpenTelemetry Trace Support

Pinpoint 4.0.0 receives OpenTelemetry traces directly. Applications instrumented with the OpenTelemetry Java agent, any OTel SDK, or the OpenTelemetry Collector appear in the same server map, transaction list and call tree as agent-collected data, without the Pinpoint agent.

  • OTLP over gRPC and HTTP Traces are accepted over gRPC and over HTTP in both protobuf and JSON, with gzip and standard OTLP responses. Span time keeps nanosecond precision (#13923).

  • URL Statistic and Error Analysis URL Statistic is built from OTel server spans using the route template (#14229). Exceptions recorded on OTel spans flow into Error Analysis with multi-language stacktrace parsing (JVM, Go, Node.js, Python) and grouping by route (#14233). SQL text is shown in the call tree.

  • Server map and service map links Caller → callee edges between OTel-instrumented applications are drawn from a pp entry in the W3C tracestate header, written by the sender via pinpoint-otel-extension (OpenTelemetry Java agent extension, plus guides for Java SDK, Python, Go and Node.js). When the caller cannot propagate it, the collector and a batch job join the two sides and fill in the edge (#14453). OTel span links open the linked transaction (#13596).

  • Error log collection The collector also receives OTLP logs. Exceptions that were caught and only logged are stored in Error Analysis and linked to the span they were logged in (#14299).

  • Other changes

    • GenAI spans are summarized in the call tree: the model that served the request, input/output token usage including cached tokens, and time to first token.
    • Sensitive span attributes are never stored: HTTP headers, credentials and tokens are dropped, and URL query strings and command-line arguments are stripped before the span is written.
Service Alarm

Service Alarm Alarm Rules

Alarms are rebuilt around services (#14282). The team that owns a service manages its rules and notification channels in one place. Alerts can be tuned to how serious a problem is, and each one leads straight to where you can investigate. Rules can watch response quality (slow and error rates, Apdex), calls to another application, agent resources (heap, CPU, connection pool) and deadlocks.

Alarm Templates are sets of rules that you apply to many applications at once. Start from a built-in preset for agent health or response quality, or make your own. When you change a template, every application that uses it updates automatically.

Legacy AlarmService Alarm
ConditionsOne metric per ruleSeveral metrics combined with AND / OR, so you can cut noisy alerts
SeverityNoneWARNING / CRITICAL
TimingFixed 5-minute window, checked every 3 minutesWindow, check interval and repeat interval set per rule
SetupRules registered one application at a timeTemplates and built-in presets apply a rule set to many applications
ChannelsConfigured on each ruleEmail, SMS and webhook (Slack included) registered once per service and shared
After an alertNo history in the UIRule status and firing history in the UI; notifications link to the Service Map or Inspector

See the full Alarm comparison in the Alarm guide. Existing alarm rules are not migrated automatically, but a template lets you apply the same alarms to many applications at once. See Upgrade guide → Service Alarm before you switch.

Agent
  • Service name is now required (#14379). Every agent starts with a service name that has been registered in the Web, and the agent ID is generated automatically instead of being set by hand. Agents configured the 3.x way do not start until a service name is added; the 3.1.x identifiers can still be chosen by configuration.
  • Application type for services (#14455). Applications in a service are shown as JAVA rather than as the detected server such as TOMCAT or JETTY, so icons and per-type statistics on the server map change. The previous behavior can be restored by configuration.
  • Compressed transport (#14477). Spans and statistics are sent compressed by default, reducing network traffic to the collector with no collector change.
  • More reliable async tracing (#14391). Async spans are no longer lost or reported as corrupted call stacks when their scope ends early.
  • Spring Boot 4.1 / Spring Framework 7.0 are supported; Spring Framework 3.x and 4.x are no longer supported.
  • New plugins: Apache Pekko HTTP (#13818) and Ktor client.
  • okhttp 4.x and 5.x are supported (#14221).
  • Tomcat 9 to 11 are supported (#14481); Tomcat 8 is no longer supported.
Security
  • Webhook host allowlist (#13857): configured hosts may resolve into otherwise-rejected private ranges, closing the gap left by the 3.1.1 SSRF validation. Carries the 3.1.1 basic-login hardening (required JWT secret, HttpOnly cookie).
Removals & cleanup
  • Legacy server map v2 support removed (#13905).
  • Legacy application & agent list table (ApplicationIndex) support removed (#14028).
  • Legacy trace index table (ApplicationTraceIndex) support removed (#14028).
  • The emptied pinpoint-plugins-bom module removed and plugin library versions declared explicitly (#14486); the otlptrace-otel-extension module removed in favor of pinpoint-apm/pinpoint-otel-extension.
Upgrade guide
Defaults that changed
  • The service feature is on by default. To restore 3.1.x behavior, set the three switches back to false:

    # web
    experimental.enableServiceMap.value=false
    pinpoint.modules.web.servicemap.enabled=false
    # collector
    pinpoint.collector.service.lookup.enabled=false
    

    With the service feature off, the collector stores all data in the DEFAULT service, whatever service name the agent reports, and does not check that the service is registered. 4.0.0 agents still need pinpoint.serviceName to start: set it to DEFAULT so that the application type is detected as in 3.1.x (TOMCAT, JETTY, ...) instead of JAVA.

  • Default pinpoint.modules.uid.version / NameVersion is now v4 (#14379). If the agent reports to a collector older than 4.0.0, pin it explicitly:

    pinpoint.modules.uid.version=v3
    
  • Agent gRPC compression is on by default. It is backward compatible, but to disable it:

    profiler.transport.grpc.span.batch-sender.compression=none
    profiler.transport.grpc.stat.sender.compression=none
    
Service Alarm
  • Service Alarm is evaluated and sent by the new alarm-batch-starter process. It needs MySQL, Spring Batch metadata, HBase and Pinot. The agent statistics table settings (alarm.agent-stat.table.prefix, padding-length, count) are required, or startup fails.
  • The legacy alarm still runs in the batch module, for the DEFAULT service only.
  • Legacy alarm rules are not migrated automatically. Re-register them as Service Alarm rules; the Alarm guide maps each legacy checker to its Service Alarm equivalent.
  • Legacy SMS, email and webhook settings are not migrated either. If you enable the same condition in both systems, you get duplicate notifications.
  • Service Alarm requires the service feature. With pinpoint.modules.web.servicemap.enabled=false, only the legacy alarm screen appears.
  • The alarm API has @PreAuthorize hooks for a custom permission evaluator. Open-source Web does not enable method security, so these hooks are not enforced by default: anyone who can access the Web can view and change the rules, channels and templates of every service.
Schema

Upgrading to 4.0.0 requires the schema changes below. See Schema changes in 4.0.0.

  • MySQL 5.x is no longer supported. 4.0.0 requires MySQL 8.4+; upgrade MySQL before upgrading Pinpoint if you run 5.7 (end of life since October 2023).
  • Pinot: add the serviceName column (STRING, default DEFAULT) to the exceptionTrace table (pinot-exceptionTrace-schema.json).
  • MySQL (8.4+, configuration columns use the JSON type):
    • Create the service table with Service-Schema.sql.
    • Create the alarm tables with CreateTableStatement-mysql.sql: alarm_template, alarm_template_item, alarm_rule_v2, alarm_rule_local_config, alarm_notification_channel, alarm_channel_binding, alarm_state, alarm_history_v2, alarm_notification_outbox.
    • Create the Spring Batch metadata for Alarm Batch with SpringBatchJobRepositorySchema-mysql.sql; Alarm Batch does not create it automatically.
  • HBase: add the tables listed in HBase table changes for 3.1.0 (MapAppSelf, MapAgentSelf, MapAppOut, MapAppIn, MapAppHost, TraceIndex, Application, AgentId) if they do not exist yet. Downgrading a 4.0.0 collector back to 3.1.x in place is not supported.
Removed configuration
  • The deprecated XML batch configuration and EnableBatchProcessing are removed — batch runs on the annotation-based config only (#13830).
Build
  • Build JDK is 17; minimum Maven is 3.9.0 (the bundled mvnw is unaffected).
Compatibility
ComponentRequirementNotes
Agent JDK8+verified on 8 / 11 / 17 / 21 / 25
Collector / Web / Batch JDK17
Collector for agent 4.0.04.0.0+with the default uid.version=v4; pin v3 for older collectors
MySQL8.4+new service and alarm tables
Pinot schemamigrationserviceName column added to exceptionTrace
HBase schemamigrationadd tables (MapApp*, MapAgentSelf, TraceIndex, Application, AgentId)
Build Maven3.9.0+

Downloads

Binaries are attached to this release:

  • pinpoint-agent-4.0.0.tar.gz
  • pinpoint-batch-4.0.0-exec.jar
  • pinpoint-alarm-batch-starter-4.0.0-exec.jar
  • pinpoint-collector-4.0.0-exec.jar
  • pinpoint-collector-starter-4.0.0-exec.jar
  • pinpoint-web-4.0.0-exec.jar
  • pinpoint-web-starter-4.0.0-exec.jar
What's Changed
New Contributors

Full Changelog: https://github.com/pinpoint-apm/pinpoint/compare/v3.1.1...v4.0.0

View originalPermalink