/octo-claude-skills:octo-logsfrom OctoMesh Skills
Queries OctoMesh cluster logs, traces, and metrics via Dash0 MCP tools. Filters by namespace, container, pod, service, severity; searches message bodies; runs D0QL (SQL) for error rates; traces errors across redeployments; jumps from log line to trace.
Ships in OctoMesh Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
OctoMesh clusters ship their pod logs, traces and metrics to Dash0. This
skill reads them through the read-only Dash0 MCP tools (mcp__dash0__*).
The MCP connection carries its own OAuth login; the skill never handles
credentials. If the tools are not available in the session → /octo-logs-setup.
Never suggest LogQL, logcli or a Grafana/Loki datasource for logs.
Dash0 separates environments by dataset (typically one per cluster). Call
mcp__dash0__listDatasets to see which datasets your login can read, and ask
the user which one to use. Attribute names: references/clusters.md. D0QL
recipes: references/d0ql-cheatsheet.md.
Internal details (which datasets exist, MCP endpoint, tokens, runbooks):
if the plugin octo-claude-pm is installed, its internal Dash0 reference
(agent-operating-rules/references/dash0.md) applies. Without it, use only what
listDatasets returns and what the user tells you. This public plugin
deliberately holds no environment-specific facts.
| Need | Tool |
|---|---|
| Read log lines (newest first, max 50 per page, cursor paging) | mcp__dash0__getLogRecords |
| Counts, rates, group-by, first/last occurrence, per-pod breakdown | mcp__dash0__sql (D0QL = ClickHouse SQL subset, max 1000 rows) |
| Full body + all attributes of one line | mcp__dash0__getFullLogRecord (log record ID from getLogRecords) |
| Discover filter keys / values (containers, services, pods) | mcp__dash0__getAttributeKeys / mcp__dash0__getAttributeValues (scope: "logs") |
| "What is different about the error logs?" | mcp__dash0__getLogCorrelations |
| Follow a request into its trace | mcp__dash0__getSpans / mcp__dash0__getTraceDetails (filter trace_id) |
| Open-ended "why is X failing" across signals | mcp__dash0__runTask (Agent0), then mcp__dash0__waitForTask. Over MCP Agent0 only reads and diagnoses; ask it questions, never to change anything, and check its answer with the tools above before you rely on it |
Every tool takes dataset and a timeRange ({"from":"now-1h","to":"now"} or
ISO timestamps; from must be in the past and differ from to).
Filter objects: {"key": "...", "operator": "is|is_not|is_one_of|contains|does_not_contain|matches|starts_with|...", "value": "..."}.
| Key | Meaning | Example |
|---|---|---|
k8s.namespace.name | Namespace | octo, mongodb, cratedb |
k8s.container.name | Container — stable across rollouts | identity, assetrepository, communication, mesh-adapter, bot, platformservices |
k8s.pod.name | Pod — middle segment = ReplicaSet hash = one rollout | octo-mesh-identity-services-6878d95c6f-885dr |
service.name | OTel service — for tenant adapters and apps the release name <release>-<rtId> | <release>-<rtId> |
otel.log.severity.range | Severity | ERROR, WARN, INFO, UNKNOWN |
otel.log.body | Message body | contains / matches |
Ask for extra columns via logAttributeKeys, e.g.
["k8s.pod.name", "otel.log.severity.range"].
Example — last hour of identity errors:
mcp__dash0__getLogRecords {
"dataset": "<dataset>",
"timeRange": {"from": "now-1h", "to": "now"},
"filters": [
{"key": "k8s.container.name", "value": "identity"},
{"key": "otel.log.severity.range", "value": "ERROR"}
],
"logAttributeKeys": ["k8s.pod.name", "otel.log.severity.range"],
"pagination": {"limit": 50}
}
Example — substring search, excluding noise:
"filters": [
{"key": "k8s.namespace.name", "value": "octo"},
{"key": "otel.log.body", "operator": "contains", "value": "Exception"},
{"key": "otel.log.body", "operator": "does_not_contain", "value": "/healthz"}
]
Paging: each response returns an after-<id> cursor for the next (older) page;
at-<id> / before-<id> give context around a known line.
In SQL, resource attributes are a map: resource_attributes['k8s.container.name']
(dot notation fails). Severity is the severity column, the message is body,
the time is timestamp. Always add a LIMIT.
-- Errors per container (24h)
SELECT resource_attributes['k8s.container.name'] AS container, count() AS errors
FROM logs
WHERE resource_attributes['k8s.namespace.name'] = 'octo' AND severity = 'ERROR'
GROUP BY container ORDER BY errors DESC LIMIT 20
More recipes (error rate per minute, top messages, per-tenant adapter errors):
references/d0ql-cheatsheet.md.
Keep the container, group by pod — each pod hash is one rollout:
SELECT resource_attributes['k8s.pod.name'] AS pod, count() AS n,
min(timestamp) AS first_seen, max(timestamp) AS last_seen
FROM logs
WHERE resource_attributes['k8s.container.name'] = 'communication'
AND body LIKE '%ObjectDisposedException%'
GROUP BY pod ORDER BY first_seen LIMIT 20
Then read the first occurrence in a given pod with getLogRecords
(filters k8s.pod.name + otel.log.body contains, a tight timeRange around
first_seen). Structured OctoMesh logs carry trace_id/span_id → open the
trace with getTraceDetails to see the whole request.
Bounded by the retention configured on the Dash0 dataset (queries cannot reach
further back). There is no in-cluster log store — kubectl logs only reaches the
current and previous container of a pod. For long-lived evidence, copy the
relevant lines/counts into the work item or incident note.
listDatasets, ask the user; confirm before production.sql errors per container (or per service.name for tenant adapters) for the window.getLogRecords with container/pod/severity/body filters; getFullLogRecord for stack traces.trace_id into getTraceDetails./octo-logs-setup.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
dash0, octomesh, log-query, trace-analysis, d0ql, cluster-logs
13 skills in this plugin
/octoPrimary entry point and router for ALL OctoMesh tasks. Drives the octo-cli for platform administration (users, roles, groups, tenants, clients, identity providers, blueprints, CK catalog/library management, stream-data archives, communication adapters/pipelines, AI services) and explores the data model and runtime instances via GraphQL. Routes specialized work to sibling skills. When unsure which OctoMesh skill to use, start here. Trigger on: OctoMesh, octo-cli, CLI command, environment switch, auth/login, AuthStatus, tenant, temporary tenant, test tenant, user, role, group, client credentials, non-interactive login, headless authentication, LogInClientCredentials, client mirroring, identity provider, blueprint install/update/rollback, CK catalog, library management, LibraryStatus, stream data archive, archive activation, EnableAi, adapter, deploy pipeline, data flow, MovePipelines, data model, Construction Kit, CK type, enum, association, GraphQL introspection, runtime instance query, list/count/search/filter entities, building, services, Docker, debugging, pipeline YAML, ETL, commit, PR, AB#, MCP server, Refinery Studio, communication operator, Helm./octo-agentDebugging and investigation agent for OctoMesh — diagnoses CK model failures (ResolveFailed, modelState 2, broken dependencies, version-bump cascades), blueprint install failures, and CK migration problems; inspects MongoDB tenant databases directly; runs selective DebugL builds and targeted tests to isolate a regression; and manages Docker volume backups for safe rollback. Use it when something broke after a build, version bump, merge, or upgrade and you need to find the root cause safely. Trigger on: help me fix, investigate this bug, what broke, isolate the issue, why is the model broken, ResolveFailed, modelState 2, multi-version conflict, error code 66, CK migration failed, blueprint failed, BlueprintInstallation, LibraryStatus, FixAll, check database state, query MongoDB, tenant DB, NuGet dependency chain, package not found, selective build, build fails, service won't start, health check failing, error in logs, cascade failure, version bump broke, something broke after upgrade, data corruption, tenant broken, backup before testing, restore database, safe rollback, test isolation, token refresh failing, Hangfire cron not firing.npx claudepluginhub meshmakers/octo-claude-skills --plugin octo-claude-skillsOther plugins' skills for the same job