Self-host Apache SkyWalking
v11.1.0Observability platform for cloud-native and AI workloads
- Stars
- 25 004
- Ports
- 11800 (OAP gRPC APIs used by agents and probes), 12800 (OAP HTTP query API (GraphQL format), also exposed as 17128 in the repo compose), 17128 (Additional port published by the OAP container in the project's docker compose), 8081 (Horizon UI inside the container (HORIZON_SERVER_PORT), published as host 8080)
- Requires
- Java
apache/skywalking-oap-serverWhat is Apache SkyWalking?
Apache SkyWalking is an APM and observability platform built for microservices, cloud-native and container-based architectures, used by hundreds of companies in production. The OAP backend ingests telemetry over gRPC and serves a GraphQL/HTTP query API, while the Horizon web UI shows service topology, traces, metrics, logs, profiling flame graphs and alarms. Instrumentation comes from agents for Java, .NET Core, PHP, Node.js, Go, LUA, Rust, C++, Python and browser JavaScript, plus the eBPF-powered Rover for Kubernetes CPU and network profiling and a satellite collector. Existing telemetry from Zipkin, OpenTelemetry (OTLP), Prometheus, Zabbix, Telegraf and Fluentd can be fed in, and service-, deployment- and API-centric alarm rules can be forwarded to Slack, PagerDuty, webhooks and other hooks. Machine-learning features recognise HTTP URI patterns and derive metric baselines for intelligent alerting, and newer releases add GenAI observability for model and MCP traffic. Self-hosting runs a storage backend (recommended BanyanDB, or MySQL, PostgreSQL, Elasticsearch/OpenSearch) plus OAP and the UI: a one-liner Docker quickstart, the repo's docker compose file, Kubernetes with Helm, or the unpacked distribution started with bin/startup.sh. It needs Java 11 or newer, and the docs warn that Elasticsearch-backed clusters are costly in memory.
Apache SkyWalking alternatives
openobserveOpenObserve is a self-hosted, open-source observability platform unifying logs, metrics, traces, RUM, and AI observability with 140x lower storage costs.Compareopenobserve with Apache SkyWalking
pyroscopeOpen-source, self-hosted continuous profiling platform: ingest CPU/memory profiles via SDKs, Alloy or eBPF, store in object storage and query flame graphs in Grafana.Comparepyroscope with Apache SkyWalking
rocketplaneIOSelf-hosted AI SRE for Kubernetes: eBPF zero-instrumentation traces, logs, metrics, live service map, plus MCP for AI agents to safely remediate.ComparerocketplaneIO with Apache SkyWalking
netdataNetdata is an open-source, self-hosted infrastructure monitoring platform with per-second metrics, automated dashboards, ML anomaly detection, and zero-config deployment.Comparenetdata with Apache SkyWalking
hypertraceSelf-hosted distributed tracing platform that ingests OpenTelemetry, Jaeger, and Zipkin data with service graphs, dashboards, and real-time metrics aggregation.Comparehypertrace with Apache SkyWalking
hertzbeatApache HertzBeat is a self-hosted, open-source observability system unifying agentless metrics and logs collection, alerting, and notification dispatch.Comparehertzbeat with Apache SkyWalking
oneuptimeSelf-hosted open-source observability platform combining uptime monitoring, incident management, on-call alerting, status pages, logs, traces, metrics, error tracking.Compareoneuptime with Apache SkyWalking
signozOpen-source observability tool you host yourself, combining APM, logs, traces, and dashboards on OpenTelemetry to replace DataDog.Comparesignoz with Apache SkyWalking
Should you self-host Apache SkyWalking?
Apache SkyWalking scores 77/100 on selfhost.directory (how scoring works) and ranks #2 of 9 in Application Performance Monitoring. It has 25 004 GitHub stars, +30 in the last 30 days.
It shipped 4 stable releases in the past year. The latest, v11.1.0, came out on 3 November 2026. New versions land roughly every 3 months.
Setup is advanced: plan for several services and some ongoing maintenance. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Java.
Its closest alternative on selfhost.directory is sentry (80/100, 45 772 stars). It scores higher overall, so compare the two before you pick. See Apache SkyWalking vs sentry side by side.
Features
- AI/ML-assisted analysis
- Alerting
- Distributed Tracing
- eBPF monitoring
- GenAI observabilityIntroduced in the 10.4.0 release.
- GraphQL query API
- Horizontal Scalability
- Kubernetes Monitoring
- Logging pipeline
- Multi-language agents
- OpenTelemetry compatibility
- Profiling
- Prometheus self-telemetry
- Telemetry forwarding
Apache SkyWalking README
How to install Apache SkyWalking
Install Apache SkyWalking with Docker
bash <(curl -sSL https://skywalking.apache.org/quickstart-docker.sh)
One-liner that starts storage, OAP server and UI; you are prompted to choose a storage backend.
Install Apache SkyWalking with Linux
You can use bin/startup.sh (or cmd) to start up the OAP server and UI with their default settings
Binary distribution with /bin scripts, /config (application.yml, log4j.xml, alarm-settings.yml) and /oap-libs.
How to configure Apache SkyWalking
SW_STORAGE=banyandbStorage selector in application.ymlvalues: banyandb, elasticsearch, mysql, postgresql and compatible databases
SW_STORAGE_BANYANDB_TARGETS=127.0.0.1:17912Comma-separated BanyanDB server host:port targets (liaison nodes in cluster mode)SW_STORAGE_ES_CLUSTER_NODESElasticsearch cluster nodes address used by the OAP containerSW_HEALTH_CHECKER=defaultOAP health checker setting in the project docker composeSW_TELEMETRY=prometheusOAP self-telemetry mechanism in the project docker compose
Apache SkyWalking releases & version history
Download
https://skywalking.apache.org/downloads/
Notice
Don't download source codes from this page.
Please follow build document, if you want to build source codes by yourself.
Metrics and Topology from OTLP Traces
Applications instrumented with the OpenTelemetry SDKs no longer need a SkyWalking agent for service dashboards, topology and trace search. OAP stores OTLP traces as they arrive, and the new Trace Analysis Language (TAL) turns every span into service, instance and endpoint metrics, a topology, and dashboards for the databases, caches and message queues the services call. Read OpenTelemetry Traces in SkyWalking for a one-command quick start with the OpenTelemetry Astronomy Shop.
Project
- Update the e2e mock sender's OTLP proto to v1.11.1. A current OpenTelemetry Collector adds fields the old copy lacked, such as a metric's
metadata, and the sender's strict JSON parser refused a recording that carries them. The Windows e2e now also replays such a recording, of windows_exporter0.31.8through OpenTelemetry Collector0.158.0taken on a GitHub-hosted Windows runner, and asserts its memory metrics. - Replace the GenAI e2e cases' Spring AI application with an in-repo
e2e-spring-ai-servicemodule pinned to the released Spring AI 2.0.1, and move the mock LLM endpoints out ofe2e-service-providerinto a dedicatede2e-mock-llm-servermodule that all three GenAI cases share. The Spring AI application was previously built at test time by cloningspring-projects/spring-ai-examplesand running Maven inside the image build, which resolvedspring-ai:2.0.0-SNAPSHOT: a line that has since been abandoned, whose surviving builds all predate the 2.0.0 GA by a day and whose older builds have been pruned, so the fixture was pinned to nothing released and could no longer be rebuilt from the same bytes. Both modules are built by the existing e2e reactor and published toghcr.io/apache/skywalkingalongside the other e2e service images;e2e-spring-ai-serviceneeds Java 17 and Spring Boot 4, so it is gated behind a newjdk-17profile in the e2e reactor and the jobs that build it now pin JDK 17 explicitly;make -C test dockerrefuses up front on an older JDK rather than packaging a missing or stale jar, sincecleannever reaches a module the profile excluded and compose would turn the absent jar into a directory. - Add the Envoy project's NOTICE to
NOTICEand to the binary distribution's NOTICE, for the Envoy proto files SkyWalking bundles inreceiver-proto. - The BanyanDB CA rotation e2e rotates the way an operator does: once the topology shows the consumer's calls to the provider, the OAP trusts the old and the new CA, BanyanDB reloads a certificate the new CA signed, and the OAP then trusts the new CA only, before the storage assertions run. Each step writes its file once, and the OAP's trust file is renamed into place, so the file monitor never reads it half-written. The rotation to an unrelated CA, which proves a rebuilt channel uses the trust file, moves to the end. It used to run first, and when the writes it fails included a network address alias's first write, the alias stayed out of storage until its next refresh five minutes later, so the topology assertions timed out.
- The BanyanDB credentials rotation e2e waits for the topology to show the consumer's calls to the provider before it rotates, as the CA rotation e2e does. The incomplete credentials it applies fail the writes in that window, and when they included a network address alias's first write, the alias stayed out of storage until its next refresh five minutes later, so the topology assertions timed out.
- The BanyanDB credentials and CA rotation e2e cases now also prove that writes go through after the rotation. Their topology assertions use the default range, the last 30 minutes, which rows written before the rotation satisfy too, so they only showed that queries work on the rotated credentials or channel. Each case now keeps the time its last rotation took effect and asserts the provider topology drawn only from the minutes after it.
- Clear the Dependabot CVE alerts in the e2e test fixtures, which no OAP artifact ships. The Go fixtures (
cases/go/serviceandcases/profiling/ebpf/network) move togoogle.golang.org/grpc1.79.3→1.83.2,golang.org/x/crypto0.51.0→0.55.0andgithub.com/klauspost/compress1.15.9→1.18.7, and the Java test services to guava32.0.0-jre→33.7.2-jreand log4j2.25.4→2.25.5.
OAP Server
- Add customizable LLM-as-judge support for AI evaluation, with OpenAI-compatible endpoint / model / API key configuration, and persist the evaluation result as queryable
GenAIEvaluationRecordrows for later inspection. - Support hot-reloading the BanyanDB credentials from a new
secretsManagementFilesetting inbydb.yml(SW_STORAGE_BANYANDB_SECRETS_MANAGEMENT_FILE), matching the ElasticSearch storage plugin. The properties file carryinguser/passwordis watched, so a rotation performed by a 3rd party tool such as Vault is applied without restarting the OAP. The credentials are read per RPC by the gRPC auth interceptor, so they are swapped without re-establishing the channel and without interrupting in-flight queries or writes. Whatever the file contains is applied, including an incomplete pair, so that a mistake in it fails visibly rather than being masked by credentials that silently keep working; a username and a password are only ever sent together, so an incomplete file means requests carry no credentials and are answered withUNAUTHENTICATEDrather than authenticating as the named user. - Support hot-reloading the BanyanDB TLS trust CA. The file at
sslTrustCAPathis now watched, and a change rebuilds the gRPC channel so the new CA takes effect without restarting the OAP. Previously the CA was only re-read after the certificate in use had already caused requests to fail, which meant a rotation was paid for with an outage. The replacement channel is created before the old one is released, so a failed rebuild leaves the current channel serving; requests already in flight finish on the old channel. The replacement is not health-checked before the swap — a gRPC channel connects lazily — so rotating to a CA that does not validate the server interrupts traffic until valid material is written back; the storage doc describes the old+new overlap procedure that avoids this. Note the replacement re-picks an address fromtargets, so the OAP may connect to a different node after a rotation. - Fix
MultipleFilesChangeMonitorbeing able to silently disable every file watch in the OAP. Its registry of monitors was a plainArrayListthatscanChanges()iterated from the scheduler thread without holding the lock thatstart()/stop()take, so starting a monitor while a scan was in flight could raise aConcurrentModificationExceptionfrom the iterator. That exception escapes past the per-monitor catch, and an uncaught exception cancels ascheduleAtFixedRatetask permanently — after which no secrets file, keystore, or TLS certificate is ever reloaded again, with nothing in the log to say so. The registry is now copy-on-write. The failure log in the same scan loop also now names the monitor that failed instead of printing an emptygourp =. - Fix
MultipleFilesChangeMonitornever honouring its watching period.lastCheckTimestampwas declared and compared against, but never assigned, so the guard always measured against0and passed — every registered monitor re-stat'd its watched files on each 200ms tick of the shared scheduler thread, and thewatchingPeriodInSecconstructor argument had no effect at all. This affects every file watch in the OAP: the ElasticSearch storage secrets / truststore / keystore watch, the BanyanDB credentials and trust CA watches, and the TLS certificate watches behind each OAP HTTP and gRPC server, all of which ask for 10 seconds. Change detection is now paced as configured, which also means it is no longer near-instant: a rotated file is picked up within the requested period rather than within ~200ms. - Add BanyanDB trace tail sampling metrics to the BanyanDB self-observability layer, in a new
otel-rules/banyandb/banyandb-trace-sampling.yamlrule file. It covers the wholebanyandb_trace_pipeline_*/banyandb_trace_tst_pipeline_*catalog a sampler plugin chain emits — pipeline reconciliation, per-pluginDecideexecution rate and latency, chain batching, the trace-level evaluated / retained / dropped / immature outcomes, every fail-open guard and bounded-retention counter, drop-set capacity and finalization state, the plugin telemetry-host safety bounds, and the first-partysw-trace-sampler/zipkin-trace-samplerdecision and row metrics. The plugin chain is optional, and the metrics follow it: on a cluster with no sampler configured the wire families are never registered, so every metric here stays absent rather than reading zero. Modeled at Service scope withgroupkept as a metric label rather than at Endpoint scope, so one cluster-wide page can render per-group series and cluster totals alike — OAP does no cross-scope rollup, so an Endpoint-scope metric could not have been aggregated back up to the cluster. - Fix a second
CounterWindowkey collision in the v2 MAL engine, this time ACROSS rules.rate()/increase()/irate()resolve their lower bound from a process-wide window keyed on the counter's own name plus its post-.sum(...)label set, with nothing identifying the rule doing the evaluation. Two rules that read one wire family, tell their streams apart withtagEqual(...), and then.sum(...)away the label they filtered on therefore collapse onto one window slot and difference against each other's values. The queue is ordered by (timestamp, value), so the smaller counter wins the lower-bound lookup and still reads correctly while its partner is inflated by the gap between them — which is why this went unnoticed. A collision needs the discriminating label to be DROPPED by the.sum(...): where it survives, the rules' label values differ and the window keeps them apart. Auditing the shipped rules on that basis gives 10 colliding keys over ~25 rules —meter_activemq_cluster_gc_parallel_young_collection_countreported ~9000/min of young-gen collections from a completely idle broker (differencing against the old-gen counter); MySQLcommands_*/tpsrate against each other; so do the GenAI gateway input/output token rates, four Envoycluster_*counters, APISIX matched/unmatched instance bandwidth, and BanyanDB's ownnetwork_recv/network_sent, which drop thekindlabel that separates bytes-received from bytes-sent on one interface. Measured against two live scrapes of the demo cluster's FODC proxy, that last pair was wrong on every interface:network_sentread a flat 0 B/s andnetwork_recvread large negative values (down to -778 MB/s) from differencing against the sent counter, where both now match the byte delta exactly. No rule changes were needed for any of these -- each rule already reduces to the labels it should; only the window key was wrong. The window is now keyed by (owning rule, counter name, labels). This is the complement of the within-rule collision fixed earlier by keying on the counter's own name: neither name alone is sufficient, because the two collisions are independent.RunningContext.metricName— written on every rule evaluation and read by nobody since that earlier fix — is what supplies the rule identity, so no code generation or MAL syntax changes. Note the whole-rule-set comparison suite could not have caught this: it resets the shared window before every rule, the one condition under which the collision cannot appear. - Fix
meter_rabbitmq_node_outgoing_messages_totaldouble-counting one of its terms. The rule summed six delivery-rate terms butrabbitmq_global_messages_delivered_get_auto_ack_totalappeared twice, so auto-ackbasic.getdeliveries were counted once more than the other four delivery paths and the reported outgoing rate ran high whenever polling consumers were in use. The duplicate term is removed, leaving the five distinct families (redelivered, consume auto/manual ack, get auto/manual ack). - Add AI agent conversations landed by the AI Sessionizer: the
AI_AGENTlayer, the bundledlal/ai-agent.yamlrule with theConversationFileoutput builder that verifies and stores Session Data and Session Flow files, theai_agent_session_dataandai_agent_session_flowmodels in a new BanyanDB grouprecordsAIAgent, theai-agent-conversationmodule that folds a conversation into oneasz.viewdocument, thelistConversationsGraphQL query (with optionalconversationandtitleconditions), and two streamed HTTP routes beside/graphql:GET /ai-agent/conversations/{conversation}/v1/view, which serves the document, andGET /ai-agent/conversations/{conversation}/v1/files, which serves up to 32 Session Data files of a session, each chosen by its landed seq, asapplication/vnd.skywalking.asz.files+ndjson, a line naming each file followed by the file's bytes, so a page loads the files a step points at only when a reader opens it; there is no read of every file. Both routes require the service and the sender's instance, as a list row names them, so every read is a full series lookup. The view and the files route leave BanyanDB's stage selection unspecified by default and select only the cold stage when the caller explicitly setscoldStageto true. A round from before the list attributes existed lands and lists with zero counts, and the view shows as much as landed: the chain resumes after a missing, unreadable or refused round, and the absent rounds and files are named once as ranges. A file overmaxFileBytes, 15 MiB by default, is rejected at ingest and counted under the reasonsize, because one file over BanyanDB's 16 MiB gRPC message limit fails the bulk write it travels in and every record behind it; on MySQL the body column isLONGTEXT, since a body that size outgrowsMEDIUMTEXTas Base64. A conversation's rounds and files are readreadWindowat a time, 16 by default, and each of those reads is capped atmaxResponseBytes, 100 MiB by default, as a per-call option on the BanyanDB client in place of its 50 MB default, so the module's reads are bounded by its own settings and nothing else's read changes. The document also carries the session's workspace changes: the Sessionizer's Claude Code plugin lands a Session Data file of kindchangesbeside a stream's transcript,streams/<stream>/changes-<stamp>-<seq>.sd, with one change record per observed tool call, stored like any other file, and the runtime's own patch for its editing tools travels as the second data part of the call's result record;workspace_changeslists every record joined to its step by tool-use id with the record's fields aschanges/1lists them,summary.changescounts them, and a tool step names its records underchanges. The document also names the session's provider bodies: the request and response bodies a runtime exchanged with its model provider land as Session Data files of kindprovider_body,<session>/provider_body/provider_body-<stamp>-<seq>.sd, stored like any other file; anllm.callstep lists where its request and response landed underprovider_bodies, as the round carries the join the Sessionizer made when it parsed the round, andsummary.provider_bodiesandsummary.captured_promptscount them. A round's header counts,changes,lines_added,lines_removed,llm_calls,subagentsandbash_runs, land onai_agent_session_flowand reach the conversation list asConversationRowfields, absent rather than zero when the round did not carry them. The layer also takes the agent runtime's metrics, in theotel-rules/ai-agent/rule set enabled by default:agent.token.usage, which the Sessionizer derives from the landed transcripts, per service and per sender, by type, model and query source withsession.idsummed away, plus the cost, active time, sessions, lines of code, commits, pull requests and edit decisions that Claude Code's own exporter sends when it is pointed at the OAP directly; its own token metric is not read, so a call is never counted twice. - Support querying Zipkin traces from the BanyanDB cold stage through the Zipkin HTTP query API.
/api/v2/tracestakes an optionalcoldStageparameter, and/api/v2/trace/{traceId}and/api/v2/traceManytake optionalcoldStage,endTsandlookbackparameters; the two by-id lookups had no time range at all before. All of them are SkyWalking additions to the Zipkin API and default to the previous behavior, so existing Zipkin clients such as the Lens UI keep working unchanged, and storages other than BanyanDB ignorecoldStage. The admin debugging endpoints/debugging/query/zipkin/api/v2/tracesand/debugging/query/zipkin/api/v2/traceaccept the same parameters. The BanyanDB stages e2e now seeds Zipkin traces into the generated cold data and verifies the three endpoints against it. - BanyanDB: a query without a time range now covers everything the group's hot/warm stages retain instead of only the last 24 hours. The hard-coded day was a fallback added with the trace model, which requires a time range; it made
queryTrace(traceId)without aduration, the Zipkin/api/v2/trace/{traceId}and/api/v2/traceManylookups, and the TraceQL by-id lookup return "not found" for any trace older than a day even though it was still retained. The unbounded range is now bound instead, and BanyanDB's own retention limits the scan.queryTracesnow rejects a condition with neitherqueryDurationnortraceIdinstead of silently searching the last day; atraceIdlookup withoutqueryDurationsearches everything the hot/warm stages retain and reports a 0-to-nowretrievedTimeRange. - Fix the JDBC storages, MySQL, PostgreSQL and H2, reading only the first day's table of a time range shorter than a day that crosses midnight.
TableHelperwalked the range in 24-hour steps from its first instant, so a range that began late on one day and ended early on the next never reached the second day; every time-ranged read, metrics, traces, logs, alarms, records and the AI agent conversation list, was missing the newer day's rows for the length of the range after each midnight, the last thirty minutes read at 00:10 among them. The range is now walked by calendar day from the start of its first day. - Fix a minute of metrics on BanyanDB losing the points of an earlier persistence round.
PersistenceTimercounted the delay to the next round from the moment a round's writes were queued, not answered: the per-worker future completed whenbatchDAO.flushreturned, the flush's own future was used only to close a latency histogram, andendOfFlushran after that. A metric enters the persistence session cache only when the storage acknowledges its write, and the BanyanDB bulk processor holds a queued write for up toflushInterval(15s) before sending it, so under the 25spersistentPeriodan acknowledgement that lagged ten seconds, as it can on a BanyanDB still busy with the boot's schema installs, let the next round find the metric absent from the cache, take the minute for a new one and write it again with only its own points; a measure write replaces the series at that time, so the earlier points were gone. A round now completes when every request of it has been answered and the next round's delay counts from there, andendOfFlush, which already forced the Elasticsearch bulk out, now forces the BanyanDB measure bulk out too, so the wait is one round trip and not the bulk's interval. Observed as the first minute of a burst of OTLP metrics vanishing right after an OAP boot. - Fix BanyanDB bulk writes leaving skipped requests' futures pending when a write fails to build. Complete every unfinished request in the aborted batch exceptionally, so persistence rounds and runtime-rule removal can finish with an error instead of waiting indefinitely.
- Apply the configured max request header size to HTTP/2 as well.
httpMaxRequestHeaderSize(and the AWS Firehose receiver'smaxRequestHeaderSize) only set Armeria'shttp1MaxHeaderSize, so an HTTP/2 client kept the framework default header list size and the setting had no effect on the protocol the OTLP and gRPC-Web clients actually use. The value is now also applied ashttp2MaxHeaderListSize;0, which means unlimited on the HTTP/1 side, leaves the HTTP/2 default in place because Armeria rejects a non-positive header list size. - Add a
noneprovider to theai-agent-conversationmodule, so the AI agent conversation feature can be turned off. The GraphQL query module requires the module, so the-selector cannot remove it;SW_AI_AGENT_CONVERSATION=nonekeeps theai_agent_session_dataandai_agent_session_flowmodels out of the storage, answers every conversation query empty and registers no view route. - Fix the OpenTelemetry receiver folding a request that carries several minutes of points into one. A MAL rule folds every sample of an entity into one value at the first sample's time, so a delta exporter that batches, or a sender replaying history, landed as one minute. A request is now analysed a minute at a time, oldest first; a request whose points share one minute, a scrape relayed by a collector, is analysed exactly as before.
- Fix the runtime-rule sync tearing down every bundled MAL and LAL rule file on its first pass after each boot:
StaticRuleLoaderseeds a bundled rule with a RUNNING state, but the gone-keys pass recognised a boot-seeded entry only by a null state, so every shipped rule file without an operator row was torn down and reloaded from the bundle one after another. A MAL teardown waits a persistence round for the metric drain, and for that round the OpenTelemetry receiver held no converter for the file and dropped its samples without a log line, so every restart lost up to a round of metrics from each rule set within its first minute or two. A rule that runs its bundled file as shipped is now left alone; only an operator override whose row is gone falls over to the bundle. - Open every port that takes requests only after the boot is complete. A new
ModuleProvider.notifyBootCompletedhook runs once every module'snotifyAfterCompletedhas returned, and the core's gRPC and HTTP servers, the sharing server, the Zipkin, AWS Firehose, eBPF, Envoy metrics and Zabbix receivers, the admin server and the PromQL, LogQL, TraceQL and Zipkin query servers bind there. Before, the core opened 11800 and 12800 in its ownnotifyAfterCompleted, ahead of the modules started after it, so a request could arrive while the runtime-rule boot pass or any later boot-time work was still running; the readiness probes, which check the port, now mean what they say. - Fix the Elasticsearch storage filtering events by a layer name against the numeric
layercolumn, which made every event query carrying a layer condition fail withnumber_format_exceptionwhile the query was built, before any document was read. It is what Horizon UI's per-service events popout sends, so that popout failed for every service; on an empty index as well. The condition value is now resolved to its layer value, as the JDBC and BanyanDB storages already do. - Store OTLP traces natively.
receiver-otelgainsotlpTraceStorage: otlp, which keeps each span as theResourceSpansit arrived in (otlp_span, BanyanDB groupotlpTrace) with service, span-name and peer catalogs, and the TraceQL module gains an/otlpdatasource (enableDatasourceOTLP) that serves those spans to Grafana Tempo without any Zipkin conversion.otlpis the new default;otlpTraceStorage: zipkinkeeps the previous conversion to Zipkin v2 through receiver-zipkin, and that path is unchanged. - Bring the TraceQL module closer to the Tempo API. Every datasource lists only the spans that matched a search in each span set, capped at
spss, fillsserviceStats, filtersspan.http.status_code, honoursscopeand the per-scopelimiton the tag endpoints, whoseintrinsicscope lists what each datasource can filter, accepts Tempo's unscoped.keytag names on the tag-value endpoints, and answers a tag-name or tag-value lookup filtered byqfrom a sample of the newest 50 matching traces, so Grafana's dependent dropdowns narrow down; thestatusandkinddropdowns always list their full enum. The/otlpdatasource also accepts Tempo'sspan:name,span:kind,span:statusandspan:durationspellings./api/metrics/query_rangeand/api/metrics/queryanswer501 Not Implementedwith an error body and accept Tempo'sqparameter, instead of200with a string Grafana cannot parse. - Refuse unsupported TraceQL with
400instead of dropping the predicate and answering with unfiltered traces: syntax errors (||inside a spanset, regex, an attribute without a scope or leading dot),!=and other unsupported operators, negation, attribute-existence checks, multiple spansets, unknown intrinsics and values, and conditions a datasource cannot filter (kindon Zipkin and SkyWalking,resource.instanceon Zipkin,resource.remote.serviceandstatus = unseton SkyWalking,resource.instanceornamewithout a service on SkyWalking). The deprecatedtagssearch parameter is parsed as logfmt on every datasource and goes through the same mapping and refusals.kind = serverandstatus = erroraccept the bare keyword as Tempo does. Every search-result span carries astatusattribute (error,ok,unset) next toservice.nameandspan.kind, so a trace list can show failures. A trace the storage matched but none of whose spans satisfies every condition is left out instead of listed with every span, and the/otlpdatasource compares names the way the receiver indexed them and keeps theresource.andspan.scopes apart in its tag index, sospan.envno longer matches a resource attribute.duration >and<are strict at microsecond precision. (#14093) - Support the OpenTelemetry Collector
hostmetricsreceiver as an alternative source for Linux and Windows host monitoring.vm.yamlandwindows.yamlmap it to the samemeter_vm_*/meter_win_*metrics as node-exporter and windows_exporter, whose metrics keep their meaning, and add metrics only hostmetrics provides: CPU core count and normalized CPU usage, plus CPU load, file-system usage, system handle count and pagefile usage on Windows. node-exporter metrics without a matching hostmetrics source (tcp_alloc,sockets_used,udp_inuse,filefd_allocated) stay node-exporter only. The newprocess-hostmetrics-linuxandprocess-hostmetrics-windowsrules, enabled by default, report each process name as an instance of its host (mp_process_linux_*/mp_process_windows_*: process count, threads, CPU, resident memory, open handles and oldest process uptime). Reference Collector configurations for both systems are underdocs/en/setup/backend/; they set thejob_nameand normalizedprocess_namelabels the rules route and group on, and sum same-named processes before export. - Windows monitoring through windows_exporter now requires windows_exporter
0.29.0or later. windows_exporter0.31.0removed thecscollector and the deprecatedosmemory metrics (windows_cs_physical_memory_bytes,windows_os_physical_memory_free_bytes,windows_os_virtual_memory_bytes,windows_os_virtual_memory_free_bytes) thatwindows.yamlread, so on0.31.0+meter_win_memory_total/_available/_usedand themeter_win_memory_virtual_memory_*commit metrics were empty. The rules now read their replacements from thememorycollector (windows_memory_physical_total_bytes,windows_memory_physical_free_bytes,windows_memory_commit_limit,windows_memory_committed_bytes), all of which windows_exporter provides since0.29.0; on an older windows_exporter these memory metrics stay empty until it is upgraded. Also fixmeter_win_cpu_total_percentagecounting overlapping Windows CPU modes twice: windows_exporter'sprivilegedalready includesinterruptanddpctime, and OpenTelemetry hostmetrics'systemalready includesinterrupttime, so busy CPU is nowuser+privilegedoruser+system. - Fix the OpenTelemetry receiver creating no Linux or Windows host service from an OpenTelemetry Collector
0.127.0or later. The Collector's Prometheus receiver sends a scraped target's host only asserver.addressfrom that release, no longer asnet.host.name, andvm.yamlandwindows.yamlname a host bynode_identifier_host_name, which the receiver took only fromnet.host.nameorhost.name. It now falls back toserver.addresswhen neither is present. - AI agent conversations adopt AI Sessionizer
130601c. Calls to MCP servers: theexecutionkind the Sessionizer's Claude Code plugin writes,streams/<stream>/execution-<stamp>-<seq>.sd, is stored like any other file; the document lists everyexecution/1record undertool_executions, joined to its step by tool-use id and kept once by its own id, a tool step names its records underexecutions, and a call to an MCP server carriesmcp_serverandmcp_toolin itsattrs. The newotel-rules/ai-agent/mcp_endpoint.yamlgives one endpoint per MCP server and tool,<server>/<tool>, under the agent's service, withmeter_ai_agent_mcp_calls,meter_ai_agent_mcp_calls_by_outcomeandmeter_ai_agent_mcp_durationfrom the Sessionizer'sagent.mcp.callsandagent.mcp.duration. The token rules readagent.token.usage, the Sessionizer's name for the metric. The document follows the Sessionizer's: anllm.calltakes its provider bodies from the round'sprovider_bodiesattribute and the session its count fromprovider_bodies_landed, and a round whose bodies do not read or point past its range is refused; talks are in the order they began across streams; only achildstream's talk is a child's, not anauxiliaryone's; a stream'sopened_by, the relations and a step's edges are in the order they happened, by record position inside one stream or workflow run and by time across them, never by id; change and execution records of one instant are in the order they were read; a record is read by the fields its format lists, and one of another shape is skipped; a round with a frame field of another type, or a negative sequence, row or round number, does not read; a record time is RFC 3339 as Session Data defines it, to the second, and anything else is no time; record times compare as instants. - Fix the Elasticsearch
BulkProcessortreating a bulk write as fully successful whenever the overall HTTP status was 200, even when Elasticsearch rejected individual items in the same response, for example a 429cluster_block_exceptionwhen an index is switched toread_only_allow_deleteby the flood-stage disk watermark. The response body'serrorsflag and per-itemstatus/errorare now decoded and checked on every 200 response; a rejected request's future now completes exceptionally instead of being treated as a success, while the rest of the batch still completes normally. One ERROR line per_bulkrequest summarizes the rejections grouped by status code and error type, never a document id or the raw ES error reason. A response whoseitemsarray is shorter than the request (a malformed or truncated response) also fails those requests instead of silently treating them as succeeded. This also fixes a related batching bug where, once a flush was split into multiple_bulkHTTP requests bybatchOfBytes, the completion of one chunk's request completed or failed every request in the whole flush instead of just its own chunk, and a bug where requests whose bulk failed to even build (e.g. an encoding error) were left with a future that never completed, which could block a persistence round forever. - AI agent conversations adopt AI Sessionizer
6691c36, and withhold what the runtime sent the model. The Sessionizer names the records that carry the system prompt and the tool schemas with the flagssystem_promptandtool_schemas; thehidesetting (SW_AI_AGENT_CONVERSATION_HIDE) names what this OAP withholds from every reader; the routes take no parameter for it. Withholding happens as a conversation is served, and only then: the storage holds every file whole, and both routes rewrite what they serve. In the document a step read from a named record keeps its node, flags and size, loses its text and has stateomitted, no such injection names a talk or a stream, a person's input names its talk whatever it carries,summary.withheldcounts the named records once per id, and every count, every call'sprovider_bodiesandcaptured_promptsstay. A file is served with what it holds of the names masked: a named transcript record loses its content, and a request body is rebuilt, what it holds of the names replaced by markers at any depth, by the shapes the Sessionizer's LangChain page lists, and written back as a body of its own with its own digest; the naming line says so withwithheldandserved_digest. A name nothing withholds is refused at startup.summary.withheldis{}when nothing is withheld, and a model call carries the flags of its record a reader may withhold, as the Sessionizer's documents now do. - Fix endpoints registered from logs missing from
findEndpoint(the endpoint list) when it is queried with a time range. The query filters on an endpoint'slast_ping, which endpoints registered from logs, from virtual MQ spans, from cross-thread segment references and from Cilium Hubble never set, so they keptlast_pingat0, and an endpoint also seen in traces was reset to0whenever one of those sources wrote it last. Every endpoint source now setslast_ping, and an update keeps the latestlast_pinginstead of the last one written. (#14121) - Add
alarm.default.httpTimeout(SW_ALARM_HTTP_TIMEOUT, default 12 seconds) inapplication.yml, the deadline of each HTTP request an HTTP-based alarm hook (Webhook, Slack, WeChat, DingTalk, Feishu, WeLink, PagerDuty, Discord) sends, covering connecting, waiting for the response and reading the response body; the gRPC hook is unchanged. The previous fixed 12-second request timeout stopped once the response headers arrived, so a hook endpoint that stalled while sending the body could hold the alarm delivery thread indefinitely. - AI agent conversations adopt AI Sessionizer
aa67971. A segment in the document is an activity window, withid,talks,fromandto: the Sessionizer stopped writing a segment'sstateandcommittable, which could not be decided without a clock, so the document no longer lists them. Its rounds also stopped repeating what they say elsewhere, a talk'sloops,runsandtriggeramong them, and a step'sattrscarry what the round wrote, as before. A provider body's manifest no longer carriesrunorwhy, and the reader still accepts a manifest that does; the unusedManifest.why()andSessionFlowRound.Node.attrBoolare removed. The test fixtures are that commit's output. - AI agent conversations show where a model call's history changed, as the AI Sessionizer draws it (apache/skywalking-ai-sessionizer#77). The Sessionizer compares each call's history with the call before it and writes what it found in the call's
attrs; where the history changed, it adds ahistory.changenode just before the call, under the same parent, at the call's first record. The document lists that node as a step that carries no text of the record it stands on, and orders it among the nodes at one record by the call it names, and before that call, as the Sessionizer orders it. - AI agent conversations follow the AI Sessionizer's id and round rules (apache/skywalking-ai-sessionizer#80). The Sessionizer writes a
%in a part of an id as%25and a/as%2F, so the document finds a session's node by that spelling, and takes the session's time range and provider bodies from it, where it looked for the old one. It lists the session the round headers carry, and the conversation's files are read for that session, instead of a session read back out of a node's id. A round holding an empty line, anywhere but after the newline that ends its last line, is refused, as Session Flow says. - Add the Trace Analysis Language (TAL), a compiled DSL in the new
trace-analyzermodule that turns the spans arriving over OTLP into metrics, topology and records through the meter system, in both OTLP trace storage modes and ahead of the receiver's head sampling. The shippedtal/otlp-general.yamlanalyzes the spans whose resource carriesservice.layer=OTLP_GENERAL, which an application sets throughOTEL_RESOURCE_ATTRIBUTES, while every other span is stored and queryable but not analyzed; it reads the OpenTelemetry semantic conventions, current spellings first and the deprecated ones as fallbacks, and registers those services under the newOTLP_GENERALlayer withotlp_service_*,otlp_service_instance_*,otlp_endpoint_*andotlp_service_relation_*metrics, named and counted as the agent path'score.oalmetrics are, their databases, caches and brokers underOTLP_VIRTUAL_DATABASE,OTLP_VIRTUAL_CACHEandOTLP_VIRTUAL_MQwithotlp_database_access_*,otlp_cache_access_*andotlp_mq_access_*, and per destinationotlp_mq_destination_*, aUsernode for root server spans, and slow statements asDatabaseSlowStatementrecords. Peers that clients name by address rather than by service are folded onto the service: the caller'sprepareNetworkAliasand the callee'sbuildNetworkAliaspair the two halves of one call, the callee being the SERVER span whose parent is the caller's span, across the OAP cluster, to learn a network address alias keyed by the caller and the address it dialed,frontend->cart:7070, so one address can name different services for different callers and a proxy keeps its own node;resolveNetworkAliasreads it, and the service topology query folds an address-named node by the caller's own alias before the plain address; an address listed ingateways.ymlis never aliased, and the shipped rule draws it as aVIRTUAL_GATEWAYnode between the caller and the callee, as the agent path does, through the newisGatewayfunction. A database or broker that a span names by no address is named by itsdb.systemanddb.namespaceor by itsmessaging.system. A SERVER span whose OTLP span flags say its parent ran in the same process is not counted as a request. A root CONSUMER messagingreceive, a poll whose span the Java agent times from the start of the wait, and any CLIENTreceiveare not counted, while a CONSUMERreceivewith a parent, a consumer's only record of the message as the .NET Kafka instrumentation reports it, is counted as the consumer's request. Newtrace-analyzersettingstalFiles,dedupWindow,dedupCapacityandpairingSamplePercent, the share of traces paired, 0 for none; an emptytalFiles, or removing the module withselector: -, stores the OTLP traces without analyzing them;component-libraries.ymlgainsConnect_RPCand the catalog answers lower-case names;MeterEntityrelations may carry a layer per side; the meter system's labeled functions take an optional per-metric limit of label sets per row, which TAL sets to 50 by default and MAL leaves unset. See the TAL concept doc, the trace analyzer setup doc and the OpenTelemetry Trace Analysis Practices doc. - Fix the
maxandminmeter functions keeping the first value of a minute when two values for one entity are merged, at the L1/L2 aggregation and at the hour and day downsampling, andlatestLabeleddropping every label set the merged value does not carry. MAL rules usingmax,minorlatestLabeledreported wrong values whenever samples of one entity arrived in more than one batch. - Fix the OTLP/HTTP JSON trace endpoint reading the hex
traceId,spanIdandparentSpanIdthe OTLP/JSON encoding specifies as base64, the protobuf JSON mapping. The bodies parsed without an error into ids of the wrong length, so a trace exported as JSON matched neither the ids its SDK logged nor the same trace exported over gRPC or OTLP/HTTP protobuf. - Fix the heatmap query failing on a meter histogram whose bucket bounds exceed an int, such as the
9223372036854775807key MAL gives an OTel histogram's+Infbucket: the bucket keys are read as longs. - Cut the slow statements a LAL
SlowSQLoutput writes, as the defaultmysql-slowsql,pgsql-slowsqlandredis-slowsqlrules do, to the 2000 characters of thetop_n_database_statementcolumn, as the agent path already cuts them tomaxSlowSQLLength. A longer statement was refused by a strict SQL store, and stored whole on Elasticsearch and BanyanDB; it is now cut there too. - Fix a UI template update on BanyanDB leaving a disabled template disabled.
PUT /ui-management/templateswrote only the configuration there, while on ElasticSearch and JDBC it replaces the whole record and enables it. An update is the only way to bring a disabled template back on those two stores, where adding refuses an existing id; the BanyanDB update now writes the whole record too, so the same call works on every storage. - Fix the Elasticsearch storage reading metrics from the wrong daily indices when
dayStepandsuperDatasetDayStepdiffer. The top N query, the labeled metrics read without an entity, the entity listing of a metric and the tag autocomplete query located their indices withsuperDatasetDayStep, though metrics are written to indices rolled bydayStep, and Elasticsearch ignores the missing indices, so these queries returned nothing or only part of the range. They now usedayStep. - Read the Kubernetes and Istio metadata used by Envoy ALS
k8s-mesh, the eBPF access log, MALretagByK8sMetaand the MAL process names from the API server in the background, one read at a time in each of two lanes, one for the reads MAL waits for and one for the rest, instead of on the thread analyzing the data. A slow or unreachable API server held one gRPC handler thread, with the batch it was analyzing, per access log stream until it answered, which could exhaust OAP's memory. Envoy ALS and the eBPF access log no longer wait: an IP seen for the first time is analyzed as unknown while it is read, and is found by the later lookups; an eBPF connection resolves its unknown addresses again on its later messages. MAL queues the reads of aretagByK8sMeta's pods first and waits for them up to the newcore.default.malMetadataReadTimeoutin all (2 seconds by default, under the OpenTelemetry Collector's 5-second export timeout). The reads waiting at once are of distinct keys, and the newcore.default.k8sMetadataReadQueueSize(als=<size>,mal=<size>, no limit by default) can limit them per lane, with the refused reads summarized at WARN. Lookup reads are sent without the Kubernetes client's retries, so a failing read holds the reads queued behind it for one attempt instead of up to ten retries with backoff, and the HTTP and TCP access log analyzers share their lookups. The API calls are the same as before, and are made only for what the lookups use: data is read again when usedcore.default.k8sMetadataRefreshPeriod(3 minutes) after it was written and droppedcore.default.k8sMetadataCacheTimeafter its last write (als=21,mal=21minutes by default, per cache); finding nothing is read again when usedcore.default.k8sMetadataNotFoundRetryPeriod(1 minute) later, and the endpoints or services read are read again for a pod not in them once that old, as the pod may be new; a failed read, such as for a 403 or the API server not answering, is retried when used the refresh period later, and keeps the data read before. Failed reads are logged as one ERROR summary a minute after the first failure and then every five minutes instead of a line per failure, and a resource the API server does not serve, such as ServiceEntries without Istio, is not logged. ServiceEntry hostname resolution failures are summarized at WARN, and a failing resolution retries with a growing backoff instead of immediately once three attempts failed. ServiceEntries are read through the shared Kubernetes client instead of a new client per read. - Fix the Elasticsearch Zipkin trace search listing the daily indices of every day since 1970 when the query starts at or before the epoch, as a
lookbackequal toendTsmakes it. With the default day step of 1 that is over 20,000 index names, which can exceed the request line Elasticsearch accepts. The search now uses the wholezipkin_spanindex family in that case, as its time filter already did. Queries with a usuallookbackare not affected. - Fix Elasticsearch reads of a metric a peer OAP reinstalls without a schema change, such as a bundled MAL rule restored after the runtime rule overriding it is deleted. The peer kept the index it had registered for the runtime rule. This only matters with
logicShardingenabled and when the two rules use different functions, since the function decides the index there; with the default merged indices every metric stays inmetrics-all. - Build the dated Elasticsearch index names in one place,
IndexNames, with the day step decided once per physical table from its models, replacingTimeSeriesUtilsandTimeRangeIndexNameGenerator. Apart from the fixes above, index names are unchanged. - Fix a service instance dropping out of the instance list queried with a time range when a record carrying an older minute updates it, such as the segment of a request that started minutes earlier arriving after the instance's heartbeat.
InstanceTraffictook thelast_pingof the last record written instead of keeping the latest one, asEndpointTrafficnow does. - Fix eBPF access-log timestamps losing all sub-second precision.
NodeInfo.parseTimestamptruncated the nanosecond-since-boot offset to whole seconds and also droppedbootTime.nanosbefore converting to millis, so short mesh HTTP latency (end - start) was quantized to 0 or 1000ms depending on whether the request crossed a whole-second boundary, and minute buckets could land in the wrong minute near minute boundaries. The conversion is nowInstant.ofEpochSecond(bootSeconds, bootNanos).plusNanos(offset).toEpochMilli(), the same Instant-plus-nanos style Envoy ALS uses for wall time. - Fix the Envoy ALS sidecar internal request and response latencies dropping whole seconds: only the
nanospart of each protobufDurationwas read. The internal response latency is now left out of the internal latency metrics when the access log lacks the upstream or downstream timing it is computed from, such as when Envoy answers an upstream timeout with its own 504, instead of counting the whole wait or going negative. - Sync the Envoy access log proto,
envoy/data/accesslog/v3/accesslog.proto, with Envoy v1.40.0, adding theenvoy/annotations/deprecation.protoit imports. With it, the Envoy ALS sidecar internal latencies leave out what the access log cannot measure instead of counting it: the internal request latency of an HTTP request Envoy retried or hedged, or of a TCP connection that took more than one connect attempt (upstream_request_attempt_countabove 1), as Envoy measures the upstream timings from the start of the downstream request or connection, so the time to the first upstream byte can include the earlier attempts and the delays between them; and the internal response latency when the response details are set to anything butvia_upstream, as for Envoy's own 504 of a timeout during a retry backoff, which can carry an earlier attempt's upstream timing, and, conservatively, for an upstream response that a later reset or timeout ended. The adapters report such a latency as-1, and the*_sidecar_internal_req_latency_nanosand*_sidecar_internal_resp_latency_nanosmetrics inmesh.oalfilter it out withfilter(... >= 0). A customizedmesh.oalneeds the same filters, or the-1values are averaged in. - Fix OAL
>,>=,<and<=filters on alongordoublesource field, and==on alongone, failing to compile when they compare it with a number, such asfilter(sideCar.internalRequestLatencyNanos >= 0). The generated code passed the number as anint, and the comparison matchers have nomatch(long, int)ormatch(double, int)overload, as Javassist does not widen an argument. The number is now written in the field's type,0Lor0.0; filters onintfields, which already worked, generate the same code. - Add
ZIPKINto the GenAI evaluation record'straceRef.type, for spans received byreceiver-zipkinand OTLP spans converted withotlpTraceStorage: zipkin, so the type names the store holding the judged span:SKYWALKING_NATIVE,OTLPfor OTLP spans stored natively, orZIPKIN. Zipkin and OTLP spans are both addressed by span ID, and one OAP can hold both, so anOTLPreference alone could not tell a client which store to read the trace from. The type is decided when the span is received, so records written under differentotlpTraceStoragesettings each name their own store. - Fix the Zabbix receiver dropping the sub-second part of agent sample times. Each
agent dataitem carriesclock(Unix seconds) andns(nanoseconds within that second), but the sample time used onlyclock * 1000; it is nowclock * 1000 + ns / 1_000_000. The sub-second precision can affect values produced by custom Zabbix rules using MALrate,irateorincrease; results from the bundled Zabbix rules and the assignment of samples to minute buckets are unchanged. - Fix expired records never being dropped on receipt.
RecordStreamProcessordecoded a record's second-precision time bucket as a minute bucket, which put the record's time far in the future, so no record was ever treated as expired. It also compared the record's age againstrecordDataTTLconverted to microseconds instead of milliseconds. - Fix Kong and APISIX latency percentiles being about 1000 times too high. Kong's
kong_kong_latency_ms,kong_request_latency_msandkong_upstream_latency_ms, and APISIX'sapisix_http_latency, are already millisecond histograms, but the rules called.histogram()with no unit, which treats eachlebucket as seconds and multiplies it by 1000 beforehistogram_percentilestores that scaled bucket as the percentile. A 100ms request was shown as 100 seconds. The Kong service, instance and endpoint rules and the APISIX rules now callhistogram("le", TimeUnit.MILLISECONDS). - Fix the service topology drawing a service as a different one when its name equals a network address alias. The topology query renamed any call's destination whose name was an alias address, a real service included, so an OTLP service
frontendwas drawn asagent::frontendonce an agent had registered the hostfrontendforagent::frontend. It now folds only a destination that is not a registered service, such as an address an agent or a TAL rule could not resolve yet, so those calls still fold onto the callee once its alias lands, and a self-call whose alias names another service, which a caller dialing its downstream by its own service name records until the downstream's alias lands. - Add
receiver-otel.otlpServiceGroupKeys(SW_OTEL_RECEIVER_OTLP_SERVICE_GROUP) to group OTLP services in thegroup::nameconvention: the first of the listed resource attributes a resource carries, such asservice.namespaceork8s.namespace.name, groupscartasshop::cartin the trace analysis, the stored spans and the OTLP logs, while the resource attributes stay as sent. The trace analyzer's alias is keyed by the caller, socart:7070dialed byshop::frontendreachesshop::cartand dialed byoutlet::frontendreachesoutlet::cart, even with one application deployed in both groups. TraceQL search lists the grouped service as each span'sservice.nameand a trace fetched by id carries it as its resource'sservice.name, and the OTLP span listeners (SpanListener.onOTLPSpan/onNativeOTLPSpan, which gain aserviceNameparameter) name it too. This changes theSpanListenerSPI: an implementation that overrides the old four-argumentonOTLPSpan/onNativeOTLPSpanmust move to the new signature, or it is no longer called. Empty, the default, groups nothing. - Fix pprof task log records using seconds for a duration that is in minutes.
PprofServiceHandler.recordPprofTaskLogusedTimeUnit.SECONDS.toMillis(task.getDuration())for the record timestamp and time bucket, while the GraphQL API,PprofTaskCommandand overlap checks treat duration as minutes. The log now usesTimeUnit.MINUTES, the same as profile task logs, so the record TTL stays aligned with the task. - Fix Kafka broker
request_queue_time_ms,remote_time_ms,response_queue_time_msandresponse_send_time_msreporting observation rate instead of latency. Those rules used histogram*_count.rate, so under load the chart showed requests per second while the metric names and Kafka's*TimeMshistograms are millisecond latency. The Prometheus JMX exporterkafka-2_0_0.ymldoes not expose*_sumfor these histograms, so the rules now use the exportedquantile="0.50"gauge. - Fix Kafka broker throughput and topic metrics.
meter_kafka_broker_topic_bytesin_per_secondreadkafka_server_brokertopicmetrics_bytesout_total, so per-topic inbound traffic matched outbound; it now readsbytesin_total. The Prometheus JMX exporter exports Kafka'sBrokerTopicMetricsmessage, byte and request meters per topic and again as the all-topics total without atopiclabel, someter_kafka_broker_messages_per_second,meter_kafka_broker_bytes_in_per_secondandmeter_kafka_broker_bytes_out_per_secondsummed both and reported twice the real rate, and everymeter_kafka_broker_topic_*metric carried an extratopic=""series holding the broker total, which the Topic Rates chart drew as an extra line. Broker rules now read only the all-topics total and topic rules only the per-topic series.meter_kafka_broker_network_processor_avg_idle_percentappliedrateto Kafka's idle-ratio gauge, so it reported how fast the idle percentage changed; it now reports the idle percentage. Values stored before the upgrade keep the old numbers, so these charts step at the upgrade. - Fix RabbitMQ node singleblock allocator meters reading multiblock carriers.
meter_rabbitmq_node_allocated_singleblock_used/_unusedcopiedkind=mbcs, so the Singleblock charts matched Multiblock; they now usekind=sbcs, and_unusedsubtracts the used blocks size from the carriers size, as RabbitMQ's Erlang memory allocators dashboard does, instead of reporting the whole carriers size. Values stored before the upgrade keep the old numbers, so these charts step at the upgrade. - Fix PostgreSQL temporary-files rate reading temp bytes.
meter_pg_temporary_files_rate/meter_pg_instance_temporary_files_rateusedpg_stat_database_temp_bytes, so the Temporary Files / s charts showed byte throughput; they now usepg_stat_database_temp_files, and no chart shows the temporary-file byte throughput. Values stored before the upgrade keep the old numbers, so these charts step at the upgrade. - Fix Zabbix agent filesystem usage percentage reading inode usage.
meter_vm_filesystem_percentageusedvfs.fs.inodepused, so the File System Mountpoint Usage chart showed inode occupancy; it now uses the agent'svfs.fs.size[/,pused], the space usagedfand the Telegraf VM rule report, which leaves the space reserved for root out (the OTEL VM rule counts that space as used, so it reads higher on the same disk). Addvfs.fs.size[/,pused]to the required item keys, and drop unusedvfs.fs.inode[/,pused]and the duplicatevm.memory.size[pavailable]. Values stored before the upgrade keep the old numbers, so this chart steps at the upgrade. - AI agent conversations read a tool call as its arguments, as the AI Sessionizer does (apache/skywalking-ai-sessionizer#94). A step on one part of a record reads that part alone. A tool call that shares a record with the agent's text read as that text, and now reads as its arguments. A queued command reads as the prompt inside its own part, never as text another part of the record holds.
- Add the
OTLP_MESHlayer for the spans of service mesh sidecars that report over OTLP, such as Istio's Envoy. No shipped TAL rule analyzes it, so the sidecars' spans are stored and searchable ({resource.service.layer="OTLP_MESH"}in TraceQL) but not analyzed. - The OTLP service catalog keeps each service's
service.layer,UNDEFINEDwhen absent or unregistered, in theotlp_service_layercolumn, and the stored span carries the same value. A TraceQLqonresource.service.layeralone lists the services from the catalog. - Write a network address alias only when its mapping changes, or once per five minutes to keep it in the alias cache's ten-minute reload window; a changed mapping is written at the next flush. The alias's
last_update_time_bucketis the minute OAP received it rather than the span's time, so an agent's clock skew or a late segment cannot leave a changed alias outside the cache reload.NetworkAddressAlias#combineused to rewrite every alias at every persistence period, about 140 writes an hour for a stable alias, now about twelve. - Fix RabbitMQ node multiblock and multiblock-pool unused meters reporting whole carriers size.
meter_rabbitmq_node_allocated_multiblock_unused/_multiblock_pool_unusednow subtract the used blocks size from the carriers size, matching the singleblock unused formula and RabbitMQ's Erlang memory allocators dashboard. Values stored before the upgrade keep the old numbers, so these charts step at the upgrade. - Fix RabbitMQ node publisher count using channels minus channel consumers.
meter_rabbitmq_node_publisher_totalcomputedrabbitmq_channels - rabbitmq_channel_consumers, which counts channels without a consumer rather than publishers: abasic.getpolling channel counted as a publisher, a channel that both publishes and consumes did not, and a channel with several consumers drove the value below zero, stored as 0. It now readsrabbitmq_global_publishers, which RabbitMQ counts correctly from 3.10.11 and 3.11.3. Values stored before the upgrade keep the old numbers, so this chart steps at the upgrade. - Fix MySQL connection-errors-for-max-connections reading a mistyped exporter label.
meter_mysql_connection_errors_max_connections/meter_mysql_instance_connection_errors_max_connectionsfilterederror=max_connection, while mysqld_exporter exposesConnection_errors_max_connectionsaserror=max_connections, so live scrapes never matched and the chart stayed empty; the filter now usesmax_connections. - Add server clusters,
server-clusters.ymland its dynamic configuration itemcore.default.serverClusters, to show a message broker, a database or a cache that clients reach at more than one address as one service. An address listed under a cluster'smembersoraliases, or a list of addresses, such as a Kafka client's bootstrap servers, whose every element is listed under one cluster in any order, is renamed to the cluster by the native trace analysis where no network alias maps the address, and by the OpenTelemetry trace analysis through the new TAL functionfindServerClusterName, which the shippedtal/otlp-general.yamlcalls for brokers, databases and caches. A cluster may declare theschemeits clients write before an address, as written, such aspulsar://, andkinds, names of the user's choosing that a custom TAL rule may pass asfindServerClusterName(address, kind)to match only the clusters of that kind; the native trace analysis and the shipped TAL rules do not use kinds. The file is empty by default, so nothing is renamed until a cluster is listed. - Bump dependencies to clear CVE alerts on shipped OAP jars: jackson
2.18.8→2.18.12, guava32.0.1-jre→33.7.2-jre, micrometer1.14.4→1.16.8, log4j2.25.4→2.25.5, freemarker2.3.31→2.3.35and postgresql42.7.11→42.7.14. Micrometer 1.14.x has no open-source fix, and Armeria1.34.2is built against micrometer1.16.0, which the old pin downgraded. - Bump dependencies to clear CVEs on shipped OAP jars that Dependabot does not see, because their versions come from a BOM or a transitive dependency: netty
4.2.15.Final→4.2.19.Final(with netty-tcnative-boringssl-static2.0.77.Final→2.0.84.Final, the version netty4.2.19.Finalis built with), and, pulled in by kafka-clients, lz4-java1.10.1→1.11.4and snappy-java1.1.10.5→1.1.10.12. - Add HTTP alarm hook delivery self-observability metrics,
alarm_http_delivery_total,alarm_http_delivery_status_totalandalarm_http_delivery_latency_seconds, ontelemetry.prometheus, labeled byhook_typeand byresultorstatus_class.resultnames why a delivery failed (auth_failed,rate_limited,rejected,server_error,token_error,timeout,io_error,interrupted) and reads the error code DingTalk, WeCom, Feishu and WeLink return in a 2xx body, so such a refused message is now logged as a failure instead of passing as delivered. A WeLink access-token response without a token now skips the messages of that webhook URL instead of sending them with an empty token. Theotel-rules/oap.yamlrules addmeter_oap_instance_alarm_http_delivery_count,meter_oap_instance_alarm_http_delivery_status_countandmeter_oap_instance_alarm_http_delivery_latency_percentileto the OAP self-observability layer, and the OAP Grafana dashboards chart the raw series.
UI
- Add a Virtual GenAI evaluation-record page and evaluation-score chart in Horizon UI, so operators can inspect evaluation result, level, reason, judge model, timestamp, trace linkage, and the
gen_ai_model_evaluation_score_ppmtrend for evaluated records.
Documentation
- The Windows monitoring doc's example OpenTelemetry Collector configuration uses the
debugexporter. Theloggingexporter it used was removed from the Collector, so the example no longer loaded. - Document the BanyanDB trace tail sampling metrics in the BanyanDB self-observability dashboard catalog, and point the "Operating it" section of the trace tail sampling guide at them — the OAP-collected metrics show what the sampler plugins proposed next to what storage committed, which the data node's raw metrics endpoint alone does not.
- Rename Envoy AI Gateway to Agent Router in the monitoring docs, following the project's move to the Agentic AI Foundation. Only the prose changes: the
ENVOY_AI_GATEWAYlayer, thejob_name=envoy-ai-gatewayrouting tag, theenvoy-ai-gatewayrule files and themeter_envoy_ai_gw_metric names are kept, as Agent Router itself kept its deployed names and the telemetry it emits. - Give the AI agent metrics a catalog that names the source of each: the AI Sessionizer sends the token and MCP metrics, and Claude Code's own exporter, pointed at the OAP directly and not at the Sessionizer, sends cost, active time, sessions, lines of code, commits, pull requests and edit decisions. Neither source supplies the other's, so a metric whose source does not send stays empty. The exporter's three resource attributes are named, with what goes wrong without each, and the OpenTelemetry receiver page lists
mcp_endpoint.yaml. - The OpenTelemetry receiver page names the metrics handler
otlp-metrics, the nameenabledHandlerstakes. It named itotlp, which matches no handler. The page also no longer says the receiver reads only thegroup,defaultMetricLevelandmetricsRulesnodes of a rule file: it reads the whole scheme the MAL page describes.
All issues and pull requests are here
Download
https://skywalking.apache.org/downloads/
Notice
Don't download source codes from this page.
Please follow build document, if you want to build source codes by yourself.
Project
- Move the DSL class-loading machinery under
core/dsl.core/classloaderheld only DSL types —RuleClassLoader,DSLClassLoaderManager,ClassLoaderGc,UnloadProbePayloadandBytecodeClassDefiner— so it is nowcore/dsl/classloader, andCatalogmoves tocore/dslbecause a rule-file taxonomy is not a class-loading concern. Three copies of the "define a generated class into the right loader" dispatch (MAL, LAL,MeterSystem) collapse into a staticBytecodeClassDefiner.define, which also gives the JDK 17--add-opensrationale one home instead of four. Three of the four copies of the generated-class dump-directory lookup becomeDslGeneratedFileWriter.resolveClassDumpDir; OAL keeps its own, because its debug flag is settable independently of the environment variable and two tests rely on that. No behaviour change. - Extend the
GET /inspect/entitiesadmin API to inspect a metric persisted by any OAP, even one this node does not define locally. When the metric is unknown to the local registry, the caller suppliesvalueColumn+valueTypeand the storage backend resolves the physical index/table/group from its own running config (no DB schema/table-metadata read): ES uses the mergedmetrics-allindex +metric_tablediscriminator, JDBC probes the node's function tables by thetable_namediscriminator, and BanyanDB synthesizes a read-only measure schema. Scope is no longer required — theentity_idis decoded structurally (service / 2nd-level / relations) with a genericnameleaf. Locally-defined metrics keep the exact field names, scope, andmqeEntityas before. - Add the
POST /inspect/valuesadmin API — read the value series of a metric persisted by another OAP (one this node does not define locally) by supplying its{valueColumn, valueType}. The real MQE engine runs over a request-scopedInspectQueryContextoverlay (provide-if-absent — the local catalog always wins) that makes the foreign metric look registered to every read path:ValueColumnMetadataresolves its value column / type / scope, and the storage location registries resolve where it lives (MetadataRegistrysynthesizes a BanyanDB measure schema,IndexControllerresolves the ESmetrics-allindex,TableHelperprobes the JDBC function tables), so the read returns the native MQEExpressionResultwith no per-DAO special-casing. Admin-only (a forced read this OAP cannot validate); not mirrored onto the public REST / GraphQL surface. See the Inspect API. - Remove the always-on alarm-to-event conversion (
EventHookCallback). A triggered alarm is no longer synthesized into the events pipeline as anAlarm/AlarmRecoveryevent; events now originate only from real event sources (agents, SkyWalking CLI, Kubernetes Event Exporter). Alarms remain available through the alarm store (getAlarm/queryAlarms) and the configured alarm hooks. This drops a documented "Known Event" and removes 1-2 synthetic event records per alarm fire. - TLS for all OAP HTTP/REST servers, with cert hot-reload. Adds the
restSSLEnabled/restSSLKeyPath/restSSLCertChainPathconfig structure to every OAP HTTP server — core REST, sharing-server, admin, PromQL, LogQL, TraceQL and Zipkin query/receiver — each with its own dedicated environment variables (SW_CORE_REST_SSL_*,SW_RECEIVER_SHARING_REST_SSL_*,SW_ADMIN_SERVER_REST_SSL_*,SW_PROMQL_REST_SSL_*,SW_LOGQL_REST_SSL_*,SW_TRACEQL_REST_SSL_*,SW_QUERY_ZIPKIN_REST_SSL_*,SW_RECEIVER_ZIPKIN_REST_SSL_*). The shared ArmeriaHTTPServerreloads the key pair from disk on rotation (viaTlsProvider.ofScheduled) so refreshed certificates are picked up without restarting the OAP, matching the existing gRPC SSL hot-reload behavior. HTTP TLS is server-side only (no mTLS). - New
queryAlarmsGraphQL query — entity / layer / rule filters for alarms. Adds a comprehensive alarm query API alongside the legacygetAlarm. The newqueryAlarms(condition: AlarmQueryCondition!): Alarmsaccepts a single input type bundling every filter the alarm record stores:entities: [Entity!](reuses the MQEEntityshape — pin to specific services / instances / endpoints / processes or their relations, matched against alarmid0ORid1);layer: String(filter by the alarmed entity's layer — single match, since alarm rows persist one layer);ruleNames: [String!](filter by which alarm rule fired); pluskeyword,tags,duration,paging. LegacygetAlarmis marked@deprecatedbut still routes to the same DAO — no client breakage. Backend additions: a newlayercolumn onAlarmRecordpopulated at alarm-mint time viaMetadataQueryService.getService(serviceId).getLayers(); the existingid0/id1columns flipped fromstorageOnly = trueto indexed so the entity filter pushes down to storage.IAlarmQueryDAO.queryAlarms(condition, limit, from)is a new abstract method — 3rd-party storage backends fail at compile if they miss the override (SWIP-14 pattern). All three bundled backends implement it: BanyanDB / Elasticsearch / JDBC. Operator semantics: (1) Relation entities are exact-match. Passing{scope: ServiceRelation, serviceName: A, destServiceName: B}matches only the alarm whereid0=serviceId(A) AND id1=serviceId(B), not any alarm that touches A or B on either side. Wider "anything involving A" queries should pass the individual non-relation entity instead ({scope: Service, serviceName: A}— which expands toid0=A OR id1=A). (2) Single layer per alarm row. The persisted column stores ONE layer (the first entry of the entity's resolved layer list — source-first for relations). A service in[GENERAL, K8S_SERVICE]whose metadata resolves toGENERALfirst is filed underGENERAL; queryinglayer: "K8S_SERVICE"will miss it. Operator migration note: existing pre-upgrade alarm rows continue to be filterable by the legacygetAlarmfields; the new entity / layer / rule filters inqueryAlarmsapply only to alarms written after the upgrade (existing storage indices don't transitionindex: false→truein place; new daily-rolled indices pick up the indexed columns). Schema additions are non-blocking — bootstrap silently skips column-attribute changes on existing indices. - 🚨 Breaking change:
apm-webappand theskywalking-booster-uisubmodule are removed. This OAP distribution no longer ships a bundled web UI. The legacy Armeria reverse proxy inapm-webapp/(the binary that powered theskywalking/uiDocker image) and theskywalking-uigit submodule (which trackedapache/skywalking-booster-ui) are both deleted along with thedocker.uiMaven target, theskywalking/uiDocker image build, theapm-dist/webapp packaging, and every CI workflow path that built or pushed the UI image. The official UI is now Horizon UI, a SkyWalking sub-project that releases independently of the OAP backend on its own schedule, with released container images on Docker Hub atapache/skywalking-ui(tagslatest/horizon-<version>; per-commit development images live onghcr.io/apache/skywalking-horizon-ui). There is no 1:1 mapping between OAP versions and Horizon UI versions — operators pin the UI image tag in their deployment and upgrade the two on separate cadences. Horizon UI consumes the OAP's public GraphQL/REST surface (default12800) and the admin host (default17128). The on-disk dashboard seed files inoap-server/server-starter/src/main/resources/ui-initialized-templates/are deleted;UITemplateInitializer/UIMenuInitializerare removed fromCoreModuleProvider.notifyAfterCompleted(), and Horizon UI ships its own dashboard library and its own sidebar menu. UI templates are now created and updated through the new/ui-management/templates/*REST surface on admin-server (see below). All UI-related GraphQL mutations and queries (UIConfigurationManagement:addTemplate,changeTemplate,disableTemplate,getAllTemplates,getDashboardConfiguration,getMenuItems) are retired from the public GraphQL schema, along with theSW_ENABLE_UPDATE_UI_TEMPLATEflag. The OAP backend also no longer stores or serves the sidebar menu —UIMenuManagementService,UIMenuManagementDAO,UIMenu,MenuItem, and the storage impls are all removed; Horizon UI owns the menu client-side and useslistServices(layer:...)for dynamic "layer has services" gating. Upgrade path: replaceskywalking/ui:<tag>with the Horizon UI imageapache/skywalking-ui:latest(or ahorizon-<version>tag — pick a version per Horizon UI's OAP-compatibility notes, OAP11.0+is supported) in your deployment, expose port17128from the OAP container, and migrate any scripts that called the legacy GraphQL UI mutations to the REST endpoints under UI Management API. All status / debug endpoints (/status/*,/debugging/*) also move to admin-only — the public REST dual-bind for status is retired in the same release. - New
ui-managementadmin module — REST surface for dashboard templates. Hosts five operations on admin-server (port17128):GET /ui-management/templates,GET /ui-management/templates/{id},POST /ui-management/templates,PUT /ui-management/templates,POST /ui-management/templates/{id}/disable. Forwards to the existingUITemplateManagementService(no storage DAO changes). Enabled by default (SW_UI_MANAGEMENT=default, on a default-on admin host). Replaces the retired GraphQLUIConfigurationManagementtemplate resolver. The sidebar menu is intentionally NOT served — see the breaking-change entry above. Operator reference: UI Management API. - All admin feature modules default-on.
admin-server,status,inspect,ui-management,dsl-debugging, andreceiver-runtime-ruleall default to enabled. Operators who don't want a particular feature set itsSW_*env var to empty. This closes a usability gap from 10.4.0 where the runtime-rule / dsl-debugging surfaces required explicit opt-in even though the admin host was already on. - Status API moved to admin-host. Status / debug routes (
/status/*,/debugging/*) now register on the admin-server REST host (default17128); they no longer mirror oncore.restPort(default12800). Aligns status with every other admin feature module (inspect, dsl-debugging, runtime-rule, ui-management). Horizon UI consumes status from the admin host. URIs and payloads are unchanged; only the host moved. One exception:/status/config/ttlis also bound on the public REST host (12800) so ecosystem tools that discover TTL bounds via REST before issuing /graphql don't need to learn the admin port. - New
admin-servermodule — shared host for admin / on-demand write APIs. Runs on two ports: an HTTP REST surface (default17128) for operator-facing endpoints, and an admin-internal gRPC bus (default17129) for peer-to-peer cluster RPCs (runtime-rule Suspend / Resume / Forward; DSL debug install / collect / stop / stopByClientId). The admin-internal bus is a dedicated transport separate from the public agent / cluster gRPC port (core.gRPCPort, default11800) so privileged admin RPCs stay out of the agent network's blast radius — operators bindgRPCHostto a private peer-to-peer interface only. Both the runtime-rule plugin and the new DSL Debug API (below) mount onto this shared host. Enabled by default so the status feature module is reachable out of the box; the host binds to0.0.0.0:17128and has no built-in authentication and must be gateway-protected with IP allow-lists, never exposed to the public internet (see the Admin API security notice). SetSW_ADMIN_SERVER=(empty) to disable entirely. The runtime-rule config block loses itsrestHost/restPort/restContextPath/restIdleTimeOut/restAcceptQueueSize/httpMaxRequestHeaderSizekeys (and the matchingSW_RECEIVER_RUNTIME_RULE_REST_*env vars); host-level knobs move under the newadmin-serverblock (SW_ADMIN_SERVER_HOST/SW_ADMIN_SERVER_PORT/SW_ADMIN_SERVER_GRPC_HOST/SW_ADMIN_SERVER_GRPC_PORT/SW_ADMIN_SERVER_INTERNAL_COMM_TIMEOUTetc.). - Runtime rule hot-update for MAL and LAL. Operators can now ship metric (MAL) and log (LAL) rule changes without restarting OAP. A push to a new admin endpoint persists the rule to the configured storage backend, and every node in the cluster converges to the new content within ~30 seconds. Common workflows:
addOrUpdate— create or replace a rule. Body is the raw YAML you would normally ship with OAP's static rule files. Returns 200 once the rule is applied locally and persisted; peers pick it up on their next periodic scan (≤ 30 s).inactivate— soft-pause a rule. The OAP stops emitting metrics for that rule but the backend measure (and its history) is preserved, so a lateraddOrUpdateto the same(catalog, name)is lossless. The "off" intent is durable across reboots; bundled rules on disk are not auto-resurrected when aninactivateremoves the runtime override. This is the safe way to take a rule offline.delete— removes anINACTIVErow (active rules return409 requires_inactivate_first). For runtime-only rules with no bundled YAML on disk, the row is dropped; the backend measure (if any) is left in place as an inert artefact, matching bundled-rule deletion semantics (removing a YAML fromotel-rules/on disk doesn't drop its measure either). For rules that have a bundled YAML twin, plaindeletereturns409 requires_revert_to_bundled— letting bundled silently take over the(catalog, name)is a meaningful state change that requires an explicit operator decision. Re-issue with?mode=revertToBundledto fall back to bundled: that path runs the schema-change pipeline (rehydrates the runtime DSL locally, then applies the bundled YAML through the standard apply pipeline so the runtime→bundled delta drops runtime-only metrics, registers bundled-only metrics, and reuses bundled-shared metrics at matching shape) before removing the row. Returns400 no_bundled_twinwhen?mode=revertToBundledis used without a bundled YAML on disk.get/bundled/list/dump— read-side endpoints for fetching a single rule's YAML (withETagsupport;?source=bundledreads the on-disk bundled YAML even when a runtime override is in place), listing the bundled-vs-runtime overlay per catalog, inspecting cluster-wide rule state as a JSON envelope ({generatedAt, loaderStats, rules}— each row carriesstatus/localState/loaderKind/bundled/bundledContentHashso a UI can render override badges without a second roundtrip), and exporting all rules as a tar.gz for backup / DR. Hot-updates survive OAP restart: at boot OAP merges bundled rule files with persisted runtime rules, so the cluster never silently regresses to the bundled defaults. All admin writes for a runtime-rule cluster serialize on a single "main" OAP (deterministic sorted-first peer, no leader election) — non-main nodes that receive an HTTP write transparently forward it to the main over the admin-internal gRPC bus, so an L7 load balancer in front of the admin port can route any operator request to any OAP. Cluster convergence on the periodic refresh tick is configurable viareceiver-runtime-rule.refreshRulesPeriod(default30s). The endpoint is disabled by default and listens on port17128(HTTP) when enabled. It has no built-in authentication — operators must gateway-protect it with IP allow-lists and never expose it to the public internet. Routes mount on the newadmin-serverHTTP host, which is on by default; enable the runtime-rule feature withSW_RECEIVER_RUNTIME_RULE=default.
- Live debugger for MAL / LAL / OAL — implements SWIP-13 Live Debugger for MAL / LAL / OAL. Sample-based runtime debugger that captures per-stage inputs/outputs as the three DSLs process live ingest. Idle-path cost is one volatile-bool read per probe call site that JIT eliminates after warm-up; active sessions fan out to every cluster peer over the admin-internal gRPC bus so each peer captures its own slice. The fan-out is LB-safe: any node can serve any verb (POST mints
sessionIdon the receiving node, broadcasts install to peers, returns404 rule_not_foundonly when no node owns the rule), so an L7 load balancer in front of the admin port routes operator requests freely. Mounts on the sharedadmin-serverhost (/dsl-debugging/*for session control plane,/runtime/oal/*for the OAL rule picker). Disabled by default; enable withSW_DSL_DEBUGGING=default(admin-server itself is on by default).injectionEnabledis a boot-time codegen switch defaulting totrue— once the module is enabled, probes fire and sessions record samples; setfalseonly if the REST surface is wanted but no codegen-side probe overhead is acceptable. Per-session limits enforce hard caps (recordCap≤ 10000,retentionMillis≤ 1 hour) — out-of-range requests return400 invalid_limits. LAL sessions accept a per-sessiongranularity=block|statementflag — block mode captures the parser/extractor/sink stages; statement mode additionally records onelineentry per individual extractor statement, carrying the source-line number and verbatim DSL text so the UI can highlight which statement fired. MAL captures render the file-level filter's surviving SampleFamily map ({"families": N, "items": [...]}), so multi-metric expressions show cross-family filter narrowing in the captured payload. Capture payloads include raw log bodies and parsed maps — treat the admin port as authenticated infrastructure per the Admin API security notice. Per-DSL operator references: MAL, OAL, LAL. - BanyanDB schema mismatches are now visible at boot, not silent. If BanyanDB already holds a resource whose shape doesn't match what the current rule declares (e.g., a rule was edited on disk while OAP was offline), OAP now skips that resource, logs an ERROR with the declared-vs-backend diff, and continues booting — previously the mismatch was silently accepted and samples for the affected resource were quietly dropped. To re-shape a mismatched metric, push the desired YAML through
POST /runtime/rule/addOrUpdate. - Bump infra-e2e to testcontainers-go v0.42.0 (apache/skywalking-infra-e2e#146), which uses Docker Compose v2 plugin natively and removes docker-compose v1 dependency.
- Remove deprecated
versionfield from all docker-compose files for Compose v2 compatibility. - Best-effort schema-cutover fence for BanyanDB. After firing a schema install or drop OAP now waits up to a bounded window (default 2s) for every BanyanDB data node to apply the change before resuming dispatch — the typical case gets a clean cutover where samples after
200 OKuse the new shape. On laggard timeout, OAP logs a warning and proceeds anyway so a single slow node doesn't wedge the apply. - Bump dependencies: gRPC
1.70.0→1.80.0, protobuf-java3.25.5→4.33.1, Netty4.2.10.Final→4.2.12.Final, Netty-tcnative2.0.75→2.0.77, pgv (protoc-gen-validate)1.2.1→1.3.0. Driven by the new BanyanDB schema-consistency RPCs whose generated validation code requires theprotobuf-java 4.xruntime. - Inspect API on admin-server. Two new admin-only HTTP endpoints for browsing the live metric catalog and the entities currently emitting values for a given metric.
GET /inspect/metricslists every registered metric with its type / scope / catalog / value-column name / supported downsamplings (pure metadata, no I/O).GET /inspect/entitiesruns the storage backend's entity scan for a metric over a time range + step (capped at 300 rows) and returns each entity decoded into an MQE-ready payload — the response includes amqeEntityblock the operator pastes verbatim into the public GraphQLexecExpressionmutation, plus the source service's layer(s) (multi-layer services emit one row per layer). Restricted toREGULAR_VALUE/LABELED_VALUEmetrics and to non-Process scopes;HEATMAP/SAMPLED_RECORD/Process/ProcessRelationreturn 400. AddsIMetricsQueryDAO.listEntityIdsInRangeas an abstract method on the interface — any 3rd party storage backend must explicitly override or the build fails. Enabled by default (bothSW_INSPECTandSW_ADMIN_SERVERare on by default); setSW_INSPECT=empty to disable. Operator reference: Inspect API. - Status feature module relocation, finalized. The legacy
status-query-pluginwas replaced by a newstatusfeature module underserver-admin/; the route set (/status/cluster/nodes,/status/alarm/*,/status/config/ttl,/debugging/config/dump,/debugging/query/*) keeps URIs and payloads unchanged. The selector renames from the QUERY-plugin form (SW_QUERY=…,status-query-plugin) to a top-levelSW_STATUS=default(on by default); customapplication.ymloverrides referencingstatus-queryneed to repoint tostatus. Routes are admin-host only — see the "Status API is admin-host only" entry above for the public REST retirement. - Drop six unused test-scoped dependencies from
runtime-rule(library-integration-test,library-banyandb-client,storage-banyandb-plugin,testcontainers,testcontainers:junit-jupiter,grpc-testing). They staged the plugin-side ITs that were retired in favour of e2e; that coverage now lives intest/e2e-v2/cases/runtime-rule/(MAL over BanyanDB / PostgreSQL / Elasticsearch, LAL, meter, and the two-node cluster case). The module has no ITs today, and JUnit and Mockito are inherited from the root POM. - Declare
server-testingattestscope everywhere. It ships only test scaffolding (ModuleManagerTesting,MockModuleManager, the MAL/LAL/Hierarchy rule loaders) plus two emptyorg.junitstubs that let Testcontainers'GenericContainerhierarchy resolve without JUnit 4, but four modules declared it at compile scope — including theserver-configurationparent, so all eightconfiguration-*children inherited it — which put thoseorg.junitstubs on the runtime classpath thatserver-startercopies intooap-libs. Modules whose tests need the stubs now declare the dependency themselves rather than inheriting it transitively, andlibrary-banyandb-clientgains the directlibrary-utildependency itsBanyanDBClientalways needed (it was resolvingStringUtilthroughserver-testing, a test-support module). - Add
ThreadPolicy.ioBound(N)tolibrary-batch-queue, for queues whose consumers spend most of their time blocked. Such a queue runs its drain loops on virtual threads where the runtime provides them (JDK 25+) and falls back to N platform threads otherwise; the count, and therefore concurrency, batching, back-pressure, drop semantics and per-partition ordering, are identical on both paths. Shutdown latency is the one exception: the platform scheduler drops drain tasks parked on their idle backoff, while the virtual-thread adapter sleeps inside the submitted task and cannot, so anioBoundqueue should keepmaxIdleMswithinshutdownTimeoutMs. There is deliberately no CPU-proportional form: virtual threads are not preemptive, so CPU-bound work would hold its carrier and starve the shared carrier pool, and L1/L2/TopN stay oncpuCores/fixed. Also fixesBatchQueue.shutdown(), which ran its final drain on the caller's thread while drain loops could still be insideconsume(), invoking a handler concurrently and breaking the single-drain-thread invariant workers such asMetricsAggregateWorkerrely on: it now cancels the periodic rebalance task, waits for in-flight consumers (shutdownTimeoutMs, default 500ms per queue), and serialises its final dispatch behind a read/write dispatch lock so the guarantee holds even when that wait times out or is interrupted. Drain loops hold the read lock for the whole cycle — the running recheck, the partition dequeue, the idle notification and the dispatch — becauseonIdle()touches the same worker state asconsume()and an unlocked dequeue would let shutdown dispatch a newer batch ahead of one a task already holds. Concurrent shutdown callers await the winner's completion rather than returning early. A consumer is never interrupted mid-batch.
OAP Server
- Add component IDs for the Spring LDAP Java agent plugin (
spring-ldap: 179) and LDAP server (LDAP: 180), including their server mapping. - Fix LAL's
segmentIdandspanIdextractor statements, which the grammar accepted and the parser never implemented.LALParser.g4declarestraceIdStatement,segmentIdStatementandspanIdStatement, and the codegen already carriedsetSegmentId/setSpanIdin its setter table, butLALScriptParser.visitExtractorStatementhad a branch for only the first of the three. The remaining alternatives fell through to a line that assumed whatever was left had to be anifStatement, so a rule writingsegmentId ...failed at boot with aNullPointerExceptionnamingIfStatementContext— for a rule line containing noif. Both statements now work, and an unhandled extractor statement reports its own rule line instead of throwing. Existing log records are unaffected:LogBuildercopies trace id, segment id and span id straight from the log's metadata, and only skips that copy when a rule has set them — which no shipped rule did, which is why the gap went unnoticed. Dedicated execution tests now cover reading all three fields fromlog.traceContext.*and writing all three from an extractor. - Remove dead code from the DSL subsystem and correct the shared kernel's own documentation. Deleted
DslContentHash(a byte-identical, zero-caller twin of the liveContentHash), the unusedoal-rtmetrics-function registry,LogAnalyzerFactory,LALCodegenHelper.METADATA_GETTER_ALIASES(a permanently empty map whose reader branch could never execute — the DSL-name-to-getter mismatch it existed for no longer exists, sinceLogMetadata.TraceContextnames the fieldtraceSegmentIddirectly), and three unreferenced members. Three kernel classes carried javadoc asserting consumers that do not exist —DSLClassLoaderManagerclaimed the MAL and LAL compile paths reach for its singleton,LogDataDebugDumpclaimed core renders through it, andDslContentHashinstructed the reader to consolidate toward the dead copy; a false rationale in a shared kernel is an instruction to the next contributor, so those are now what the call sites actually support.OALDebug,OALDebugRecorderandDebugHolderProvidernow record why they sit in core while MAL's and LAL's equivalents do not:dsl-debuggingdeclares nooal-rtdependency, so they cannot move. - Unify source attribution for every generated DSL class, so a stack frame from OAL, MAL, LAL or Hierarchy code leads back to the rule that produced it.
SourceFilenow names the RULE and its line, then the generated class file:(otel-rules/activemq/activemq-broker.yaml:32)otel_rules_activemq_activemq_broker_L32_service_meter.java. The.javagenerated source file is written only underSW_DYNAMIC_CLASS_ENGINE_DEBUG, so in a default deployment naming it named nothing; the class name cannot substitute because sanitising maps/,-and.all to_and drops the extension.- The
_L<n>_segment was the rules-list index rather than a line, so every file's first rule reported asL0. It now carries the rule's real line, resolved by the loaders themselves — including Zabbix and Hierarchy, which supplied no coordinate at all, and the runtime-rule hot-update paths for MAL and LAL, which disagreed with their own boot loaders. LineNumberTableheld statement ordinals, matching neither the YAML nor the generated source. MAL keeps a per-statement table; MAL closure companions, LAL and OAL carry one entry at each method's signature, found by searching the assembled generated source file text for that method's declaration rather than counting a per-method offset. Hierarchy writes no generated source file, so it carries none.- Generated class names change. They are now built from the rule file's catalog-qualified path, so a MAL class that was
vm_L25_cpu_total_percentageis nowotel_rules_vm_L25_cpu_total_percentage. The catalog is kept only where the generated class's package does not already imply it, so LAL — one catalog, its own package — is unchanged atdefault_L3_default. Nothing addresses these classes by name — they are generated, loaded reflectively and never referenced from configuration — but the names appear in stack traces, inSW_DYNAMIC_CLASS_ENGINE_DEBUGdumps and in dsl-debugging output, so saved greps and dashboards keyed on the old form need updating. The unqualified names were ambiguous: two catalogs can each hold avm.yaml. - A generated method's line is located by searching the assembled source for its declaration, and that search now requires an identifier boundary.
serializeis a suffix ofdeserializeand OAL declares both on every metrics class, so the shorter name resolved to the longer method's line whenever the template order changed; two OAL metrics namedcpmandcommando_cpmin one scope reach the same shape through their shared dispatcher. The wrong line shipped in production bytecode — the attribute is stamped unconditionally — so a frame reported another rule's location. - Fix a hot-updated LAL rule stranding its own dsl-debugging binding instead of replacing it. The
RuleKeynaming a rule file was spelleddefault.yamlby the boot loader anddefaultby the runtime-rule engine, so the two never met in the holder registry: the pre-updateGateHolderstayed reachable, and an operator addressing it enabled probes on a compiled rule that no longer evaluates anything — indistinguishable from a rule receiving no traffic.RuleKeynow drops a trailing.yaml/.ymlfrom that component, so both spellings are one key and the debugging API keeps accepting either. Rule execution was never affected: the maps that decide which rules run are keyed by layer and rule name, not by file name. - A class shared by several rules — an OAL dispatcher — names its file without a line rather than borrow the first rule's, which would misreport every other rule routed through it.
- The generated
.javasource files are written as UTF-8 with an ASCII header instead of through a platform-defaultFileWriter, the pairing that producedMalformedInputExceptionon a non-UTF-8 JVM. - Breaking change:
HierarchyDefinitionService.HierarchyRuleProvider— aServiceLoaderSPI — now declaresbuildRules(Map<String, String> ruleExpressions, Map<String, Integer> ruleLines)in place of the former one-argumentbuildRules(Map). A third-party provider compiled against the old signature fails withAbstractMethodErrorand must be recompiled. The second argument carries each rule's line inhierarchy-definition.yml, which the expression map cannot supply because snakeyaml's bean binding discards positional marks; a provider with no line information should pass an empty map. Without it, generated hierarchy classes are labelled_Lunknown_and their stack frames lead nowhere. - The mechanism is one implementation in
org.apache.skywalking.oap.server.core.dsl, shared by all four compilers: the coordinate model, the class-name builder, theSourceFilevalue, the generated source file writer, the signature-line lookup and the bytecode attributes. Previously each compiler had its own, and they had drifted apart.
- Support runtime rule hot-update and DSL debugging for the
meter-analyzer-configcatalog, bringing native meter (MeterReportService) rules to parity withotel-rules.- Meter rules now load through the same
Rules/Rulepipelineotel-rulesuses, so they participate inRuleSetMerger, are recorded inStaticRuleRegistry, support the optionallayerDefinitionsblock, and generate source-named expression classes instead of falling back toMalExpr_<N>. MeterProcessServicenow implementsMalConverterRegistryand publishes debug holders at boot, so a meter rule can be added / overridden / inactivated at runtime, and attached to a DSL debug session, without restarting the OAP.- The internal
MeterConfig/MeterConfigsmodel is removed in favour of the shared one. - Behaviour change: an entry in
meterAnalyzerActiveFiles(SW_METER_ANALYZER_ACTIVE_FILES) with no matching rule file now fails OAP startup instead of being silently ignored, matching howotel-ruleshas always behaved.
- Meter rules now load through the same
- Support Elasticsearch 9.x as storage.
- Add Node.js runtime metrics via the Node.js agent
MeterReportServicepipeline (meter_instance_nodejs_*, default 20s sample/report). OAP analyzes raw meters throughnodejs-runtime.yaml. Node.js E2E asserts twelvemeter_instance_nodejs_*metrics (test/e2e-v2/cases/nodejs/e2e.yaml). - Add PHP runtime PHM meter analyzer (
php-runtime.yaml) for SkyWalking PHP agent process metrics (CPU, memory, virtual memory, thread count, open file descriptors sampled from/procon Linux). Registers sixmeter_instance_php_*metrics on the General Service layer;php-runtimeis included in the defaultmeterAnalyzerActiveFiles. - Batch the BanyanDB schema fence per runtime-rule apply. A runtime-rule file changes dozens of rules at once, but the post-DDL fence (
SchemaWatcher.awaitRevisionApplied) ran once per metric/downsampling, so a large file didK×Msequential ≤2s fences — on a laggy cluster that overran the apply's REST budget. The main-node apply path now usesStorageManipulationOpt.withSchemaChangeDeferredFence(): the installer records each resource'smod_revisionwithout fencing and registers a single flush that the apply runs once on the file's max revision, collapsing the whole file to one barrier. The flush is one-shot — a reconciler tick reuses one opt across every rule file, so after a file flushes, the closure and accumulated revision reset and each file fences on its own DDL only. Drops still fence inline on the dropped resource's own delete revision — or, when that delete recorded no tombstone (mod_revision == 0), on a key-based deletion barrier (AwaitSchemaDeleted) — never on the shared opt's cumulative revision, so a tombstone-less delete in a multi-file tick is still confirmed removed. On the operator REST apply the single create/update fence runs on a configurable, generous budget (default 180s) in the background before the rule row is persisted and dispatch resumes — it gates the persist + local commit + peer resume so the durable commit point is only reached once the schema is confirmed cluster-wide, and writes never resume against an un-propagated schema (see the apply-status entry below); the reconciler tick keeps the short inline 2s fence (a background reconcile must not wait minutes per file). Peer /withoutSchemaChangeapplies are unaffected (no fence). - Add a runtime-rule apply-status query. The cluster main now tracks each structural apply through a phase machine (
SchemaApplyCoordinator: pending → DDL → fencing → rolling-out → applied, withdegradedfor a committed-but-unconfirmed apply — the cluster schema fence did not confirm within the timeout, in which case the lagging data-node ids are surfaced asfenceLaggardsand dispatch is resumed anyway, or the local commit-tail threw — andfailedcarrying the specific reason). The schema fence runs on a configurable, generous budget (receiver-runtime-rule.deferredFenceTimeoutSeconds, default 180s) and gates everything durable or visible: because an un-propagated write is silently dropped at the data node, the order after a successful DDL is suspend → DDL → fence → persist → commit → resume. The rule row (the durable commit point) is written only AFTER the fence confirms, so "durable" implies "schema propagated cluster-wide" — a main crash before persist leaves no row (peers/crash-recovery stay safely on the old content; the orphaned measure is inert), and any durable row is guaranteed fence-confirmed, so convergence never resumes dispatch against an unpropagated schema. The fence + persist + resume run in the background so they never block the HTTP response —POST /addOrUpdatereturns itsapplyIdimmediately atfencing(accepted, not yet durable; dispatch for that rule still paused — a clean gap, not dropped writes), and the operator pollsGET /runtime/rule/statusto watchfencing → rolling-out → applied(ordegraded/failed); on a genuine laggard, dispatch resumes after the budget so one stuck node can't park the metric forever. AGetApplyStatusadmin-internal gRPC served by the main backs the query — byapplyId, or bycatalog+name(+ optionalcontentHash, the durable identity) once the handle is gone after a page refresh. When the live status is gone (apply-id evicted, main restarted, or the main is unreachable), the query degrades to the durable rule row: a matchingACTIVErow reportsappliedderived from the content hash (a durable row is, by the fence-then-persist order, already propagation-confirmed). Non-main nodes route the read to the deterministic main; status is in-memory by design, with the content hash reconstructing truth after a restart. - Push runtime-rule convergence to peers on commit. After a successful structural apply — and on the
commit_deferredpath, where the DB row is durable but this node's commit-tail threw — the main broadcasts aNotifyAppliedadmin-internal RPC so peers reconcile against the just-persisted DB row immediately, instead of waiting up to one refresh tick (~30s) to notice it. The fan-out runs off the REST response thread (fire-and-forget on a daemon executor) so an unreachable peer's per-call deadline never adds to the operator's apply latency. On the peer side the notify-triggered reconcile is coalesced: a burst of notifies (a multi-rule file, or several applies) collapses to a single queued full reconcile rather than one redundantdao.getAll()scan per notify. The notify is best-effort and idempotent (the peer runs its normal per-file-locked reconcile; a lost notify is harmless — the peer still self-converges on its next tick), so it tightens the cluster-convergence window without adding a hard dependency on the main being reachable. - Fix BanyanDB peer nodes permanently flooding
<metric> is not registered, and a follow-on case where a peer kept translating writes with a stale schema shape after a runtime-rule reshape, when a node held a live persist worker but its localMetadataRegistryschema cache was missing or stale for that model — awithoutSchemaChangepeer apply or a runtime-rule bundled fall-over rebuilt the dispatch worker but skipped the local-cache populate, and the registry was insert-only (never evicting) while the 30s reconcile only covers runtime-rule rows, so nothing re-derived it. The peer / local-cache-only install path now (re)derives and overwrites the local schema entry from the declared model with zero server RPC — honoring theinspectBackend=falsecontract so the cache can never lag the worker, including across a reshape — and a model removal now evicts its cache entry so a dropped or reshaped model leaves no stale translation behind; the persist DAOs keep an RPC-free re-derivation as a read-side backstop, and the no-init defer poll loop retries a transient backend probe error instead of escaping and crash-looping the pod. - Support LAL
json {}parsing JSON content delivered in a plain-text log body. The parser reads the native protocol's JSON body first; when that is empty, it tries the text body as JSON — e.g. the OTLP log receiver maps every OTLP string body to a text body, even JSON-shaped ones, so previously-abortingjson {}rules on OTLP-fed layers now work without any receiver or protocol change. On a successful parse from a text body, the matching rule persists the log as a JSON body with content typeJSON; the normalization is scoped to that rule's context — other rules analyzing the same log still see the original text body. - Surface the drop reason in LAL live-debugging. When a LAL rule stops a log at a parse step (a
json {}/yaml {}parse failure, atext { regexp }non-match, or a non-log-body input), the recorder now captures a human-readablereason(e.g. the parse exception) onto the DSL-debugSample, exposed through thedsl-debuggingREST session response and the cluster forward proto. Previously a live-debug watcher could only seecontinueOn=false— that a step stopped, never why — and had to read the OAP server log.Sample.reasonis shared across all DSL debuggers but populated by LAL today. - Fix a v2 MAL
CounterWindowkey collision:rate()/increase()/irate()keyed each counter's sliding window on the rule's output metric name (the same for every input metric of a rule) instead of the counter's own name, so two or more counters that reduce to the same label set after.sum(...)shared one window and computed rates against each other's values — fabricating non-zero rates from unchanged counters (e.g. the BanyanDB liaison gRPC error rate read a steady non-zero off three frozen error counters). The window is now keyed by the counter's own metric name. - Fix the v2 MAL Elvis operator
?:to honor Groovy-falsy semantics. It compiled toOptional.ofNullable(primary).orElse(fallback), applying the fallback only when the primary isnull, so an empty-string primary kept""instead — e.g. a BanyanDB liaisonServiceInstancestorednode_type=""rather thann/a, because.sum([...,'node_type'])fills an absent group-by label with"". The fallback now applies for falsy primaries such as null, false, numeric zero, and empty strings/containers. - SWIP-15: rebuild BanyanDB self-observability around the cluster / container / group model (requires BanyanDB 0.11+). A BanyanDB cluster is modeled as one
Service, each container as aServiceInstance(role/tier as attributes), and each storage group as anEndpoint. Theotel-rules/banyandb/rules are category-separated by role (node_*/liaison_*/data_*/lifecycle_*) and by data type (measure_*/stream_*/trace_*/property_*), mirroring the upstream FODC-proxy Grafana boards, and include queue batch/message granularity (apache/skywalking-banyandb#1169). Adds aSERVICE_INSTANCE_RELATIONMAL scope andserviceInstanceRelation(...)builder powering a new intra-cluster pod-to-pod deployment topology (banyandb-instance-relation.yaml). The stale single-nodehost_namemodel is removed. - Runtime MAL/LAL hot-update rules can declare
layerDefinitions:to introduce new layers. Ordinals are operator-pinned in the100_000+tier; the layer is refcount-tracked and unregistered when the last declaring rule is removed. See runtime-rule-hot-update.md#dynamic-layers for the conflict rules and limitations. - Fix: runtime-rule (MAL/LAL hot-update) schema changes now work in
no-initmode — the deployment mode every production cluster runs. Previously a runtimeaddOrUpdatethat introduced a new metric blocked forever in the storage installer's init-node poll loop (ModelInstaller.whenCreating) on ano-initOAP, because the gate keyed offRunningModerather than the operation's intent; the/delete?mode=revertToBundledrecreate and BanyanDB in-place shape updates were dead the same way. The poll loop is now gated on a newStorageManipulationOpt.Flags.deferDDLToInitNodebit set only on the static boot-timeschemaCreateIfAbsent()opt (DRYed intoModelInstaller.deferDDLToInitNode(opt)and reused by the BanyanDB shape-check / group-DDL gates), so the runtime-rule opts (withSchemaChange/verifySchemaOnly/withoutSchemaChange) are driven by their flags and by cluster main-ness —no-initanddefaultno longer differ for DSL DDL;initmode stays the dedicated initializer.DSLManager.tickStorageOptis collapsed accordingly (main →withSchemaChange, peer →verifySchemaOnlyat boot /withoutSchemaChangeon tick). - Fix: runtime-rule cross-node writes no longer fail with
HTTP 400 forward_self_loopon a multi-replica Kubernetes cluster. Every OAP replica shared the clusterselfNodeId0.0.0.0_11800(derived from the0.0.0.0agent gRPC bind host viaTelemetryRelatedContext), so the main's self-loop guard rejected a legitimate peer-to-peer Forward as if it had looped back. The runtime-rule node identity now prefers the unique per-podSKYWALKING_COLLECTOR_UID(the pod UID injected by the helm chart / swck operator frommetadata.uid), resolved instart()before any apply, and falls back to the telemetry id for non-k8s deployments. Adds a kind-based no-init cluster e2e (test/e2e-v2/cases/runtime-rule/cluster, deployed via skywalking-helm withoap.replicas=2) that drives the apply / STRUCTURAL / inactivate / delete lifecycle and the cross-node Forward path, replacing the prior docker-compose default-mode cluster case. - Fix: remove the redundant tags from the
envoy-ai-gateway.yamlLAL configuration. - Add Zipkin Virtual GenAI e2e test. Use
zipkin_jsonexporter to avoid protobuf dependency conflict betweenopentelemetry-exporter-zipkin-proto-http(protobuf~=3.12) andopentelemetry-proto(protobuf>=5.0). - Fix missing
taskIdfilter and incorrectINclause parameter binding inJDBCJFRDataQueryDAOandJDBCPprofDataQueryDAO. - Remove deprecated
GroupBy.field_namefrom BanyanDBMeasureQueryrequest building (Phase 1 of staged removal across repos). - Push
taskIdfilter down to the storage layer inIAsyncProfilerTaskLogQueryDAO, removing in-memory filtering fromAsyncProfilerQueryService. - Fix missing parentheses around OR conditions in
JDBCZipkinQueryDAO.getTraces(), which caused the table filter to be bypassed for all but the first trace ID. Replaced with a properINclause. - Fix missing
andkeyword inJDBCEBPFProfilingTaskDAO.getTaskRecord()SQL query, which caused a syntax error on every invocation. - Fix storage layer bugs in profiling DAOs and add unit test coverage for JDBC query DAOs. Bug fixes: duplicate
TABLE_COLUMNcondition inJDBCMetadataQueryDAO.findEndpoint(), wrong merged table check inJFRDataQueryEsDAO(used incorrect INDEX_NAME due to copy-paste), and missingisMergedTablecheck inProfileTaskQueryEsDAO.getById(). Test additions: add unit tests for 21 JDBC query DAOs verifying SQL/WHERE clause construction. - Optimize
TraceQueryService.sortSpansfrom O(N^2) to O(N) by pre-indexing spans bysegmentSpanId, so trace detail queries scale linearly with span count. - Support MCP (Model Context Protocol) observability for Envoy AI Gateway: MCP metrics (request CPM/latency, method breakdown, backend breakdown, initialization latency, capabilities), MCP access log sampling (errors only),
ai_route_typesearchable log tag, and MCP dashboard tabs. - Add weighted handler support to
BatchQueueadaptive partitioning. MAL metrics use weight 0.05 at L1 (vs 1.0 for OAL), reducing partition count and memory overhead when many MAL metric types are registered. - Fix missing
taskIdfilter in pprof task log query and its JDBC/BanyanDB/Elasticsearch implementations. - Fix duplicate calls in
EndpointTopologyBuilder— calls were not deduplicated unlikeServiceTopologyBuilder, causing duplicate entries when storage returns multiple records for the same relation. - Use
containsOnceandnoDuplicatesfor topology dependency e2e expected files to enforce no-duplicate verification. - Bump infra-e2e to
ef073adto includenoDuplicatespipe function support. - PromQL: support querying Zipkin metadata (service name, remote service name, span name).
- TraceQL: support more tags and variables in Grafana for querying.
- LAL: add
sourceAttribute()function for non-persistent OTLP resource attribute access in LAL scripts. - LAL: add
layer: automode for dynamic layer assignment whenservice.layeris absent. - Add two-phase
SpanListenerSPI mechanism for extensible trace span processing. Refactor GenAI from hardcodedSpanForward.processGenAILogic()toGenAISpanListener. - Add OTLP/HTTP receiver support for traces, logs, and metrics (
/v1/traces,/v1/logs,/v1/metrics). Supports bothapplication/x-protobufandapplication/jsoncontent types. - Fix: TTL query add metadata TTL.
- Fix: PersistentWorker used wrong TTL for metrics cache if the storage is BanyanDB.
- Add iOS/iPadOS app monitoring via OpenTelemetry Swift SDK (SWIP-11). Includes the
IOSlayer,IOSHTTPSpanListenerfor outbound HTTP client metrics (supports OTel Swift.old/.stable/.httpDupsemantic-convention modes via stable-then-legacy attribute fallback),IOSMetricKitSpanListenerfor daily MetricKit metrics (exit counts split by foreground/background, app-launch / hang-time percentile histograms with finite 30 s overflow ceiling), LAL rules for crash/hang diagnostics, Mobile menu, and iOS dashboards. - Add Apache Airflow monitoring via native OpenTelemetry metrics (SWIP-7). New
AIRFLOWlayer with Service (cluster) and Instance (host) dimensions, MAL rules underotel-rules/airflow/(27 metrics), setup documentation, mock OTLP e2e (cases/airflow/mock/e2e.yaml: 2 entity + 27 metric checks, 29 total), and real Celery-cluster integration smoke (cases/airflow/cluster/e2e.yaml: 2 entity + 14 metric checks, 16 total). Seetest/e2e-v2/cases/airflow/README.md. Horizon UI dashboards ship separately inapache/skywalking-horizon-uiunder the Workflow Scheduler menu group. - Fix LAL
layer: automode dropping logs after extractor set the layer. Codegen now propagateslayer "..."assignments toLogMetadata.layersoFilterSpec.doSink()sees the script-decided layer. - Fix MetricKit histogram percentile metrics being reported at 1000× their true value — the listener now marks its
SampleFamilywithdefaultHistogramBucketUnit(MILLISECONDS)so MAL's default SECONDS→MS rescale oflelabels is not applied. - Add WeChat and Alipay Mini Program monitoring via the SkyAPM mini-program-monitor SDK (SWIP-12). Two new layers (
WECHAT_MINI_PROGRAM,ALIPAY_MINI_PROGRAM); two new JavaScript componentIds (WeChat-MiniProgram: 10002,AliPay-MiniProgram: 10003). Service / instance / endpoint entities are produced by MAL + LAL, not trace analysis — mini-programs are client-side (exit-only) soRPCAnalysisListenerstays unchanged (same pattern as browser and iOS). MAL rules per platform × scope underotel-rules/miniprogram/with explicit.service(...)/.endpoint(...)chains (emptyexpSuffixso endpoint-scope rules aren't overridden), histogram percentile via.histogram("le", TimeUnit.MILLISECONDS)to keep ms bucket bounds intact, and request-cpm derived from the histogram_countfamily. LALlayer: autorule produces both layers viaminiprogram.platformdispatch and emits error-count samples consumed by per-platform log-MAL rules. Per-layer menu entries and service / instance / endpoint dashboards with Trace and Log sub-tabs. - Fix: remove
VirtualServiceAnalysisListener's dependency onGenAIAnalyzerModuleif it is disabled. - MAL: register
TimeUnitinMALCodegenHelper.ENUM_FQCNso rule YAML can write.histogram("le", TimeUnit.MILLISECONDS)for SDKs that emit histogram bucket bounds in ms (defaultSECONDSunit applies a ×1000 rescale that would otherwise inflate storedlelabels 1000×). - Fix: potential unexpected current directory inclusion in Docker OAP classpath.
- MAL: add
safeDiv(divisor)onSampleFamilythat yields0when the divisor is0instead ofInfinity/NaN. Replace/withsafeDiv(...)in Envoy AI Gateway latency-average rules sosum / count * 1000no longer produces dropped or out-of-range samples when a counter is zero in a window. - Fix:
envoy-ai-gatewaymetrics rules, make the metrics value return0when the divisor is0. - Custom
Layers can be declared without modifying the OAP source — via an operator-managedlayer-extensions.yml, inlinelayerDefinitions:block in a MAL or LAL rule file, or a plugin extension. UI dashboard templates for new layers are auto-discovered from theui-initialized-templates/directory. Recommended ordinal range for external layers is>= 1000; conflicting names or ordinals are reported at boot. - LAL: support full arithmetic (
+,-,*,/) on numeric operands and fix the original bug where(tag("x") as Integer) + (tag("y") as Integer)was treated as string concatenation — expressions likeinput_tokens + output_tokens < 10000produced the concatenated string"2589115"rather than the integer sum2704, so token-threshold conditions never triggeredabort {}. Operand types are now inferred from explicit casts (as Integer/as Long/as Float/as Double), typed proto fields, or numeric literal shape (withL/F/Dsuffix support, e.g.1000L). The compiler honours JLS-style binary numeric promotion and emits Java arithmetic in the declared primitive type —(x as Integer) + (y as Integer)compiles toint + int(not widened tolong).+with any String operand falls back to string concatenation;-/*//against non-numeric operands produces a compile-time error. Theas Doubleandas Floatcasts are accepted intypeCastclauses, including indefdeclarations. Numeric comparisons honour declared casts on both sides (no more universalh.toLong()wrapper). - Fix:
avgHistogramPercentile/sumHistogramPercentilemeter functions reported the smallest finite bucket boundary (e.g.10for OTelgen_ai_server_request_durationwhoseleis rewritten from0.01s→10ms) for every rank when no samples were observed in any bucket. The percentile loop'scount >= roofcheck matched on the first sorted bucket because both sides were0.calculate()now short-circuits to0for every rank when the windowed total is0. - Fix: MAL
expPrefixnow applies to every metric source inexp, not just the leading one. Previously the prefix was spliced after the first., so secondary metrics inside arguments (e.g. the divisor ina.sum(['s']).safeDiv(b.sum(['s']))) silently skipped the prefix — a rule like envoy-ai-gateway'srequest_latency_avg(sum / count) would tag-rewrite only the dividend. The injection is now AST-aware: every bare-IDENTIFIER metric source is wrapped, while downsampling-type constants (SUM,AVG,LATEST,SUM_PER_MIN,MAX,MIN) are skipped. - Add
@Stream(allowBootReshape = true)opt-in for additive boot-time reshape of BanyanDB streams / measures. Code-defined stream classes (e.g.AlarmRecord) can now annotate their schema as eligible for in-place additive update at OAP boot — a new@Columnis appended to the live tag-family / fields viaclient.updateinstead of being silently rejected withSKIPPED_SHAPE_MISMATCH(which previously forced operators to drop the measure / stream and lose historical rows). Additive includes both new tags / fields and relocating an existing tag between families when a@Column'sstorageOnlyflag flips (e.g.id1moving fromstorage-only→searchablewhen it becomes indexed). The opt-in is per-stream and gated by anisPurelyAdditiveshape diff: tag type changes, tag drops, kind flips (tag↔field), entity / interval / sharding-key changes, and field re-typing still skip withSKIPPED_SHAPE_MISMATCH, so identity-breaking edits remain explicit operator actions. Only the init / standalone OAP performs the reshape; non-init peers continue through the existing poll-and-wait loop so a single node drives DDL. When acheck*recordsSKIPPED_SHAPE_MISMATCHthe dependentIndexRule/IndexRuleBindingreconciliation is also skipped — preventing the previous gap where the binding silently updated to a tag list that diverged from the live tag-family layout.AlarmRecordis opted in. Default remainsfalsefor all other models — boot-time reshape stays off unless the annotation is explicitly set. Operator caveat: BanyanDB does not physically migrate existing rows when a tag's family changes; pre-existing data stays in its original on-disk location while new writes go to the declared family — expect a backfill window for queries that route through new IndexRules on relocated tags. - Mask keywords
trustStorePass,keyStorePassby default. - Bump up dependencies to clear CVE alerts on shipped OAP jars: log4j
2.25.3→2.25.4, jackson2.18.5→2.18.6, kafka-clients3.4.0→3.9.2, postgresql42.4.4→42.7.11, commons-compress1.21→1.26.2. - Bump up more dependencies to clear CVE alerts on shipped OAP jars: netty
4.2.12.Final→4.2.15.Final, jackson2.18.6→2.18.8, commons-codec1.11→1.13. Also realignjackson-databind2.16.0→2.18.8so the whole jackson family is managed at a single version (it had been left behind the other jackson artifacts). - Bump Apache Curator
4.3.0→5.9.0and Apache ZooKeeper3.5.7→3.9.5together to clear CVE-2023-44981 (the bundled ZooKeeper jar carried it; OAP is a ZooKeeper client only, so the server-side bug was never reachable, but the jar tripped Dependabot). The cluster-zookeeper and configuration-zookeeper plugins use only stable Curator APIs, so no source changes were required. Operator-facing change: the supported ZooKeeper server version is now 3.6+ (Curator 5.x uses ZooKeeper persistent watches, added in server 3.6.0); older servers (3.5.x, 3.4.x) are no longer supported. - Migrate the Consul cluster and configuration client from the abandoned
com.orbitz.consul:consul-client1.5.3to the maintained forkorg.kiwiproject:consul-client0.9.0to clear the okhttp CVE the old client carried (CVE-2021-0341; the old client pinned okhttp3.14.9, fixed in okhttp4.9.2+), so the BOM now pins okhttp to4.12.0. The fork's0.9.xline is the last one built for JDK 11 (which SkyWalking still targets);1.0.0+is compiled to JDK 17 bytecode, so the migration stays on0.9.0. The cluster-consul and configuration-consul plugins use only stable Consul client APIs, so the change is a package rename (com.orbitz.consul→org.kiwiproject.consul); okhttp is pulled only by the Consul plugins (the fabric8 Kubernetes client excludes its okhttp transport), so no other module is affected. - Bump test-scope assertj-core
3.20.2→3.27.7to clear CVE-2026-24400 (XXE inisXmlEqualTo, not used by any test). - Clear three security alerts: bump the Airflow e2e mock's pinned
protobuf4.25.8→5.29.6(withopentelemetry-proto1.24.0→1.28.0, whoseprotobuf<5.0cap was the blocker, andgrpcio1.62.2→1.63.2, required becauseopentelemetry-proto1.28.0's gRPC stubs callunary_unary(_registered_method=...)) to clear CVE-2026-0994 — a CI-only test fixture, never shipped; and widen the cumulativecountaccumulator frominttolonginSumHistogramPercentileFunction/AvgHistogramPercentileFunctionto clear the CodeQLimplicit-cast-in-compound-assignmentalerts (count += valuesilently narrowed alongbucket-count sum back toint, whiletotalwas alreadylong). - Clear Dependabot CVE alerts in the e2e Go test fixtures (
cases/go/serviceandcases/profiling/ebpf/network, CI-only, never shipped in any OAP artifact): bumpgolang.org/x/net0.48.0→0.55.0(CVE-2026-25681, CVE-2026-27136, CVE-2026-33814, CVE-2026-39821) and move the Go toolchain from1.24to1.26.5(CVE-2026-27145 / CVE-2026-42504 fixed in 1.26.4, CVE-2026-39822 fixed in 1.26.5) by switching the sharedskywalking-gobase image to the-go1.26variant and bumpingSW_AGENT_GO_COMMITto7544822, whose-go1.26image ships go1.26.5. - Fix: continuous profiling policy validation now rejects a threshold / count of
0to match the error messages and rover'svalue >= thresholdtrigger semantics (a0threshold would always trigger). CPU percent and HTTP error rate are tightened from[0-100]to(0-100]. - Fix wrong BanyanDB resource options in record data.
- Align the default BanyanDB stage
segmentIntervalvalues so each coarser stage is an integer multiple of the finer one (recordscold3→4,metricsMinutecold5→6,metricsHourwarm7→10and cold15→20), keeping hot → warm → cold lifecycle migration on the cheap whole-segment fast path. - Fix:
layer-extensions.ymlis now excluded from theskywalking-oapjar and shipped to the distributionconfig/directory, so an operator-editedconfig/layer-extensions.ymlis no longer shadowed by the empty template bundled in the jar. Because the OAP launch script putsoap-libs/*.jarahead ofconfig/on the classpath,ResourceUtils.read("layer-extensions.yml")previously always resolved the jar-bundledlayers: []and silently ignored the operator's file — custom layers declared there never registered. The file now follows the same exclude-from-jar + copy-to-config/packaging as every other operator-editable config (application.yml,alarm-settings.yml, etc.). - Fix: the v2 MAL compiler now resolves custom layers referenced as
Layer.NAMEin an expression. A custom layer declared through alayerDefinitions:block (orlayer-extensions.yml/ theLayerExtensionSPI) has no generatedLayer.*static field, soservice(['svc'], Layer.IOT_FLEET)previously failed code generation becauseLayerhas noIOT_FLEETfield. The compiler now lowers everyLayer.NAMEstatic-field reference to a runtimeLayer.nameOf("NAME")registry lookup, so a custom layer can be referenced exactly like a built-in one (Layer.GENERAL). For a built-in layer this is equivalent, becauseLayer.nameOf("GENERAL")returns the same instance as theLayer.GENERALfield. The lowering is scoped toLayeronly; the other MAL enum types (DetectPoint,DownsamplingType, etc.) are real Java enums and keep their direct static-field reference. - Fix Envoy ALS rendering for the LAL live-debugger and the persisted log
content: an Istio metadata-exchange peer incommon_properties.filter_state_objects(legacy Wasmwasm.*_peer=Any{BytesValue}wrapping a FlatBuffer, or modern*_peer=Any{Struct}) is now decoded into the readable peer metadata (pod / namespace / labels) instead of an opaquejsonformat-failedenvelope or base64. The serialization is hardened so a single un-printable field can no longer blank the whole entry — theLalPayloadDebugDumpprinter carries a well-known-typeTypeRegistryand sanitizes every valueJsonFormatwould reject (an unresolvable, no-slash, or corrupt-bytesAnydegrades to an@unresolvedplaceholder; a non-finiteValuedoubleNaN/Infinityis rendered as a string), keeping the rest of the entry readable. Because the LAL output builder'sbindInputruns eagerly before the debug capture, this also stops an unregisteredfilter_state_objectstype from throwing and aborting the whole rule (dropping the mesh log). Decoding is wired through a newLalInputDebugRendererSPI (EnvoyAlsHttpDebugRenderer/EnvoyAlsTcpDebugRenderer) solog-analyzerreaches the receiver-side decoders without depending on the Envoy receiver, and covers both HTTP and TCP access logs. - Surface the effective BanyanDB configuration (
bydb.yml/bydb-topn.yml) in the/debugging/config/dumpadmin API. Because the BanyanDB config moved to a separate file in 10.2.0, a BanyanDB deployment previously showed an emptystorage.banyandbblock in the dump; its post-environment-resolution values are now merged into the same response understorage.banyandb.*(TopN rules understorage.banyandb.topN.*), masked by the same secret-keyword list, via a genericConfigDumpExtensionSPI onServerStatusServicethat any module loading config from a secondary file can implement. - Fix: an MQE
top_n(metric, N, order, attrX='value')query whose attribute is not a column of the target metric now returns a descriptive MQE error instead of a raw storageIOExceptionsurfaced asInternal IO exception, query metrics error.. Attribute columns (attr0..attrN) exist only on decorated metrics (service_*/endpoint_*/kubernetes_service_*, set to the layer name via OAL.decorator(...)) and the MAL meter base; metrics such as relations or database / cache / mq access carry none, so passing an attribute condition previously reached the storage engine with a tag it does not define and failed there.MQEVisitornow validates each attribute key against the metric's registered queryable columns before the storage call and raisesIllegalExpressionException(naming the attribute and the metric) when it is absent. - Migrate all BanyanDB storage read queries from the typed query-builder API to BydbQL.
- Fix: BanyanDB queries no longer silently truncate at the storage engine's implicit row cap. BanyanDB applies its own default limit to any query that carries none — 100 rows for measures, 20 for streams/traces — and applies it after
GROUP BY, so an over-long result set is cut short rather than rejected. OAP never sent a limit on several read paths, so a metrics query returned at most 100 data points regardless of the requested range: a 4-hour minute-step read rendered only its first 100 minutes and the rest showed as empty, even thoughDurationUtilsallows up to 500 steps. The same cap silently shortened topology relation maps, instance/process metadata lists, profiling thread snapshots and eBPF task lists. Every BydbQL query now leaves OAP with an explicitLIMIT: the entity-scoped metrics read sends the exact number of assembled duration points (matching the row set the ES/JDBC DAOs fetch by id), ad-hocSELECT TOPsends its ownN, and anything that does not paginate itself falls back to the configuredresultWindowMaxSize(default10000) instead of the engine default. ES and JDBC storage were never affected. - Support BanyanDB's group-scoped trace retention pipeline in
bydb.yml. ThetraceandzipkinTracegroups gain apipelineblock (enabled,enabledEvents,mergeGraceSeconds,finalizeGraceSeconds, and an orderedpluginschain) that OAP pushes onto the BanyanDB group as aTracePipelineConfig, letting a sampler plugin drop traces inside the data node during Hot-phase compaction — after storage, so it reclaims space already written and decides per whole trace, unlike the ingest-side server-side trace sampling. Disabled by default, since it deletes stored traces. Even when enabled it is inert unless the data node runs the plugin-capable BanyanDB image with the sampler.somounted — a node without that support ignores the config, and one that cannot load the plugin logs an error and merges unfiltered, so nothing is dropped unexpectedly. The two grace windows use-1for "inherit the data node default" (30s merge / 5m finalize) because the node treats any non-positive grace as unset.enabledEventsaccepts a comma-separated string so it can be set from the environment (SW_STORAGE_BANYANDB_TRACE_PIPELINE_ENABLED_EVENTSand itsZIPKIN_variant) as well as a YAML block list; an empty value falls back toPIPELINE_EVENT_MERGE, soPIPELINE_EVENT_FINALIZEruns only when named explicitly. Each plugin'sconfigis passed through verbatim as a protobufStruct: nested lists and objects (e.g.keepTagRules) now survive the config loader and are serialized as realListValue/Structrather than being flattened to a string. Note a float written as a${ENV:default}placeholder still reaches the plugin as a JSON string, because the shared placeholder resolver only preserves String/Integer/Long/Boolean; the first-party samplers accept a quoted number for exactly this reason. See Trace Tail Sampling for how a trace is judged, and BanyanDB storage for the configuration keys. - Fix: a blank value in
bydb.yml(key:with nothing after it) aborted OAP startup with an opaqueNullPointerExceptionfromjava.util.Properties, which rejects null values. The BanyanDB config loader now skips blank entries and leaves the field at its default, the same outcome as omitting the line. - Route LAL rules within a layer by their input type, so a single layer can host rules over different proto inputs. Each compiled rule now carries its effective input type (the proto class its
parsed.*getters cast to, ornullfor parser-based / untyped rules), andLogFilterListenerskips any rule whose type doesn't match the incoming log instead of running every rule in the layer. This fixes a latentClassCastException(caught and logged per log) that fired whenever aMESHlog of one shape reached a rule compiled for another — e.g. an Envoy TCP access log or a network-profilingLogDatahitting the HTTPenvoy-alsrule. Adds anenvoy-als-tcprule (inputType: TCPAccessLogEntry) alongside the existing HTTPenvoy-als; both share theMESHlayer and each now only sees its own entry type. - Fix the PagerDuty alarm hook to default its Events API v2 endpoint to
https://events.pagerduty.com/v2/enqueue. - Fix
HttpAlarmCallbacklogging a successful alarm delivery as a failure. The shared HTTP hook helper treated only200and204as success, so any other 2xx — notably the202 Acceptedreturned by asynchronous intake APIs such as PagerDuty's Events API v2 — producedsend to ... failure. Response code: 202at ERROR level on every delivered alarm. The alarm was still delivered; the log entry was wrong. The check now accepts the whole 2xx range, for all alarm hooks. - Make the PagerDuty Events API v2 endpoint configurable through a new optional
events-api-urlsetting on eachpagerdutyhook, defaulting to the US service region endpoint. An account in PagerDuty's EU service region can now point the hook straight athttps://events.eu.pagerduty.com/v2/enqueuerather than relying on PagerDuty forwarding the request — and the routing key and alarm payload from an EU-region account no longer transit the US region. - Bump the default BanyanDB compatible server API version (
SW_STORAGE_BANYANDB_COMPATIBLE_SERVER_API_VERSIONS) from0.10to0.11.
UI
- Add Airflow layer dashboards and menu i18n under Workflow Scheduler in Horizon UI (SWIP-7).
- Add mobile menu icon and i18n labels for the iOS layer.
- Fix metric label rendering in multi-expression dashboard widgets.
- Add i18n menu labels for WeChat Mini Program and Alipay Mini Program (en / zh / es) — sub-menus rendered as raw keys until this bump.
- Support trace V1 view in trace single page.
Documentation
- Document the
meter-analyzer-configcatalog in the runtime-rule hot-update and DSL-debugging references, and add the optionallayerDefinitionsblock, the active-files startup-failure behaviour, and a hot-update / debugging section to the meter setup doc. - Update LAL documentation with
sourceAttribute()function andlayer: automode. - Add Airflow monitoring setup documentation (SWIP-7).
- Add iOS app monitoring setup documentation.
- Add WeChat / Alipay Mini Program monitoring setup documentation, plus a client-side-monitoring section in the security guide covering public-internet ingress (OTLP +
/v3/segments) for mobile / browser / mini-program SDKs. - Improve downsampling documentation
- Fix the docker-compose quickstart: OAP healthcheck no longer calls
curl(absent from the JRE image) and probes the query port via bash/dev/tcp; the Horizon UI service maps the correct container port (8081) and mounts ahorizon.yaml(binding0.0.0.0, OAP URLs, demoadmin/adminlogin) instead of non-existentSW_*_ADDRESSenv vars. - Add PHP runtime metrics (PHM) dashboard documentation (agent setup, OAP
php-runtimeMAL rules, Horizon UI widgets). - Add Node.js runtime metrics dashboard documentation (agent setup, OAP
nodejs-runtimeMAL rules, Horizon UI widgets). - Add a BanyanDB trace tail sampling guide under "BanyanDB Exclusive Setup", covering how a trace is judged (the OR-ed rule chain, the end-to-end duration envelope rather than a per-span maximum, and the deterministic trace-ID hash behind
healthySampleRate), what the two first-party samplers read from each trace schema, the MERGE vs FINALIZE events and their grace windows, the fail-open behaviour when a plugin is absent or unloadable, and the metrics to watch. Also document the Zipkin receiver's previously undocumentedsampleRateandmaxSpansPerSecondin the server-side trace sampling guide. - Correct the APISIX monitoring guide to align its Collector configuration and metric names with the current APISIX MAL rules and Horizon UI Dashboard.
All issues and pull requests are here
Download
https://skywalking.apache.org/downloads/
Notice
Don't download source codes from this page.
Please follow build document, if you want to build source codes by yourself.
Project
-
Introduce OAL V2 engine:
- Immutable AST models for thread safety and predictable behavior
- Type-safe enums replacing string-based filter operators
- Precise error location reporting with file, line, and column numbers
- Clean separation between parsing and code generation phases
- Enhanced testability with models that can be constructed without parsing
-
Introduce MAL/LAL/Hierarchy V2 engine — replace Groovy-based DSL runtime with ANTLR4 parser + Javassist bytecode generation:
- Remove Groovy runtime dependency from OAP backend
- Fail-fast compilation at startup — syntax and type errors are caught immediately instead of at first execution
- Thread-safe generated classes with no ThreadLocal or shared mutable state
- Immutable AST models for all three DSLs (MAL, LAL, Hierarchy rules)
- Explicit context passing replaces Groovy binding/closure capture
- v1 (Groovy) and v2 (ANTLR4+Javassist) cross-version checker validates behavioral equivalence across 1,290+ expressions
- JMH benchmarks confirm v2 runtime speedups: MAL execute ~6.8x, LAL compile ~39x / execute ~2.8x, Hierarchy execute ~2.6x faster than Groovy v1
- Generated class names follow
{yamlFileName}_L{lineNo}_{ruleName}pattern for all DSLs (MAL/LAL/Hierarchy) for stack trace traceability
-
Breaking Change — LAL: remove
slowSql {}andsampledTrace {}sub-DSLs from the grammar. These are replaced by the configurableoutputTypemechanism:- Set
outputTypeat the rule level in YAML config to specify the output entity class. Use the short name registered byLALOutputBuilderSPI (e.g.,outputType: SlowSQL,outputType: SampledTrace), or a fully qualified class name as fallback. LALOutputBuilderimplementations are discovered viaServiceLoaderand expose aname()method for short name resolution. Built-in types:SlowSQL(DatabaseSlowStatementBuilder),SampledTrace(SampledTraceBuilder).- Output fields (e.g.,
id,statement,latency) are now regular field assignments in the extractor block, no longer wrapped in sub-DSL blocks. - Custom output fields are validated against the output type's setters at compile time.
- An explicit
sink {}block is now required for data to be persisted. Withoutsink {}, no data is saved — this applies to all LAL rules including those usingoutputType. In v1,slowSql {}andsampledTrace {}dispatched data as a side-effect inside the extractor; in v2, persistence is always handled by the sink pipeline. - Output type resolution order: per-rule YAML
outputType(short name via SPI or FQCN) >LALSourceTypeProviderSPI default >Log.class. - All bundled LAL scripts (
mysql-slowsql.yaml,pgsql-slowsql.yaml,redis-slowsql.yaml,envoy-als.yaml,k8s-service.yaml,mesh-dp.yaml) have been updated. - Users with custom LAL scripts using
slowSql {}orsampledTrace {}must migrate to the new syntax. See LAL documentation. - Rename
ExtractorSpectoMetricExtractor— now only handles LALmetrics {}blocks. Standard field setters (service, layer, timestamp, etc.) are compiled as direct setter calls on the output builder. - Add
deflocal variable support in LAL extractor (and filter level). SupportstoJson()andtoJsonArray()built-in functions for converting strings, Maps, and protobufStructto Gson JSON objects. Variables support null-safe navigation (?.), method chaining with compile-time type inference, and explicit type cast viaas(built-in types or fully qualified class names, e.g.,def resp = parsed?.response as io.envoyproxy.envoy.data.accesslog.v3.HTTPResponseProperties). - Breaking Change —
LALOutputBuilder.init()signature changed frominit(LogData, NamingControl)toinit(LogData, Optional<Object> extraLog, NamingControl). TheextraLogparameter carries the typed input object (e.g.,HTTPAccessLogEntryfor envoy access logs) so that output builders can access protocol-specific fields. CustomLALOutputBuilderimplementations must update theirinit()method signature.
- Set
-
Fix E2E test metrics verify: make it failure if the metric values all null.
-
Support building, testing, and publishing with Java 25.
-
Add
CLAUDE.mdas AI assistant guide for the project. -
Upgrade Byte Buddy to 1.18.7 and configure explicit
-javaagentfor Mockito/Byte Buddy in Surefire to avoid JDK 25 dynamic agent loading warnings. -
Upgrade Groovy to 5.0.3 in OAP backend.
-
Bump up nodejs to v24.13.0 for the latest UI(booster-ui) compiling.
-
Drop Elasticsearch 7.x (EOL) and OpenSearch 1.x from E2E tests, upgrade all ES tests to 8.18.8, and update skywalking-helm to use ECK 8.18.8.
-
Add
library-batch-queuemodule — a partitioned, self-draining queue with type-based dispatch,
adaptive partitioning, idle backoff, and throughput-weighted drain rebalancing (DrainBalancer).
Designed to replace DataCarrier in high-fan-out scenarios. -
Replace DataCarrier with BatchQueue for L1 metrics aggregation, L2 metrics persistence, TopN persistence,
all three exporters (gRPC metrics, Kafka trace, Kafka log), and gRPC remote client.
All metric types (OAL + MAL) now share unified queues instead of separate OAL/MAL pools.
Each exporter keeps its own dedicated queue with 1 thread, preserving original buffer strategies.
Thread count comparison on an 8-core machine (gRPC remote client excluded — unchanged 1 thread per peer):Queue Old threads Old channels Old buffer slots New threads New partitions New buffer slots New policy L1 Aggregation (OAL) 24 ~1,240 ~12.4M 8 (unified) ~330 adaptive ~6.6M cpuCores(1.0)L1 Aggregation (MAL) 2 ~100 ~100K (unified above) L2 Persistence (OAL) 2 ~620 ~1.24M 3 (unified) ~330 adaptive ~660K cpuCoresWithBase(1, 0.25)L2 Persistence (MAL) 1 ~100 ~100K (unified above) TopN Persistence 4 4 4K 1 4 adaptive 4K fixed(1)Exporters (gRPC/Kafka) 3 6 120K 3 (1 per exporter) — 60K fixed(1)eachTotal 36 ~2,070 ~13.9M 15 ~664 ~7.3M -
Remove
library-datacarrier-queuemodule. All usages have been replaced bylibrary-batch-queue. -
Enable throughput-weighted drain rebalancing for L1 aggregation and L2 persistence queues (10s interval).
Periodically reassigns partitions across drain threads to equalize load when metric types have skewed throughput. -
Add benchmark framework under
benchmarks/with Kind-based Kubernetes environments, automated thread dump
collection and analysis. First case:thread-analysisonistio-cluster_oap-banyandbenvironment. -
Add virtual thread support (JDK 25+) for gRPC and Armeria HTTP server handler threads.
SetSW_VIRTUAL_THREADS_ENABLED=falseto disable.Pool Threads (JDK < 25) Threads (JDK 25+) gRPC server handler ( core-grpc,receiver-grpc,als-grpc,ebpf-grpc)Cached platform (unbounded) Virtual threads HTTP blocking ( core-http,receiver-http,promql-http,logql-http,zipkin-query-http,zipkin-http,firehose-http)Cached platform (max 200) Virtual threads VT carrier threads (ForkJoinPool) N/A ~9 shared On JDK 25+, all 11 thread pools above share ~9 carrier threads instead of up to 1,400+ platform threads.
-
Change default Docker base image to JDK 25 (
eclipse-temurin:25-jre). JDK 11 kept as-java11variant. -
Thread count benchmark comparison — 2-node OAP cluster on JDK 25 with BanyanDB, Istio bookinfo traffic
(10-core machine, JVM-internal threads excluded):Pool v10.3.0 threads v10.4.0 threads Notes L1 Aggregation (OAL + MAL) 26 (DataCarrier) 10 (BatchQueue) Unified OAL + MAL L2 Persistence (OAL + MAL) 3 (DataCarrier) 4 (BatchQueue) Unified OAL + MAL TopN Persistence 4 (DataCarrier) 1 (BatchQueue) gRPC Remote Client 1 (DataCarrier) 1 (BatchQueue) Per peer Armeria HTTP event loop 20 5 min(5, cores)shared groupArmeria HTTP handler on-demand platform(increasing with payload) - Virtual threads on JDK 25+ gRPC event loop 10 10 Unchanged gRPC handler on-demand platform(increasing with payload) - Virtual threads on JDK 25+ ForkJoinPool (Virtual Thread carrier) 0 ~10 JDK 25+ virtual thread scheduler HttpClient-SelectorManager 4 2 SharedKubernetesClient Schedulers + others ~24 ~24 Mostly unchanged Total (OAP threads) 150+ ~72 ~50% reduction, stable in high payload. -
Replace PowerMock Whitebox with standard Java Reflection in
server-library,server-core, andserver-configurationto support JDK 25+. -
Fix
/debugging/config/dumpmay leak sensitive information if there are second level properties in the configuration.
OAP Server
-
KubernetesCoordinator: make self instance return real pod IP address instead of
127.0.0.1. -
Fix KubernetesCoordinator self-endpoint race condition: include self in the endpoint list so DynamicEndpointGroup re-fires the listener when the self pod appears in the informer after initial sync.
-
Enhance the alarm kernel with recovered status notification capability
-
Fix BrowserWebVitalsPerfData
clsTimetoclsand make it double type. -
Init
log-mal-rulesat module provider start stage to avoid re-init for every LAL. -
Fail fast if SampleFamily is empty after MAL filter expression.
-
Fix range matrix and scalar binary operation in PromQL.
-
Add
LatestLabeledFunctionfor meter. -
MAL Labeled metrics support additional attributes.
-
Bump up netty to 4.2.9.Final.
-
Add support for OpenSearch/ElasticSearch client certificate authentication.
-
Fix BanyanDB logs paging query.
-
Replace BanyanDB Java client with native implementation.
-
Remove
bydb.dependencies.propertiesand set the compatible BanyanDB API version number in${SW_STORAGE_BANYANDB_COMPATIBLE_SERVER_API_VERSIONS}. -
Fix trace profiling query time range condition.
-
Add named ThreadFactory to all
Executors.newXxx()calls to replace anonymouspool-N-thread-Mthread names
with meaningful names for easier thread dump analysis. Complete OAP server thread inventory
(counts on an 8-core machine, exporters and JDBC are optional):Catalog Thread Name Count Policy Partitions Data Pipeline BatchQueue-METRICS_L1_AGGREGATION-N8 cpuCores(1.0)~330 adaptive Data Pipeline BatchQueue-METRICS_L2_PERSISTENCE-N3 cpuCoresWithBase(1, 0.25)~330 adaptive Data Pipeline BatchQueue-TOPN_PERSISTENCE-N1 fixed(1)~4 adaptive Data Pipeline BatchQueue-GRPC_REMOTE_{host}_{port}-N1 per peer fixed(1)fixed(1)Data Pipeline BatchQueue-EXPORTER_GRPC_METRICS-N1 fixed(1)fixed(1)Data Pipeline BatchQueue-EXPORTER_KAFKA_TRACE-N1 fixed(1)fixed(1)Data Pipeline BatchQueue-EXPORTER_KAFKA_LOG-N1 fixed(1)fixed(1)Data Pipeline BatchQueue-JDBC_ASYNC_BATCH_PERSISTENT-N4 (configurable) fixed(N)fixed(N)Scheduler RemoteClientManager1 scheduled — Scheduler PersistenceTimer1 scheduled — Scheduler PersistenceTimer-prepare-N2 (configurable) fixed pool — Scheduler DataTTLKeeper1 scheduled — Scheduler CacheUpdateTimer1 scheduled — Scheduler HierarchyAutoMatching1 scheduled — Scheduler WatermarkWatcher1 scheduled — Scheduler AlarmCore1 scheduled — Scheduler HealthChecker1 scheduled — Scheduler EndpointUriRecognition1 (conditional) scheduled — Scheduler FileChangeMonitor1 scheduled — Scheduler BanyanDB-ChannelManager1 scheduled — Scheduler GRPCClient-HealthCheck-{host}:{port}1 per client scheduled — Scheduler EBPFProfiling-Nconfigurable fixed pool — -
Fix BanyanDB time range overflow in profile thread snapshot query.
-
BrowserErrorLog, OAP Server generated UUID to replace the original client side ID, because Browser scripts can't guarantee generated IDs are globally unique. -
MQE: fix multiple labeled metric query and ensure no results are returned if no label value combinations match.
-
Fix
BrowserErrorLogBanyanDB storage query order. -
BanyanDB Client: Property query supportOrder By. -
MQE: trim the label values condition for the labeled metrics query to enhance the readability.
-
PromQL service: fix time parse issue when using RFC3339 time format for querying.
-
Envoy metrics service receiver: support adapter listener metrics.
-
Envoy metrics service receiver: support config MAL rules files.
-
Fix
HttpAlarmCallbackcreating a newHttpClienton every alarmpost()call, leaking NIO selector threads.
Replace with a shared static singleton. -
Add
SharedKubernetesClientsingleton inlibrary-kubernetes-supportto replace 9 separate
KubernetesClientBuilder().build()calls across 7 files. FixesKubernetesCoordinatorclient leak
(never closed, NIO selector thread persisted). UsesKubernetesHttpClientFactorywith virtual threads
on JDK 25+ or a single fixed executor thread on JDK <25. -
Reduce Armeria HTTP server event loop threads. All 7 HTTP servers now share one event loop group
instead of each creating their own (Armeria default:cores * 2per server = 140 on 10-core).
Event loop:min(5, cores)shared — non-blocking I/O multiplexing needs few threads.
Blocking executor: JDK 25+ uses virtual threads; JDK <25 keeps Armeria's default cached pool
(up to 200 on-demand threads) because HTTP handlers block on long storage/DB queries. -
Add the spring-ai components and the GenAI layer.
-
Bump up netty to 4.2.10.Final.
-
Bump up log4j to 2.25.3 and jackson to 2.18.5.
-
Remove PowerMock dependency. Replace
WhiteboxwithReflectUtil(standard Java reflection +sun.misc.Unsafefor final fields) across all modules to support JDK 25+. -
Support TraceQL and Tempo API for Zipkin and SkyWalking native trace query.
-
Remove
initExpfrom MAL configuration. It was an internal Groovy startup validation mechanism, not an end-user feature. The v2 ANTLR4 compiler performs fail-fast validation at startup natively. -
Update hierarchy rule documentation:
auto-matching-rulesinhierarchy-definition.ymlno longer use Groovy scripts. Rules now use a dedicated expression grammar supporting property access, String methods, if/else, comparisons, and logical operators. All shipped rules are fully compatible. -
Activate
otlp-traceshandler inreceiver-otelby default. -
Update Istio E2E test versions: remove EOL 1.20.0, add 1.25.0–1.29.0 for ALS/Metrics/Ambient tests. Update Rover with Istio Process test from 1.15.0 to 1.28.0 with Kubernetes 1.28.
-
Support Virtual-GenAI monitoring.
-
Fix on-demand pod log parsing failure by replacing invalid
DateTimeFormatterpattern withISO_OFFSET_DATE_TIME. -
Fix Zipkin receiver compatibility with application/x-protobuf Content-Type.
-
Support Envoy AI Gateway observability (SWIP-10): new
ENVOY_AI_GATEWAYlayer with MAL/LAL rules
for GenAI metrics (token usage, latency, TTFT, TPOT) and access log sampling via OTLP. -
OTel metric receiver: convert data point attribute dots to underscores (consistent with resource attributes
and metric names). Label mappings are now fallback-only — explicitjob_namein resource attributes takes
precedence over theservice.namefallback. -
OTel log handler: prefer
service.instance.id(OTel spec) overservice.instancewith fallback. -
Add
SampleFamily.debugDump()for MAL debugging. -
Support virtual GenAI analysis for otlp and zipkin traces.
UI
- Fix the missing icon in new native trace view.
- Enhance the alert page to show the recovery time of resolved alerts.
- Implement a common pagination component.
- Fix validation guard for router.
- Add the
coldStageto theDurationfor queries. - Optimize the pages theme.
- Fix incorrect virtual service names.
- Add the GenAI icon to Topology.
- Bump up dependencies.
- Correct active/inactive text for the cold stage.
- Add the gen-ai menu.
- Fix: set the step to SECOND in the duration for Log/Trace/Alarm/Tag.
Documentation
- Add benchmark selection into banyanDB storage documentation.
- Fix progressive TTL doc for banyanDB.
- Restructure
docs/README.mdfor better navigation with high-level documentation overview. - Move Marketplace as a top-level menu section with Overview introduction in
menu.yml. - Polish
marketplace.mdas the overview page for all out-of-box monitoring features. - Add "What's Next" section to Quick Start docs guiding users to Marketplace.
- Restructure agent compatibility page with OAP 10.x focus and clearer format for legacy versions.
- Remove outdated FAQ docs (v3, v6 upgrade guides and 7.x metrics issue).
- Remove "since 7/8/9.x" version statements from documentation as features are standard in 10.x.
All issues and pull requests are here
Download
https://skywalking.apache.org/downloads/
Notice
Don't download source codes from this page.
Please follow build document, if you want to build source codes by yourself.
BanyanDB Storage Option is large-scale ready
BanyanDB is a native-built SkyWalking database that focuses entirely on SkyWalking use cases. BanyanDB demonstrates significant potential in improving performance and optimizing resource utilization. In typical deployment scenarios involving around 200 services and 200+ calls per second, a cluster configured with 2 liaison nodes and 2 data nodes—each equipped with 4 vCPUs and 8 GB memory—delivers stable and efficient performance. BanyanDB also supports full tracing sampling, providing trace collection capabilities up to 100%, ensuring comprehensive observability without compromising system stability.
New Trace Model in BanyanDB
Optimized the Trace model implementation for BanyanDB 0.9.0, significantly reducing query frequency between OAP and BanyanDB.
Introduced new query views based on the latest query features, greatly reducing page latency.
Project
- Bump up BanyanDB dependency version(server and java-client) to 0.9.0.
- Fix CVE-2025-54057, restrict and validate url for widgets.
- Fix
MetricsPersistentWorker, remove DataCarrier queue fromHour/Daydimensions metrics persistent process.
This is important to reduce memory cost andHour/Daydimensions metrics persistent latency. - [Break Change] BanyanDB: support new Trace model.
OAP Server
- Implement self-monitoring for BanyanDB via OAP Server.
- BanyanDB: Support
hot/warm/coldstages configuration. - Fix query continues profiling policies error when the policy is already in the cache.
- Support
hot/warm/coldstages TTL query in the status API and graphQL API. - PromQL Service: traffic query support
limitand regex match. - Fix an edge case of HashCodeSelector(Integer#MIN_VALUE causes ArrayIndexOutOfBoundsException).
- Support Flink monitoring.
- BanyanDB: Support
@ShardingKeyfor Measure tags. - BanyanDB: Support cold stage data query for metrics/traces/logs.
- Increase the idle check interval of the message queue to 200ms to reduce CPU usage under low load conditions.
- Limit max attempts of DNS resolution of Istio ServiceEntry to 3, and do not wait for first resolution result in case the DNS is not resolvable at all.
- Support analysis waypoint metrics in Envoy ALS receiver.
- Add Ztunnel component in the topology.
- [Break Change] Change
componentIdtocomponentIdsin the K8SServiceRelation Scope. - Adapt the mesh metrics if detect the ambient mesh in the eBPF access log receiver.
- Add JSON format support for the
/debugging/config/dumpstatus API. - Enhance status APIs to support multiple
acceptheader values, e.g.Accept: application/json; charset=utf-8. - Storage: separate
SpanAttachedEventRecordfor SkyWalking trace and Zipkin trace. - [Break Change]BanyanDB: Setup new Group policy.
- Bump up commons-beanutils to 1.11.0.
- Refactor: simplify the
Accepthttp header process. - [Break Change]Storage: Move
eventfrom metrics to records. - Remove string limitation in Jackson deserializer for ElasticSearch client.
- Fix
disable.oaldoes not work. - Enhance the stability of e2e PHP tests and update the PHP agent version.
- Add component ID for the
damengJDBC driver. - BanyanDB: Support custom
TopN pre-aggregationrules configuration in filebydb-topn.yml. - refactor: implement OTEL handler with SPI for extensibility.
- chore: add
toStringimplementation forStorageID. - chore: add a warning log when connecting to ES takes too long.
- Fix the query time range in the metadata API.
- OAP gRPC-Client support
Health Check. - [Break Change]
health_check_xxmetrics make response 1 represents healthy, 0 represents unhealthy. - Bump up grpc to 1.70.0.
- BanyanDB: support new Index rule type
SKIPPING/TREE, and update the recordlog'strace_idindexType toSKIPPING - BanyanDB: remove
index-onlyfrom tag setting. - Fix analysis tracing profiling span failure in ES storage.
- Add UI dashboard for Ruby runtime metrics.
- Tracing Query Execution HTTP APIs: make the argument
service layeroptional. - GraphQL API: metadata, topology, log and trace support query by name.
- [Break Change] MQE function
sort_valuessorts according to the aggregation result and labels rather than the simple time series values. - Self Observability: add
metrics_aggregation_queue_used_percentageandmetrics_persistent_collection_cached_sizemetrics for the OAP server. - Optimize metrics aggregate/persistent worker: separate
OALandMALworkers and consume pools. The dataflow signal drives the new MAL consumer,
the following table shows the pool size, driven mode and queue size for each worker.
| Worker | poolSize | isSignalDrivenMode | queueChannelSize | queueBufferSize |
|---|---|---|---|---|
| MetricsAggregateOALWorker | Math.ceil(availableProcessors * 2 * 1.5) | false | 2 | 10000 |
| MetricsAggregateMALWorker | availableProcessors * 2 / 8, at least 1 | true | 1 | 1000 |
| MetricsPersistentMinOALWorker | availableProcessors * 2 / 8, at least 1 | false | 1 | 2000 |
| MetricsPersistentMinMALWorker | availableProcessors * 2 / 16, at least 1 | true | 1 | 1000 |
- Bump up netty to 4.2.4.Final.
- Bump up commons-lang to 3.18.0.
- BanyanDB: support group
replicasanduser/passwordfor basic authentication. - BanyanDB: fix Zipkin query missing tag
QUERY. - Fix
IllegalArgumentException: Incorrect number of labels, tags in theLogReportServiceHTTPHandlerandLogReportServiceGrpcHandlerinconsistent withLogHandler. - BanyanDB: fix Zipkin query by
annotationQuery - HTTP Server: Use the default shared thread pool rather than creating a new event loop thread pool for each server. Remove the
MAX_THREADSfrom each server config. - Optimize all Armeria HTTP Server(s) to share the
CommonPoolsfor the whole JVM.
In theCommonPools, the max threads forEventLoopGroupisprocessor * 2, and forBlockingTaskExecutoris200and can be recycled if over the keepAliveTimeMillis (60000L by default).
Here is a summary of the thread dump without UI query in a simple Kind env deployed by SkyWalking showcase:
| Thread Type | Count | Main State | Description |
|---|---|---|---|
| JVM System Threads | 12 | RUNNABLE/WAITING | Includes Reference Handler, Finalizer, Signal Dispatcher, Service Thread, C2/C1 CompilerThreads, Sweeper thread, Common-Cleaner, etc. |
| Netty I/O Worker Threads | 32 | RUNNABLE | Threads named "armeria-common-worker-epoll-*", handling network I/O operations. |
| gRPC Worker Threads | 16 | RUNNABLE | Threads named "grpc-default-worker-*". |
| HTTP Client Threads | 4 | RUNNABLE | Threads named "HttpClient-*-SelectorManager". |
| Data Consumer Threads | 47 | TIMED_WAITING (sleeping) | Threads named "DataCarrier.*", used for metrics data consumption. |
| Scheduled Task Threads | 10 | TIMED_WAITING (parking) | Threads named "pool--thread-". |
| ForkJoinPool Worker Threads | 2 | WAITING (parking) | Threads named "ForkJoinPool-*". |
| BanyanDB Processor Threads | 2 | TIMED_WAITING (parking) | Threads named "BanyanDB BulkProcessor". |
| gRPC Executor Threads | 3 | TIMED_WAITING (parking) | Threads named "grpc-default-executor-*". |
| JVM GC Threads | 13 | RUNNABLE | Threads named "GC Thread#*" for garbage collection. |
| Other JVM Internal Threads | 3 | RUNNABLE | Includes VM Thread, G1 Main Marker, VM Periodic Task Thread. |
| Attach Listener | 1 | RUNNABLE | JVM attach listener thread. |
| Total | 158 | - | - |
- BanyanDB: make
BanyanDBMetricsDAOoutputscan all blocksinfo log only when the model is notindexModel. - BanyanDB: fix the
BanyanDBMetricsDAO.multiGetnot work properly inIndexMode. - BanyanDB: remove
@StoreIDAsTag, and automatically create a virtual String tagidfor the SeriesID inIndexMode. - Remove method
appendMutantfrom StorageID. - Fix otlp log handler response error and otlp span convert error.
- Fix service_relation source layer in mq entry span analyse.
- Fix metrics comparison in promql with bool modifier.
- Add rate limiter for Zipkin trace receiver to limit maximum spans per second.
- Open
health-checkermodule by default due to latest UI changes. Change the default check period to 30s. - Refactor Kubernetes coordinator to be more accurate about node readiness.
- Bump up netty to 4.2.5.Final.
- BanyanDB: fix log query missing order by condition, and fix missing service id condition when query by instance id or endpoint id.
- Fix potential NPE in the
AlarmStatusQueryHandler. - Aggregate TopN Slow SQL by service dimension.
- BanyanDB: support add group prefix (namespace) for BanyanDB groups.
- BanyanDB: fix when setting
@BanyanDB.TimestampColumn, the column should not be indexed. - OAP Self Observability: make Trace analysis metrics separate by label
protocol, add Zipkin span dropped metrics. - BanyanDB: Move data write logic from BanyanDB Java Client to OAP and support observe metrics for write operations.
- Self Observability: add write latency metrics for BanyanDB and ElasticSearch.
- Fix the malfunctioning alarm feature of MAL metrics due to unknown metadata in L2 aggregate worker.
- Make MAL percentile align with OAL percentile calculation.
- Update Grafana dashboards for OAP observability.
- BanyanDB: fix query
getInstanceby instance ID. - Support the go agent(0.7.0 release) bundled pprof profiling feature.
- Service and TCPService source support analyze TLS mode.
- Library-pprof-parser: feat: add PprofSegmentParser.
- Storage: feat: add languageType column to ProfileThreadSnapshotRecord.
- Feat: add go profile analyzer
- Get Alarm Runtime Status: support query the running status for the whole cluster.
UI
- Implement self-monitoring for BanyanDB via UI.
- Enhance the trace
List/Tree/Tablegraph to support displaying multiple refs of spans and distinguishing different parents. - Fix: correct the same labels for metrics.
- Refactor: use the Fetch API to instead of Axios.
- Support cold stage data for metrics, trace and log.
- Add route to status API
/debugging/config/dumpin the UI. - Implement the Status API on Settings page.
- Bump vite from 6.2.6 to 6.3.6.
- Enhance async profiling by adding shorter and custom duration options.
- Fix select wrong span to analysis in trace profiling.
- Correct the service list for legends in trace graphs.
- Correct endpoint topology data to avoid undefined.
- Fix the snapshot charts unable to display.
- Bump vue-i18n from 9.14.3 to 9.14.5.
- Fix split queries for topology to avoid page crash.
- Self Observability ui-template: Add new panels for monitor
metrics aggregation queue used percentageandmetrics persistent collection cached size. - test: introduce and set up unit tests in the UI.
- test: implement comprehensive unit tests for components.
- refactor: optimize data types for widgets and dashboards.
- fix: optimize appearing the wrong prompt by pop-up for the HTTP environments in copy function.
- refactor the configuration view and implement the optional config for displaying timestamp in Log widget.
- test: implement unit tests for hooks and refactor some types.
- fix: share OAP proxy services for different endpoints and use health checked endpoints group.
- Optimize buttons in time picker component.
- Optimize the router system and implement unit tests for router.
- Bump element-plus from 2.9.4 to 2.11.0.
- Adapt new trace protocol and implement new trace view.
- Implement Trace page.
- Support collapsing and expanding for the event widget.
- UI-template: add BanyanDB and Elasticsearch write latency dashboards for OAP self observability.
Documentation
- BanyanDB: Add
Data Lifecycle Stages(Hot/Warm/Cold)documentation. - Add
SWIP-9 Support flink monitoring. - Fix
Metrics Attributesmenu link. - Implement the Status API on Settings page.
- Fix: Add the prefix for http url.
- Enhance the async-profiling duration options.
- Enhance the TTL Tab on Setting page.
- Fix the snapshot charts in alarm page.
- Fix
Fluent Bitdead links.
Download
https://skywalking.apache.org/downloads/
Notice
Don't download source codes from this page.
Please follow build document, if you want to build source codes by yourself.
No H2, More BanyanDB
- Add BanyanDB 0.8.0 support.
- H2 storage option is removed permanently.
Project
- Add
doc_valuesfor fields that need to be sorted or aggregated in Elasticsearch, and disable all others.- This change would not impact the existing deployment and its feature for our official release users.
- Warning If there are custom query plugins for our Elasticsearch indices, this change could break them as sort queries and aggregation queries which used the unexpected fields are being blocked.
- [Breaking Change] Rename
debugging-querymodule tostatus-querymodule. Relative exposed APIs are UNCHANGED. - [Breaking Change] All jars of the
skywalking-oap-serverare no longer published through maven central. We will only publish the source tar and binary tar to the website download page, and docker images to docker hub.- Warning If you are using the
skywalking-oap-serveras a dependency in your project, you need to download the source tar from the website and publish them to your private maven repository.
- Warning If you are using the
- [Breaking Change] Remove H2 as storage option permanently. BanyanDB 0.8(OAP 10.2 required) is easy, stable and production-ready. Don't need H2 as default storage anymore.
- [Breaking Change] Bump up BanyanDB server version to 0.8.0. This version is not compatible with the previous versions. Please upgrade the BanyanDB server to 0.8.0 before upgrading OAP to 10.2.0.
- Bump up nodejs to v22.14.0 for the latest UI(booster-ui) compiling.
- Migrate tj-actions/changed-files to dorny/paths-filter.
OAP Server
- Skip processing OTLP metrics data points with flag
FLAG_NO_RECORDED_VALUE, which causes exceptional result. - Add self observability metrics for GraphQL query,
graphql_query_latency. - Reduce the count of process index and adding time range when query process index.
- Bump up Apache commons-io to 2.17.0.
- Polish eBPF so11y metrics and add error count for query metrics.
- Support query endpoint list with duration parameter(optional).
- Change the endpoint_traffic to updatable for the additional column
last_ping. - Add Component ID(5023) for the GoZero framework.
- Support Kong monitoring.
- Support adding additional attr[0-5] for service/endpoint level metrics.
- Support async-profiler feature for performance analysis.
- Add metrics value owner for metrics topN query result.
- Add naming control for
EndpointDependencyBuilder. - The index type
BanyanDB.IndexRule.IndexType#TREEis removed. All indices are usingIndexType#INVERTEDnow. - Add max query size settings to BanyanDB.
- Fix "BanyanDBTraceQueryDAO.queryBasicTraces" doesn't support querying by "trace_id".
- Polish mesh data dispatcher: don't generate Instance/Endpoint metrics if they are empty.
- Adapt the new metadata standardization in Istio 1.24.
- Bump up netty to 4.1.115, grpc to 1.68.1, boringssl to 2.0.69.
- BanyanDB: Support update the Group settings when OAP starting.
- BanyanDB: Introduce index mode and refactor banyandb group settings.
- BanyanDB: Introduce the new Progressive TTL feature.
- BanyanDB: Support update the Schema when OAP starting.
- BanyanDB: Speed up OAP booting while initializing BanyanDB.
- BanyanDB: Support
@EnableSorton the column to enable sorting forIndexRuleand set the default to false. - Support
Get Effective TTL ConfigurationsAPI. - Fix
ServerStatusService.statusWatchersconcurrent modification. - Add protection for dynamic config change propagate chain.
- Add Ruby component IDs(HttpClient=2, Redis=7, Memcached=20, Elasticsearch=47, Ruby=12000, Sinatra=12001).
- Add component ID(160) for Caffeine.
- Alarm: Support store and query the metrics snapshot when the alarm is triggered.
- Alarm: Remove unused
Alarm Trendquery. - Fix missing remote endpoint IP address in span query of zipkin query module.
- Fix
hierarchy-definition.ymlconfig file packaged into start.jar wrongly. - Add
bydb.dependencies.propertiesconfig file to define server dependency versions. - Fix
AvgHistogramPercentileFunctiondoesn't have proper field definition forranks. - BanyanDB: Support the new Property data module.
- MQE: Support
top_n_offunction for merging multiple metrics topn query. - Support
labelAvgfunction in the OAL engine. - Added
maxLabelCountparameter in thelabelCountfunction of OAL to limit the number of labels can be counted. - Adapt the new Browser API(
/browser/perfData/webVitals,/browser/perfData/webInteractions,/browser/perfData/resources) protocol. - Add Circuit Breaking mechanism.
- BanyanDB: Add support for compatibility checks based on the BanyanDB server's API version.
- MQE: Support
&&(and),||(or)bool operators. - OAP self observability: Add JVM heap and direct memory used metrics.
- OAP self observability: Add watermark circuit break/recover metrics.
- AI Pipeline: Support query baseline metrics names and predict metrics value.
- Add
Get Node List in the ClusterAPI. - Add type descriptor when converting Envoy logs to JSON for persistence, to avoid conversion error.
- Bseline: Support query baseline with MQE and use in the Alarm Rule.
- Bump up netty to 4.11.118 to fix CVE-2025-24970.
- Add
Get Alarm Runtime StatusAPI. - Add
lockwhen query the Alarm metrics window values. - Add a fail-safe mechanism to prevent traffic metrics inconsistent between in-memory and database server.
- Add more clear logs when oap-cluster-internal data(metrics/traffic) format is inconsistent.
- Optimize metrics cache loading when trace latency greater than cache timeout.
- Allow calling
lang.groovy.GStringin DSL. - BanyanDB: fix alarm query result without sort.
- Add a component ID for Virtual thread executor.
- Add more model installation log info for OAP storage initialization.
- BanyanDB: Separate the storage configuration to an independent file:
bydb.yaml. - Bump Armeria to 1.32.0 and some transitive dependencies.
- Skip persisting metrics/record data that have been expired.
- Fix the issue of missing Last Ping data.
- Add HTTP headers configuration for the alarm webhook.
- Bump up BanyanDB java client to 0.8.0.
UI
- Add support for case-insensitive search in the dashboard list.
- Add content decorations to Table and Card widgets.
- Support the endpoint list widget query with duration parameter.
- Support ranges for Value Mappings.
- Add service global topN widget on
General-Root,Mesh-Root,K8S-Rootdashboard. - Fix initialization dashboards.
- Update the Kubernetes metrics for reduce multiple metrics calculate in MQE.
- Support view data value related dashboards in TopList widgets.
- Add endpoint global topN widget on
General-Root,Mesh-Root. - Implement owner option for TopList widgets in related trace options.
- Hide entrances to unrelated dashboards in topn list.
- Split topology metric query to avoid exceeding the maximum query complexity.
- Fix view metrics related trace and metrics query.
- Add support collapse span.
- Refactor copy util with Web API.
- Releases an existing object URL.
- Optimize Trace Profiling widget.
- Implement Async Profiling widget.
- Fix inaccurate data query issue on endpoint topology page.
- Update browser dashboard for the new metrics.
- Visualize
SnapshotonAlertingpage. - OAP self observability dashboard: Add JVM heap and direct memory used metrics.
- OAP self observability dashboard: Add watermark circuit break/recover metrics.
- Implement the legend selector in metrics charts.
- Fix repetitive names in router.
- Bump up dependencies.
- Fixes tooltips cannot completely display metrics information.
- Fix time range when generate link.
- Add skywalking go agent self observability menu.
- add topN selector for endpoint list.
Documentation
- Update release document to adopt newly added revision-based process.
- Improve BanyanDB documentation.
- Improve component-libraries documentation.
- Improve configuration-vocabulary documentation.
- Add
Get Effective TTL ConfigurationsAPI documentation. - Add Status APIs docs.
- Simplified the release process with removing maven central publish relative processes.
- Add Circuit Breaking mechanism doc.
- Add
Get Node List in the ClusterAPI doc. - Remove
meter.mddoc, becausemal.mdhas covered all the content. - Merge
browser-http-api-protocol.mddoc intobrowser-protocol.md.
All issues and pull requests are here
New Contributors
- @ShyunnY made their first contribution in #12676
- @zjh129 made their first contribution in #12700
- @zhengziyi0117 made their first contribution in #12671
- @tsonglew made their first contribution in #12778
- @kemalceng made their first contribution in #12827
- @cclauss made their first contribution in #12896
- @Super-Lu made their first contribution in #12897
- @hanwha-jesoos made their first contribution in #12935
- @MasamiYui made their first contribution in #13106
Full Changelog: v10.1.0...v10.2.0
@ Every self-hosted release, weekly
One Monday email with the week's stable releases across the directory.
More in Application Performance Monitoring
corootSelf-hosted, open-source APM and observability platform where eBPF agents capture every telemetry signal without code changes, with service maps and SLO alerting.
Durable ActorsSelf-hosted runtime for stateful serverless actors with durable persistence and serialized execution, replacing Cloudflare Durable Objects.
hypertraceSelf-hosted distributed tracing platform that ingests OpenTelemetry, Jaeger, and Zipkin data with service graphs, dashboards, and real-time metrics aggregation.
LinnixLinnix is a self-hosted eBPF agent that attributes stalls to specific processes and pods, finding noisy neighbors without SaaS.
LunalyticsA self-hosted, open-source monitor for sites, servers, and containers that handles multiple users, public status pages, and over a hundred alert channels.
MapleMaple is a self-hosted observability platform on OpenTelemetry and ClickHouse unifying traces, logs, metrics, session replay with an MCP server for AI agents.
measureAn open-source crash reporting and mobile performance monitoring platform with session replays, self-hosted via Docker Compose on a Linux VM.
n8nTraceObservability platform for n8n with execution analytics, Prometheus metrics, RBAC, and audit logging. Deployed as a hardened Docker container with PostgreSQL.
netdataNetdata is an open-source, self-hosted infrastructure monitoring platform with per-second metrics, automated dashboards, ML anomaly detection, and zero-config deployment.
netxmsSelf-hosted, open-source network monitoring with L2/L3 topology discovery, distributed agents, NXSL scripting, and no node limits on Linux.
NightOwl AgentOpen-source Laravel APM agent that captures Nightwatch telemetry into your own PostgreSQL database for full data ownership.
openobserveOpenObserve is a self-hosted, open-source observability platform unifying logs, metrics, traces, RUM, and AI observability with 140x lower storage costs.







0 comments