Skip to main content

obz-jaeger

Jaeger provider for obz. Covers trace search, trace retrieval by ID, and extension commands for service and operation discovery. This skill should be used when the user mentions "Jaeger", "obz trace -p jg", or needs to search distributed traces from a Jaeger backend.

来源信息

仓库
alibaba/obz-cli
最近来源活动
2026年4月29日 07:18
检测到的 SKILL.md 语言
英语
星标
27
分支
9

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
obz-jaeger
description
Jaeger provider for obz. Covers trace search, trace retrieval by ID, and extension commands for service and operation discovery. This skill should be used when the user mentions "Jaeger", "obz trace -p jg", or needs to search distributed traces from a Jaeger backend.
# obz-jaeger: Jaeger Provider ## Quick Reference | Field | Value | |------------------|-------------------------------------------------| | Aliases | `jg`, `jaeger` | | Signal | Trace | | Query language | None (query is a service name) | | Auth | Bearer token or Basic auth | | Provider flags | None | | Supported cmds | search, get, services, operations | ## Supported Commands ### Core trace commands ``` obz trace search # Search traces by service name obz trace get # Retrieve a single trace by ID ``` ### Extension commands ``` obz trace services # List all known service names obz trace operations # List operations for a given service (requires --service) ``` ## Authentication Configure auth in `config.yaml` under `providers.<name>.auth`. Supports bearer token, basic auth, or no auth. ```yaml # config.yaml providers: jg: endpoint: http://localhost:16686 auth: token: ${env:JAEGER_TOKEN} ``` Then query with just `-p`: ```bash obz trace search -p jg -q 'frontend' --from now-1h ``` ## Query Format The `-q` value is a plain service name. Jaeger doesn't have a structured trace query language for searches. ```bash obz trace search -p jg -q 'frontend' --from now-1h ``` ## Examples **Search traces for a service**: ```bash obz trace search -p jg -q 'frontend' --from now-1h ``` **Retrieve a specific trace by ID**: ```bash obz trace get -p jg abc123def456 ``` **List all services**: ```bash obz trace services -p jg ``` **List operations for a service**: ```bash obz trace operations -p jg --service frontend ``` ## Jaeger vs VictoriaTraces Both providers speak the same Jaeger HTTP Query API and expose the same set of commands. The key difference is the backend: | Aspect | Jaeger | VictoriaTraces | |--------------------|----------------------|----------------------| | Storage | Configurable | Built-in | | Default port | 16686 | 10428 | | API compatibility | Native | Jaeger-compatible | Choose `jg` when pointing at a standalone Jaeger deployment. Choose `vt` for VictoriaTraces.
在 GitHub 查看