Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Jaeger Knowledge Patch?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/nevaberry-jaeger-knowledge-patch)
---
name: jaeger-knowledge-patch
description: Jaeger
version: "2.23.0"
license: MIT
metadata:
author: Nevaberry
---
# Jaeger compatibility guidance
Load this skill when upgrading Jaeger, configuring Collector pipelines and storage,
adapting query clients or Go integrations, or working with Jaeger's UI and MCP tools.
Use the topic references for complete configuration examples, migration details,
and the release context of changing behavior. Experimental features are identified
beside their guidance.
## Reference index
| Reference | Topics |
| --- | --- |
| [Runtime and Configuration](references/runtime-configuration.md) | Binaries, containers, runtime roles, YAML, listeners, proxies, Go imports, custom distributions, demos |
| [Ingestion and Operations](references/ingestion-operations.md) | OTLP, Kafka, processors, queues, diagnostics, self-tracing, metric changes, trace anonymizer |
| [Query, Sampling, and Metrics](references/query-sampling-metrics.md) | Query APIs, summaries, filters, span search, clock skew, remote sampling, SPM |
| [Storage Backends and Contracts](references/storage-backends.md) | Storage interfaces, remote gRPC, authentication, Elasticsearch, OpenSearch, Cassandra, ClickHouse, memory, Badger |
| [MCP and AI Integrations](references/mcp-ai.md) | MCP migration, tools, tenancy, limits, skills, AI endpoints, tracing, identity forwarding |
| [User Interface](references/ui.md) | UI builds, proxy routes, search, trace views, uploads, Monitor, GenAI, development configuration |
## Upgrade runtime and ingestion configurations
The unified executable and Docker image are named `jaeger`. Legacy v1 collector,
query, ingester, and all-in-one distributions are retired; migrate those deployments
to the unified binary. The standalone `jaeger-agent` is removed, so deployments
that start it need to update trace forwarding before upgrading.
- The query server requires separate HTTP and gRPC ports. Update service or proxy mappings.
- Migrate query HTTP listener and server TLS settings to the Collector format.
- Replace `jaeger_image_tag` overrides with `jaeger_version`.
- Use explicit image version tags; the publisher drops `v1` and `v1.x` aliases and attaches `latest` only to versioned images from `main`.
- Container images use a non-root primary group; check mounted-file permissions that depended on the previous group.
- Remove `storage_cleaner` from configurations copied from end-to-end tests before using the production binary.
- Update scripts invoking the removed `jaeger features` command.
Replace the Kafka receiver's `traces.topic` with the `traces.topics` list, including
when receiving from one topic:
```yaml
receivers:
kafka:
traces:
topics: [jaeger-spans]
```
The Kafka receiver and exporter support OTLP, Jaeger, and Zipkin trace payloads.
Use matching encodings on the collector and ingester. Bundled Kafka ingester
configurations enable batching and block when queues fill; the synchronous
Elasticsearch configuration also retries failed writes.
## Migrate storage settings and contracts
- Remove the `grpc-plugin` storage type and select another supported backend.
- Migrate integrations using the removed `storage/v1/grpc` implementation to the storage v2 protocol.
- Each trace or metrics store must declare exactly one backend type; split mixed entries.
- Storage factories initialize on demand; an unused backend can remain uninitialized.
- Primary and archive storage use regular storage interfaces. Remove the dedicated archive-storage setting from gRPC configuration.
- Put remote-storage service and backend settings in one configuration file, loaded through the Collector's `confmap` decoder.
- Expose the remote-storage gRPC port only to trusted clients.
- Remove `namespace` from Badger configuration and deprecated namespace overrides from Cassandra configuration.
- Cassandra drops 3.x support and adds 5.x support; its storage settings use the OpenTelemetry style.
- Elasticsearch 6 is unsupported; upgrade the cluster to a supported version before upgrading Jaeger.
- Elasticsearch and OpenSearch settings use reorganized grouping and OpenTelemetry client TLS configuration.
- Remove unsupported Elasticsearch keys named in startup validation errors.
- Legacy Elasticsearch and OpenSearch rotation flags are deprecated; use the dedicated index rotation schema.
ClickHouse schema creation requires an explicit table engine. Remove references to
unused ClickHouse feature gates. The storage gate is stable, so selecting ClickHouse
no longer requires an experimental gate opt-in. Set `default_search_depth` at or
below `max_search_depth` and use a non-negative `dial_timeout`.
For custom Go storage integrations, `FindTraceSummaries` belongs directly to
`tracestore.Reader`. The remote-storage `FindTraceIDs` RPC takes
`FindTraceIDsRequest`, and the v2 dependency writer accepts `context.Context`.
The references retain the experimental streaming-reader changes, protobuf
generation changes, and complete list of relocated Go packages.
## Update query clients and UI proxies
Migrate clients of removed v1 HTTP query routes to API v3. The gRPC
`MetricsQueryService` and `metricsquery.proto` are removed; dependent clients and
code generation must migrate off them. Remove custom metrics integrations' calls
to the removed `metricstore` minimum-step API.
- Use `GET /api/v3/trace-summaries` or gRPC `FindTraceSummaries` for lightweight search results.
- Route `/api/v3/trace-summaries` through proxies serving UI search.
- The trace view loads native OTLP traces and its JSON views use the v3 trace API; forward those requests too.
- Prefer camelCase query parameters such as `query.searchDepth=20`; snake_case aliases, including `query.search_depth` and `query.num_traces`, are deprecated.
- `GET /api/v3/traces` applies `query.attributes` when searching for full traces.
- The HTTP API accepts base64 trace IDs. Preserve their original case when passing them to a query; the UI treats IDs as opaque strings.
- Missing trace lookups return `NotFound`; unsupported storage capabilities return gRPC `Unimplemented`.
- The archive operation rejects traces that exist only in archive storage.
Set `jaeger_query.base_path` to the prefix the proxy forwards, such as `/jaeger`,
or `/` when the proxy strips the public prefix. Start with `/`, omit `..` and
duplicate slashes, and leave off the optional trailing slash that Jaeger strips.
The UI detects its public base path from the browser URL at page load.
## Migrate MCP and AI configuration
Move MCP settings into the query extension and remove the standalone `jaegermcp`
entry from enabled extensions. Replace `ai.enable_mcp` with `ai.mcp`; omitting
`mcp` leaves it disabled:
```yaml
ai:
mcp: {}
```
Configure AI endpoint authentication with `ai.auth` on the query extension and
MCP transport options with `ai.mcp.streamable_http`. Experimental MCP features
enforce tenancy and configured tool and response limits. The experimental MCP
server's non-standard health tool is removed.
Deployments using the removed reference AI sidecar need a replacement before upgrading.
## Select runtime roles and connect stores
Pass Collector-format YAML to `jaeger --config` to select the runtime role:
```sh
jaeger --config cmd/jaeger/config-query.yaml
```
Use dotted `--set` paths for individual overrides, including the built-in all-in-one configuration:
```sh
jaeger --set=receivers.otlp.protocols.grpc.endpoint=0.0.0.0:4317
```
Reference environment-driven settings explicitly in YAML with `${env:NAME:-fallback}`.
Declare trace stores under `jaeger_storage.backends` and metrics stores under
`jaeger_storage.metric_backends`. Match the query extension's `storage.traces`
to the exporter's `trace_storage`; see the complete named-store example in the
storage reference.
Scale all-in-one horizontally with external storage; use one instance with local
Badger storage. Split collector and query to scale writes and reads independently
or apply different access policies. For a host agent or sidecar, run `jaeger` with
an OTLP receiver and exporter. Use the standard OpenTelemetry Collector at that
tier if the same process needs to handle metrics or logs as well.
## Search with filters and storage capabilities
Discover backend search capabilities through Query API v3 over HTTP or gRPC.
For service-less searches, omit the service in MCP `search_traces` or select
**All Services** in the UI when the backend advertises support. That UI mode
accepts a free-form span name. Unsupported service-less searches are rejected,
including through remote storage.
Structured filters are beta and enabled by default. Jaeger compiles SQL search
statements into RFC 0005 structured filters, and MCP `search_traces` accepts SQL.
Experimental span search adds API v3 `FindSpans`, an HTTP route, and the storage
`SearchSpans` capability. Memory and Elasticsearch support span search and
pagination; pass a returned page token back to continue a search.
- `searchDepth` is capped at 10,000 and negative values are rejected.
- The v3 gRPC handler defaults omitted `search_depth`; MCP honors it even with result limit `0` (unlimited).
- Set `start_time_max` later than `start_time_min` when supplying both.
- Supply positive query lookbacks; supplied metrics lookback, step, and rate-window values must be positive.
- MCP rejects negative duration bounds and malformed `span_id` values before querying storage.
- Set memory `max_traces` to a positive value.
- Send a nonempty tenant value when tenancy is enabled on gRPC requests.
## Configure sampling and metrics
Remove `sampling.strategies.bugfix-5270` overrides; corrected behavior is always
enabled. Service-specific strategies inherit default per-operation rules, so
review operations that previously fell back to the service-wide rate. The legacy
remote-sampling response format is removed; update clients depending on it.
Use `remote_sampling.file.path` for a JSON strategy file and a reload interval to
pick up changes. For adaptive sampling, configure the store and initial probability
under `remote_sampling.adaptive`, and add `adaptive_sampling` to the ingestion
pipeline. Set a positive target samples per second and leader-election lease
refresh interval. Sampling leaders release their lock on graceful shutdown.
SPM defaults to the OpenTelemetry span metrics connector's namespace; match the
query namespace when the connector uses a custom one. Prometheus honors YAML
`tls`, supports SigV4, and accepts `prometheus.extra_query_parameters` from the CLI.
Update old counter names to `_total`, and duplicated `_total_total` names to a
single suffix. Check dashboard queries and alerts against the metrics exposed by
2.18.0 when adopting its Collector metrics changes.
## Inspect traces and operate the UI
Set `jaeger_query.max_clock_skew_adjust` to `0s` to disable timestamp correction
for all traces served by that instance. When enabled, the UI shows the exact
adjustment in a warning on each adjusted span. Clock-skew correction shifts both
start and end timestamps, preserving duration.
Use pnpm for UI source builds, including the embedded UI. Configure the deployed
UI JSON file through `jaeger_query.ui.config_file` and access logging through
`jaeger_query.ui.log_access`. The UI defaults to OpenTelemetry terminology.
The UI accepts `.jsonl` uploads with one OTLP JSON record per line. OTLP file
uploads are parsed in the browser with a size limit. Reload incomplete traces
explicitly to fetch later spans. The trace-wide Logs view shows events from all
spans, and the native flame graph has a resizable chart/table split.
For experimental MCP trace inspection, use `get_span_details`, `get_trace_errors`,
`get_trace_topology`, and `get_critical_path`. Discovery tools `get_services` and
`get_span_names` report `total_count` and `truncated`. `get_trace_topology` also
returns `total_span_count`; `get_critical_path` can succeed with an empty path.