otel-audit
/otel-audit
Skanuje bazę kodu pod kątem istniejącej instrumentacji OpenTelemetry i raportuje luki w pokryciu, bez zmiany kodu usługi.
- Autor
- signalfx ↗
- Repozytorium
- obstudio ↗
- Licencja
- Apache-2.0
- Ostatnia zmiana repozytorium
- 10.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 4
- Skrypty
- 3
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 1
Brak sygnałów. Repozytorium zmienione 10.11.2026, bez odwołań do wycofanych modeli i API.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
- 3 skrypty w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: scripts/observe_report.py, scripts/scan_python_otel_topology.py, tests/test_scan_python_otel_topology.py
Co robi i kiedy
Skanuje bazę kodu pod kątem istniejącej instrumentacji OpenTelemetry i raportuje luki w pokryciu, bez zmiany kodu usługi.
Wyzwalacze z opisu
Oryginalny opis (EN)
Scan a codebase for existing OpenTelemetry instrumentation and report on observability coverage gaps. Read-only for application code -- writes audit artifacts under .observe/ including .observe/otel-audit.json and .observe/otel.html, but does not modify service code. Use when the user types $otel-audit, asks about observability gaps, wants to assess instrumentation coverage, says "what signals am I missing", "scan this service for observability", asks about "observability readiness", asks whether instrumentation can make incidents faster to detect or localize, or asks whether GenAI/LLM workflo
Jak działa
- Overview
- Process
- Warning Signs
- Auto-Instrumentation Library Map
- Troubleshooting
Podgląd SKILL.md
---
name: otel-audit
description: >-
Scan a codebase for existing OpenTelemetry instrumentation and report
on observability coverage gaps. Read-only for application code -- writes
audit artifacts under .observe/ including .observe/otel-audit.json
and .observe/otel.html, but does not modify service code.
Use when the user types $otel-audit, asks about observability gaps,
wants to assess instrumentation coverage, says "what signals am I
missing", "scan this service for observability", asks about
"observability readiness", asks whether instrumentation can make incidents
faster to detect or localize, or asks whether GenAI/LLM workflows follow
OpenTelemetry semantic conventions. Do NOT use for implementing code changes
-- use $otel-instrument instead.
allowed-tools: Read Grep Glob Edit(**/.observe/**)
---
# Audit -- Observability Coverage Scan
## Overview
Scan a service repository to detect its language, framework, dependencies,
and existing OpenTelemetry instrumentation. Report what is instrumented,
what is missing, and any anti-patterns. This skill is read-only for application
code: it writes `.observe/otel-audit.json` and `.observe/otel.html` but does
not modify service code, dependencies, configuration, or tests.
An existing audit is a baseline to reconcile, not a completed new scan. On a
new audit request, inspect the current entrypoints and their reachable source
before reusing its classifications. Successful rendering, recent timestamps,
and unchanged source bytes do not prove that an earlier semantic decision was
correct. Preserve stable finding IDs and existing selections/overlays; record
new or corrected source findings in the audit rather than rebinding old proof.
Resolve every reference and script path from the directory containing the
loaded `otel-audit/SKILL.md`. Here, `../references/<file>` means the shared
sibling under the parent skills directory, while `references/<file>` and
`scripts/<file>` are local to `otel-audit`. Never probe the service root or
repository root for these paths.
Before writing the report artifacts, read
`../references/report-flow-contract.md` and follow the Audit Contract plus the
Reader-First Report Order.
Before classifying any local OTLP endpoint, read
`../references/local-otlp-receiver.md`. Treat Splunk Observability Studio as a
configurable local receiver and optional cloud-compatible AO gateway. Receiver
receipt alone is not project/stream configuration or cloud delivery evidence.
## Process
### Step 1 -- Repository Discovery
Scan the repository to determine language, framework, and existing instrumentation.
1. Detect primary language and framework:
- Go: `go.mod`
- Python: `requirements.txt`, `pyproject.toml`, `setup.py`
- Node.js: `package.json`
- Java: `pom.xml`, `build.gradle`
- Rust: `Cargo.toml`
- .NET: `*.csproj`, `*.sln`
2. Identify entry points (`main`, `cmd/`, `app.py`, `index.ts`, etc.)
3. Enumerate all HTTP routes with method and path pattern (e.g. `GET /tasks`, `POST /tasks`, `GET /tasks/{id}`). List them explicitly in the report.
4. Use the Auto-Instrumentation Library Map below to identify which packages
should be present for each detected dependency.
5. Detect incident-readiness ownership: user-visible workflows, dependency
calls, background processing, queues/streams, data freshness, auth/edge
paths, capacity limits, and release/config context. When any are present or
when the user asks for faster incident detection/localization, load
`../references/incident-readiness.md`. When incidents, postmortems, tickets,
alerts, or failure examples are supplied, use its Incident-Evidence Mode and
map each failure mechanism to its owning code or platform surface before
scoring coverage.
6. Detect GenAI/LLM ownership: provider clients/model gateways, agents or
workflows, tool/function dispatch, MCP when present, retrieval/RAG,
model/deployment config, model/config compatibility,
expected-vs-running model/config state, fallback/readiness checks, token
accounting, call counts, prompt/response assembly, AI-derived data jobs,
AI-path synthetic/canary checks, or usage logging. When any are present, load
`../references/genai-readiness.md`.
Follow its GenAI Semconv Source Contract before scoring GenAI coverage:
reconcile detected AI surfaces with official semconv docs when available,
record live-or-snapshot provenance, and build a semconv closure matrix.
Apply GenAI Instrumentation Selection and the Required GenAI Coverage
Profile: only a runtime with no existing telemetry instrumentation and a
compatible supported AO SDK for its language defaults to Splunk AO span
creation. When no compatible AO SDK is available, plan that language's native
OTel libraries and the same applicable GenAI/vendor coverage; record the
current support evidence and actionable native gaps rather than blocking
instrumentation on AO SDK availability. Preserve and enrich existing OTel/Galileo/AO
producers, providers and exporters, including generic spans, metrics-only
and logs-only pipelines. Missing GenAI coverage does not make them fresh. Read
`../references/splunk-agent-observability.md` for fresh-agent SDK APIs and
current official examples when the fresh or existing AO producer path applies.
Before prescribing creators on that Python Splunk AO path,
complete its mandatory per-function producer decision gate for every actual
agent/model/tool/retrieval function. Keep native SDK `@log` versus justified
application-owned function-decorator choices consistent across findings;
record proposed patterns and probe acceptance without executing them.
In correlation proposals, keep absent optional IDs absent. Distinguish a
source-backed application execution ID from a provider-supplied tool-call ID;
do not propose telemetry-only IDs or retrofit them into an earlier provider
response to make a join pass. Include
the intended Splunk AO runtime in the AO assessment below when that default
producer is selected; absence of an installed SDK does not exclude its
source-backed project, Agent Stream, or routing configuration gaps. Include
applicable redacted inputs/outputs and vendor fields in executable findings,
acceptance and expected telemetry; published Opt-In does not make them
optional for this profile. Record the actual producer and field availability.
When GenAI incidents, postmortems, alerts, tickets, or failure examples are
part of the request, use GenAI incident-evidence mode and map each failure
as `incident class -> failure mechanism -> repo/service owner -> code surface ->`
required signal before scoring whether instrumentation is MTTD-improving or
localization-only. Map each failure
mechanism to provider/model gateway, workflow, tool/function execution or
AI-owned session/stream including MCP when present, retrieval/RAG, streaming,
token/context, prompt/response parser, safety/policy, AI-derived data,
model/config rollout, or AI-owned cache/session evidence.
For every source-owned agent runtime, read
`../references/splunk-agent-observability.md` and assess project, dedicated
stream and routing even with existing native OTel, Galileo or an unavailable
AO SDK. Also read it when the user asks about AO coverage, routing, or
product resources, or the repository contains Agent Observability project,
Agent Stream, dataset, prompt, annotation, evaluator, integration, routing
configuration, or any `splunk_ao` dependency/import, also read
`../references/splunk-agent-observability.md`.
Apply the Splunk AO Runtime Coverage Contract below to every in-scope agent
runtime, not only to files that import the SDK. An evaluation-only import
must not hide an interactive runtime from this assessment.
Before scoring AO routing, record a source-backed compatibility decision in
canonical Audit Evidence and the affected runtime readiness/finding rows:
classify the selected resource API/authentication and existing exporter's
per-request trace routing separately as `supported`,
`unsupported` (name the missing contract), or `unverified` (name the exact
package/runtime evidence unavailable after inspection). Do not defer this
classification to a future acceptance test. Separately classify fresh cloud
Agent Stream receipt; source capability, local receipt, and an upstream
acknowledgement do not prove it. If no local gateway was inspected, name
Splunk Observability Studio as the preferred local AO gateway candidate and
mark both its availability and concrete endpoint `unverified`; never invent
an address. Preserve an explicit operator or direct-cloud destination. When
AO settings are absent, keep the routing gap independent of an existing
ordinary OTLP endpoint and put the required exclusive Studio profile in the
AO routing finding's `required_fix` and acceptance criteria: a
`.env.studio.example` or repository-native named profile filled from an
actually discovered same-namespace loopback API origin during instrumentation.
For existing native OTel applications without Galileo, plan SDK-free resource resolution and merge
the target-supported project/stream headers into the existing trace exporter;
preserve its endpoint/protocol and unrelated headers. Current Studio uses
`projectid`/`logstreamid`; public standalone AO docs use
`projectid`/`agentstreamid`. Do not prescribe a new SDK or second AO exporter.
For Galileo, assess its native project/log-stream clients and export settings;
do not propose a Studio route or Splunk AO dependency by default.
Require the AO SDK API/console/auth profile only when that SDK path is selected;
isolate its inherited direct-cloud settings in that profile. Require real
project/stream resolution before export. Describe missing wiring even when the gateway is currently
unavailable; mark endpoint and delivery proof unverified instead of filling
a guessed port or claiming it works.
7. Record exact evidence paths that should appear in the report:
- Dependency manifest: `go.mod`, `package.json`, `pyproject.toml`, `pom.xml`, etc.
- Process entry point: `main.go`, `cmd/.../main.go`, `app.py`, `app.js`, `TasksApplication.java`, etc.
- Route source: router/controller files such as `TaskController.java`, `app.py`, `app.js`, or `kvstore/http.go`.
- Traffic and readiness clients when they exercise a GenAI path: demo, load, eval, or replay scripts, plus AI-path synthetic or canary scripts such as `load_demo.py`,
`smoke.py`, `scripts/check-*`, or `tests/e2e/*`.
- Runtime/startup files when present: `Dockerfile`, `docker-compose.yml`, `Makefile`, `package.json` scripts, launch configs, worker files.
Use complete repository-relative paths with an optional `:line`,
`:start-end`, or comma-separated line selector. The HTML renderer links only
exact existing in-repository files; do not shorten citations to basenames,
use globs, or guess paths when the owning file can be named precisely.
8. Inventory project runtime and verification evidence without installing or
changing anything:
- wrappers and task runners such as `mvnw`, `gradlew`, Make, package scripts,
tox/nox, Cargo, or solution test projects
- toolchain/version files and manifest runtime requirements
- lockfiles, CI test commands, devcontainer config, and existing test layout
- locally safe compile/type/import/test commands implied by project config
Record configured requirements, not the shell's accidental default runtime.
9. Make one explicit GenAI ownership decision from the completed source scan:
- `Yes` when any provider/model, agent/workflow, tool/MCP, retrieval/RAG,
memory/context, evaluation, prompt/response, model/config, token usage, or
other AI-path surface is owned by the repository.
- `No` only when the dependency and source scan finds none of those surfaces.
Record the decision both as `**GenAI ownership detected:** Yes|No` near the
report status and as an exact `GenAI ownership` row in `## Audit Evidence`.
The two values must match.
### Step 2 -- Instrumentation Assessment
Check for existing OTel instrumentation and identify gaps. Inventory every
signal by type so the report can list them explicitly.
**SDK and configuration** -- search for:
- OTel SDK initialization files (`otel_setup.py`, `instrumentation.ts`, `otel.go`, etc.)
- OTel imports/dependencies (`opentelemetry`, `otel`, `otlp`, `go.opentelemetry.io`)
- Auto-instrumentation packages matching detected frameworks/clients
- `OTEL_SERVICE_NAME`, `OTEL_EXPORTER_OTLP_ENDPOINT` in env files or configs
- Per-signal OTLP endpoint and protocol variables. Record the effective pair
(`grpc` with the gRPC receiver, or `http/protobuf` with `/v1/<signal>`), not
just a host or port. A configured endpoint with an incompatible protocol is
a required exporter gap.
- Resolve the effective local receiver with the shared local-receiver
precedence. Record the source of the resolved endpoint and preserve every
configured non-default port. Treat `4317` and `4318` only as conventional
fallbacks when no endpoint is configured or discoverable; flag startup code
that calls Obstudio, MCP, or its REST API to discover the endpoint at
application runtime.
- Resolve whether the logs endpoint is the local Splunk Observability Studio receiver or a direct
cloud ingest endpoint. An unset signal-specific logs endpoint must not inherit
a generic direct-cloud endpoint: local application logs default to Splunk Observability Studio,
while direct-cloud or Splunk Observability Studio cloud forwarding is traces and metrics only.
An explicit local Splunk Observability Studio logs endpoint may participate in the default
pipeline. An explicit non-local endpoint paired with an absent or `otlp`
exporter is instead an operator-owned boundary conflict. Represent it as an
`external follow-up` that requires the named operator to remove the non-local
endpoint or replace it with the exact detected local Splunk Observability Studio endpoint, plus
a dependent `required`/`default` local-log finding. The
dependency keeps the executable finding locked until the operator resolves
the conflict; do not classify the conflict as a scan blocker or authorize
the provider/bridge early. Preserve `none` and other
non-OTLP exporter branches without validating their endpoint. Flag any cloud
log endpoint, credential/header, exporter, or forwarding flag introduced by
Splunk Observability Studio instrumentation as a required boundary violation.
- Treat any nonempty generic `OTEL_EXPORTER_OTLP_HEADERS` as unsafe for an
Splunk Observability Studio-owned local log path, even when
`OTEL_EXPORTER_OTLP_LOGS_HEADERS` is also set. SDKs may merge generic and
signal-specific headers. Require the generic value to be moved to
trace/metric signal variables and removed before local log export is enabled.
- Semantic-convention stability opt-ins and when they are set relative to SDK
and framework imports. Treat a late opt-in as inactive for already-created
instruments.
**Provider/exporter topology** -- build this per target process and per signal;
do not infer it only from the launch command or installed packages.
- Find explicit and lazy `TracerProvider`, `MeterProvider`, and
`LoggerProvider` construction, global `set_*_provider` calls, no-op provider
branches, exporter construction, resource creation, flush/shutdown, and
helpers that initialize providers on first instrument access.
- Trace each provider helper from the selected process entrypoint and real
startup environment to its recording call sites. Classify each signal as
`source-active`, `externally bootstrapped`, `source-defined but inactive`, or
`no provider`; none of these classifications is runtime emission proof.
- Keep provider ownership separate by signal. A process can own a real metrics
provider while tracing and logs remain disabled. Never describe all OTel as
no-op because one startup wrapper lacks `opentelemetry-instrument`.
- For Python repositories, run the bundled
`scripts/scan_python_otel_topology.py <service-root>` before reporting. The
scanner finds candidates; reconcile every hit with target-process
reachability before using it as evidence.
- Reconcile resource precedence. Identify operator-provided
`OTEL_SERVICE_NAME` and `OTEL_RESOURCE_ATTRIBUTES`, app defaults, detector
output, and any merge that overwrites `service.name`, environment, or
version. Preserve operator values and classify hard-coded overwrite as a
required resource-identity gap.
- For framework instrumentation, record whether the app is instrumented before
serving begins. In frameworks that install middleware, instrumentation first
invoked inside lifespan/startup can be too late; classify it as partial until
source or runtime proof shows middleware was installed before the first
request.
**Spans inventory** -- build a list of every span source:
- Auto-instrumentation packages that emit spans (check the "Signals" column in
the language reference). Enumerate every individual span name the package
produces -- one row per span. Never group spans with vague labels like
"HTTP server spans" or "gRPC server spans (all N RPCs)". For example,
`otelgrpc` on a server with methods `GetUser` and `ListUsers` produces spans
`/UserService/GetUser` and `/UserService/ListUsers` -- list each as its own
row.
- Custom span creation calls: `tracer.Start` / `span.End` (Go),
`tracer.start_as_current_span` / `tracer.start_span` (Python),
`tracer.startActiveSpan` / `tracer.startSpan` (Node.js),
`@WithSpan` / `Span.current()` (Java).
Record the span name and source file with line number.
**Metrics inventory** -- build a list of every metric source:
- Auto-instrumentation packages that emit metrics (check the "Signals" column).
Enumerate every individual metric name the package produces -- one row per
metric. Never group metrics with vague labels like "(+ related)" or
parenthetical summaries like "(goroutines, memory, GC)". For example,
`otelgrpc` emits `rpc.server.call.duration` (or the legacy `rpc.server.duration`
on older SDK versions), `rpc.server.request.size`, `rpc.server.response.size`,
`rpc.server.requests_per_rpc`, and `rpc.server.responses_per_rpc` -- list each
as its own row. Similarly,
`runtime.Start()` emits `process.runtime.go.goroutines`,
`process.runtime.go.mem.heap_alloc`, `process.runtime.go.gc.count`, etc. --
list each individually.
- Custom metric registrations: `meter.Int64Counter`, `meter.Float64Histogram`,
`meter.Int64ObservableGauge`, `meter.Int64UpDownCounter` (Go);
`meter.create_counter`, `meter.create_histogram`,
`meter.create_observable_gauge` (Python);
`meter.createCounter`, `meter.createHistogram`,
`meter.createObservableGauge` (Node.js).
Record the metric name and source file with line number.
**Logs inventory** -- build a list of OTel log integrations:
- OTel log bridge or SDK log packages
(`opentelemetry-instrumentation-logging` for current Python releases, with
the SDK `LoggingHandler` only when the installed bridge/API capability
requires that compatibility path;
`@opentelemetry/instrumentation-console`,
`@opentelemetry/instrumentation-winston`, or
`@opentelemetry/instrumentation-pino` for Node.js; the Java agent's detected
Logback/Log4j appender; and the matching
`go.opentelemetry.io/contrib/bridges` package for Go).
- `LoggerProvider`, batch log record processor, OTLP log exporter,
signal-specific logs endpoint, global registration, and shutdown/flush.
- Existing stdout, stderr, file, platform, appender, handler, transport, hook,
and worker-thread sinks. Identify which stay active and whether two bridges
would export the same application record twice.
- Trace-context injection into log records (`trace_id`, `span_id` fields).
- `span.AddEvent()` / `span.add_event()` calls used as structured log events.
- Logging formatters, filters, adapters, MDC/context variables, access-log
formatters, and exception helpers that can add request, user, tenant,
session, trace, raw URL, exception text, or traceback data. Check the final
formatting path, not only application logger call arguments.
- Classify logs as `local-otlp-default`, `explicitly-disabled`,
`operator-owned`, `correlation-only`, `unsupported-stack`, or `not
configured`. Trace/MDC fields in stdout are not an OTLP log pipeline.
`OTEL_LOGS_EXPORTER=none` is an explicit opt-out, while an absent exporter on
a supported Python, Node.js, Java, or Go application logging stack requires a
default local Splunk Observability Studio OTLP pipeline only when the logs endpoint is absent or
matches the detected local Splunk Observability Studio receiver. Preserve any other explicit
exporter as operator-owned without validating or supplementing its endpoint.
For an absent/`otlp` exporter with an explicit non-local endpoint, record an
external operator prerequisite and a dependent default local-log finding;
do not classify it as working or select that implementation until the
dependency is resolved. If `none` is set
while an existing bridge still exports application records, report the
ineffective opt-out as a required ownership gap.
**Audit document contract** -- the audit is a current-state baseline source
scan. Describe the instrumentation and gaps established by current repository
evidence. Implementation changes belong in `.observe/otel-instrumentation.md`.
**Verification plan** -- derive deterministic inputs for later
instrumentation and verification. This is source-derived planning, not runtime
proof.
- Define reusable test environments for each runnable surface. Give every
environment a stable ID and record its configured runtime/toolchain,
evidence file, expected project runner, affected module scope, and shared
prerequisites once.
- Create one scenario per telemetry-distinct user, API, worker, startup,
shutdown, error, timeout, streaming, tool, retrieval, or dependency path.
- Use stable scenario IDs such as `http.search.success`,
`http.search.failure`, `runtime.startup`, or `worker.batch.failure`.
- Map each scenario to its source entrypoint, expected exact signals, and
acceptance criteria: span status/attributes/parentage, metric datapoints and
dimensions, log body/severity/correlation/redaction, or runtime/exporter
behavior.
- Classify each scenario's required proof as `focused call-site`,
`full runtime`, or `either`. Use `full runtime` when proof depends on agent or
preload startup, framework-resolved route names, automatic metrics,
runtime-installed log export, or absence of duplicate automatic spans.
- For a default local application-log pipeline, include scenarios that prove
body/category, severity, the same service resource identity as traces and
metrics, trace/span correlation inside an active span, final-pipeline
redaction, preservation of the existing stdout/file sink, exactly one OTLP
record per log call, provider shutdown/flush, and
`OTEL_LOGS_EXPORTER=none` producing no OTLP record. When cloud trace/metric
export or forwarding exists, also prove the application record remains
visible in local Splunk Observability Studio without any cloud log path.
- Require the normal generated launch profile to set
`OTEL_LOGS_EXPORTER=otlp`, the resolved local Studio logs endpoint and its
matching protocol alongside trace and metric settings. An absent logs bridge
or an unrequested generated `none` setting is a log coverage gap, even when
traces and metrics work. Keep a real explicit user/operator logs opt-out as
separate scope; do not recommend `none` as the normal launch default. SDK
`@log` spans and stdout correlation are not received OTLP LogRecords.
- For local OTLP export, include at least one scenario using a discovered or
fixture-provided non-default receiver port. Its acceptance criteria must
prove the exact endpoint/protocol/path tuple and that application startup
does not query Obstudio for routing or endpoint registration.
- For every exact custom span name or operation entrypoint, create an explicit
scenario row. Shared helper implementation is not proof that each operation
emits its expected name and topology.
- Before writing a scenario, confirm every cited source path and symbol exists
with `rg -n` or a language-aware index. Never hand off a guessed or stale
symbol name. Never invoke `rg` with `--pre` or `--pre-glob`; those flags run
an arbitrary external command against matched files rather than only
searching them. Use plain search flags only (for example `-n`, `-l`, `-i`).
- Reference one or more exact test-environment IDs from every acceptance
scenario. Put local-safe fixture strategy and missing prerequisites in the
environment profile, not repeated prose in each scenario row.
- Keep prerequisites explicit. Do not require live credentials when fakes or
an existing test seam can exercise the same app code.
- Avoid path explosion: combine branches only when they emit identical
telemetry; split success/failure or alternate paths when telemetry differs.
**Dependencies without instrumentation** -- for each dependency detected in Step 1:
- Check if a matching auto-instrumentation package is installed
- Use the Auto-Instrumentation Library Map below as the checklist
- Flag any dependency that has an available auto-instrumentation package but is not instrumented
**Operational signal assessment** -- express rate, error, latency, and
saturation coverage as ordinary entries in `## Current Instrumentation`,
`## Gaps`, or `## Verification Plan` with exact source paths and signal names.
**Incident readiness assessment** -- when the repository owns incident-relevant
surfaces or the user asks for faster detection/localization, use
`../references/incident-readiness.md` to assess API/workflow and customer
impact, dependencies, input complexity, freshness, backpressure,
synthetic/canary checks, auth/edge, capacity, and release/config context. For
incident evidence, classify each proposed signal as `MTTD-improving` only when
it can support a detector before or at first customer impact,
`localization-only` when it mainly narrows an already-detected fault,
`provider/platform-owned`, or `unknown owner`.
Record current readiness as `### Incident Readiness` under
`## Current Instrumentation`; do not add another top-level report section.
Readiness rows are audit context first. Promote a missing or partial readiness
surface into the single prioritized `## Gaps` table only when the repository
owns a concrete OTel closure gap: a span, metric, log, provider/exporter,
resource, semantic attribute, correlation, cardinality, or runtime lifecycle
change that can be implemented without changing the product/runtime contract.
The prioritized gap row and its mapped acceptance scenarios form the closure
contract for `$otel-instrument` and `$splunk-configure`:
- `Area` is the stable human-readable gap identity used downstream.
- `Required fix` names every required signal or exact owner mapping; it must not
use a vague label such as `add observability`.
- `Instrument mode` records whether safe app-owned work is `default`, broader
safe work is `fix all`, or an external/unsafe choice is `manual decision`.
- The mapped scenario provides the code surface, expected telemetry, proof
level, and acceptance criteria.
Split a gap when required signals have different owners, instrument modes, or
acceptance criteria. Do not promote service behavior choices, health endpoint
semantics, readiness/liveness contracts, capacity policy, release policy, or
general operational observations into findings unless the user explicitly asks
for that domain and the row names concrete service-owned OTel telemetry to add
or repair. When an external owner must supply telemetry, record the owner and
requirement in the readiness row and summary by default; create an
`external follow-up` finding only when it blocks an in-scope service-owned OTel
finding. Do not mark a partial surface covered because one span or metric
exists, and do not imply that detector configuration can compensate for an
absent detector-critical metric.
**GenAI readiness assessment** -- when GenAI/LLM evidence exists, use
`../references/genai-readiness.md` to check baseline trace continuity,
OpenTelemetry GenAI spans, semconv completeness, GenAI metrics, and
privacy/cardinality controls. Add or update `## GenAI Readiness` rows for
missing workflow, provider/model gateway, model/config rollout,
model/config compatibility, expected-vs-running model/config state,
tool/function execution or AI-owned session/stream lifecycle including MCP when
present, token/context pressure, retrieval/RAG, streaming response lifecycle,
fallback/failover, prompt/response assembly, safety/policy outcome,
AI-derived data freshness, memory/context, evaluation quality, framework bridge
coverage, content governance, cost ownership, or AI-owned cache/session state
signals. For each telemetry-distinct owned surface, write one separate
readiness row with its complete required signals. Keep workflow, provider/model,
tool/function, token/context, stream/session, retrieval, evaluation/data export,
and other distinct surfaces independently actionable for instrumentation
closure. For code-owned GenAI pathway gaps, explicitly check for token/context
pressure,
response parse failure, AI-derived data freshness, prompt/tool schema version,
LLM-call count, tool-call count, authentication/authorization result,
invalid-token or permission failure outcome, active AI-owned streams or
sessions, close reason family, stream duration/outcome, send/write failure,
memory hit/miss or stale/missing context, `gen_ai.evaluation.result` coverage,
evaluation score distribution, content capture mode/redaction/access owner, and
app-owned cost or owner-mapped billing source when those values are observable.
Classify these rows before creating findings:
- Telemetry closure rows may become findings when they name service-owned OTel
spans, metrics, logs, attributes, exporter/resource setup, correlation,
cardinality, or semantic-convention gaps.
- Governance/context rows stay in `## GenAI Readiness` unless the user
explicitly asks for that audit domain. Redaction/retention/access ownership,
safety/refusal policy, evaluation explanation policy, model rollout policy,
and cost/billing ownership are not default service instrumentation findings.
Missing source-backed GenAI content attributes are telemetry gaps, not
governance-only rows. Add each applicable attribute named in the shared
Content Capture Governance Contract to the owning model, retrieval, or tool
readiness row and existing selectable finding's `expected_telemetry`; give
that finding a redacted-content verification scenario. Do not create one
finding per attribute or omit an applicable attribute solely because its
value is sensitive. Do not require a second content-capture approval after
the finding is selected. Do not propose fields the application cannot observe.
Before `finalize-audit`, reconcile every app-owned model, retrieval, and tool
boundary with all eight attributes in that contract: `gen_ai.input.messages`,
`gen_ai.output.messages`, `gen_ai.system_instructions`,
`gen_ai.retrieval.documents`, `gen_ai.retrieval.query.text`,
`gen_ai.tool.definitions`, `gen_ai.tool.call.arguments`, and
`gen_ai.tool.call.result`. Inspect the actual provider-bound input and
returned output, observable instructions and tool definitions, retrieval
query and documents, and tool-call arguments and result. Put each applicable
missing attribute literally in the owning finding's `expected_telemetry`
and require an assertion on its completed model, retrieval, or tool span in
the verification scenario. Metadata-only spans or prose about privacy and
capture mode do not close source-backed content coverage. If safe emission
is not feasible, retain the unresolved finding and name the blocker instead
of marking it covered.
Assess successful null results separately from calls that produced no result.
When the verified tool schema cannot represent null in
`gen_ai.tool.call.result`, recognize a truthful captured OpenInference
`output.value="null"` as the supported alternative. Require removal of a
schema-invalid native result and retain the remaining same-tool-span content
requirements. A failed call with no result must not gain successful output.
Supplied helper captures establish that case's capability, not live app or
exporter coverage; bind unproved application behavior to a local scenario.
Require evidence of the actual value crossing its owning boundary before
classifying a content attribute as applicable: a tool name or handler source
is not a model-bound `gen_ai.tool.definitions` payload. A prompt passed to
a search-like tool is not `gen_ai.retrieval.query.text` unless the tool
consumes that value as its search or lookup input; a prompt used only to
simulate an error is not a retrieval query. Counts or scores without
returned document objects are not `gen_ai.retrieval.documents`. Keep
observable tool-call arguments and results in the tool finding rather than
promoting an unused parameter to retrieval content.
- Evaluation telemetry can be a finding when the repository owns concrete OTel
evaluation events or low-cardinality evaluator duration/error/no-data/
freshness metrics. Do not bundle that with safety or content-governance work
unless both are explicitly requested.
- Cost telemetry can be a finding only when the repository owns an authoritative
pricing source or the user explicitly asks for FinOps/cost observability.
Otherwise owner-map the external billing source in readiness context and do
not create service instrumentation work.
For LLM/model-call coverage, apply the `LLM Inference Lifecycle Contract`:
audit the real lifecycle hook or client call site, not only the outer workflow
and final usage aggregation. In LangChain, LangGraph, DeepAgents, callback, or
event-stream based systems, look for `on_chat_model_start`,
`on_chat_model_end`, `on_chat_model_error`, or an equivalent model-call
callback. In direct provider SDK or model-gateway code, look for a span wrapping
the provider request or streaming generator. If token/model attributes are
present only on a workflow span, final usage event, turn-finalization path, or
other workflow-level token accounting, but no `chat`, `generate_content`,
`text_completion`, or equivalent inference span exists with
`gen_ai.operation.name`, `gen_ai.request.model`, and `gen_ai.response.model`
when known, mark trace and semconv coverage `partial`; do not mark LLM coverage
as `covered`. Keep the missing model-call lifecycle span and attributes in
`remaining_signals`.
Apply **Retrieval detection inside tools** independently of tool-call coverage.
Inspect each code-owned tool body and its reachable helpers for semantic,
vector, corpus, document, index, knowledge-base, or embedding search whose
results become model context. A name such as `search_docs` is useful evidence
but is not sufficient by itself; corroborate it with the implementation,
dependency calls, returned matches/documents/scores, or the caller's use of the
results. Match counts or scores may justify a retrieval-like operation but do
not prove query text or document bodies. Follow dataflow through the tool:
require a value actually consumed by its search/lookup path before adding
`gen_ai.retrieval.query.text`, and returned document objects before adding
`gen_ai.retrieval.documents`. An unused prompt parameter, including one read
only for a simulated error, is not query evidence. When a tool performs such a
retrieval-like operation, a generic tool span is not complete retrieval
coverage. Before finalizing the audit, compare
each confirmed retrieval call site against its tool span and check the JSON for
two distinct items: a retrieval-specific readiness row and a selectable
retrieval finding with its own ID. A combined "tool and retrieval" row or
finding does not satisfy this check. Preserve the `execute_tool` operation,
then require the nested retrieval span with
`gen_ai.operation.name=retrieval` and a stable low-cardinality data-source
identifier. Add an explicit retrieval verification scenario that proves its
parentage under the tool span, proves any selected source-backed content fields
only after redaction and truncation, and never records raw documents, query
text, embeddings, or other sensitive/high-cardinality values.
Apply the `Single-Source GenAI Span Contract` from the GenAI readiness
reference before deciding trace coverage. Inventory framework/vendor bridges,
provider SDK hooks, callbacks, middleware, and auto-instrumentors that can emit
GenAI spans, then compare them with app-owned spans for the same logical
workflow, agent, chat/model call, tool call, retrieval, memory, or evaluation
operation. Mark trace and semconv coverage `partial` when a representative
trace or source proof shows both framework/vendor and app-owned spans for the
same logical operation, wrapper spans such as middleware or step execution being
counted as tools, duplicate model/tool call counts, divergent parentage, or
aggregate attributes written to the wrong canonical span. Required closure
evidence is one canonical GenAI span source per logical operation. A
representative trace must show one GenAI node per logical operation, expected
LLM and tool counts, stable model/tool names, correct workflow/agent parent
shape, and no wrapper-only spans counted as GenAI work.
Classify each orchestration boundary from source before choosing its operation.
Recognize a custom agent without requiring an agent framework: when a model
selects actions/tools, the application dispatches them, feeds their results
back into the model, and continues until a terminal answer, the owning turn is
an agent invocation. Trace the actual offered tools, dispatch and feedback
edges; a file name, tool declaration, retry loop or single model call alone is
insufficient. A fixed application-defined sequence of dependent stages can be
a workflow; a single inference facade is neither an agent nor a separate
workflow merely because it wraps a model request.
Record a `GenAI operation roles` Audit Evidence row mapping each actual
orchestration entrypoint to its behavioral evidence, source-backed identity,
semantic role, existing creator/label and covered-or-repair decision. Keep the
role assessment separate from the current instrumentation inventory. Existing
`invoke_workflow`, span names, comments, tests and prior audit prose can be
wrong: preserving their producer does not establish semantic correctness.
When a covering creator labels an agent as a workflow, retain that creator
and author a selectable same-span operation/agent-identity repair, its consumer
compatibility plan and agent lifecycle/duration acceptance. Do not add a second
agent wrapper to keep a misleading workflow node. Carry the agent role through
readiness, expected telemetry, scenarios and summary, including no-tool and
failure turns; inventory the current incorrect label truthfully until repaired.
Do not require both `invoke_workflow` and `invoke_agent` for one standalone
agent invocation merely because it calls models or tools. A separate workflow
requires evidence of an application-defined coordinated process at its own
boundary; HTTP/SSE wrappers and internal runner details do not establish one.
Bind each proposed orchestration node to that distinct source operation.
For Python with Splunk AO, make that inventory explicit. Search for
`from splunk_ao import log`, `@log`, `span_type="tool"`,
`span_type="retriever"`, `SplunkAOLogger`, `SplunkAOCallback`, supported model
or framework wrappers, `add_splunk_ao_span_processor`,
`configure_distributed_tracing`, and `instrument_distributed_tracing`. Classify
each path using the shared Splunk AO compatibility guidance as span creation,
export-only, transport-only, combined setup, or resource management. Record
the actual provider/export lifecycle and content-capture mode. Never infer workflow, model, tool, or
retrieval coverage from an export-only processor, and never infer generic HTTP,
metric, or log coverage merely from `@log`. When decorators, handlers, or
wrappers overlap app-owned OTel spans, mark coverage partial until one canonical
producer, safe content behavior, lifecycle, parentage, and duplicate absence are
proven.
For each span-producing Splunk AO callback, inspect its registration and the
owning workflow for a second callback, `@log` decorator, framework auto hook,
or app-owned OTel span on the same logical operation. Record source-backed
negative evidence when each overlap is absent, including the searched call
sites; do not infer absence from one file or from a clean example trace.
Where overlap exists, name the canonical producer and the duplicate-prevention
change. A local scenario must verify one correctly parented span per logical
workflow, model, and tool operation and no duplicate counts.
Audit teardown for every detected Splunk AO span source as an independent
outcome. Record a distinct current-state lifecycle assessment even when
teardown is present: cite the source of logger or provider creation and its
matching teardown, classify the path as source-covered when proven, and keep
this assessment separate from trace-capture inventory and any future
verification scenario. A separate Audit Evidence row or covered GenAI Readiness
surface can carry that result; source coverage alone is not runtime flush
proof. When an SDK-owned logger or sink lacks source proof of
`logger.terminate()` or another supported process teardown, create a separate
selectable lifecycle finding; do not hide it inside privacy, span-coverage, or
export findings and do not omit it merely because the process is short-lived.
For a caller-owned provider, require source proof of `provider.shutdown()` in
the same way. Keep each lifecycle row unresolved until the matching teardown is
proved by source and a focused local scenario.
Audit workflow naming as part of this proof. GenAI workflow names must preserve
the application's stable business workflow identity from constants, handlers,
workflow registrations, telemetry event names, docs, or prior trace names. Mark
workflow coverage `partial` when instrumentation invents names from HTTP
routes, request resources, session/storage concepts, or transport labels. For
example, `assistant_v3_turn` must not become `assistant_v3_session_turn` or
`POST /v2/assistant/sessions`.
Do not invent names from HTTP routes or session-derived labels.
Audit agent naming with the same rule. GenAI agent names must preserve the
application's stable agent identity from framework agent names, agent factory
names, classes, registration names, callback owner names, docs, or prior trace
names. Mark agent coverage `partial` when instrumentation invents generic
service-derived names. For example, a DeepAgents-backed agent should be
`deepagents`, not `assistant_v3_agent`, `assistant`, or `agent`.
Keep duplicate-span remediation in `remaining_signals` until the audit names
the existing canonical producer and proves no duplicate operation. Preserve
existing framework/vendor or app-owned coverage; a newly proposed app span is
not permission to disable the original bridge. An existing ownership conflict
or unsupported safe enrichment requires a precise manual decision.
When app-owned spans are canonical and the process uses preload, agent,
`opentelemetry-instrument`, `NODE_OPTIONS --require`, or another
auto-instrumentation bootstrap, audit the launch environment and startup
surfaces that run before the bootstrap. Mark duplicate-span remediation
`partial` if the only proof is App module code that mutates environment
variables after import, because that is not sufficient proof and framework
hooks may already be registered. Accept proof from Makefile
targets, service runner scripts, Docker or Helm env, VS Code launch configs,
procfiles, systemd units, shell env generators, or the exact documented run
command. Also accept generated env scripts when they are sourced before the
bootstrap.
Also audit parent-context proof for event-derived spans. In representative trace
evidence or tests, chat/model and tool spans must preserve the owning workflow/agent context
and prove a trace shape such as `workflow -> chat`, `workflow -> execute_tool`,
and follow-up `workflow -> chat` or `agent -> chat` edges. If they appear as
siblings of the workflow under a generic HTTP root span or generic server span,
mark the trace shape `partial` and keep parent-context propagation in
`remaining_signals`. Also check long-lived helper/setup spans such as memory
store, checkpointer, database session, stream-writer, or resource setup spans.
If callback-created chat/tool spans are parented to those helper spans instead
of the owning workflow/agent span, mark the trace shape `partial`; the
instrumentation must capture/re-enter the workflow/agent context before opening
helper spans and must not rely on whichever current span is active during
callback cleanup. Use this rule for memory store, checkpointer, database
session, stream-writer, or resource setup paths: helper spans must not become
the parent; capture the workflow/agent context before opening helper spans,
start event-derived `chat` and `execute_tool` spans with that captured context,
and write aggregate counters to the workflow span, not to whichever current span
is active. For async generator, SSE, WebSocket, ping-loop, or timeout
wrapper paths, check whether the stream is advanced with `create_task`, `wait`,
`anext`, or equivalent task handoff. If an OpenTelemetry current-span context
manager is kept open across those yield/task boundaries, mark the trace shape
`partial`; require an explicit workflow span/context handle that is passed into
the callback/event translator and ended manually. Also check whether that
workflow/agent context is carried through a request, turn input, event payload,
callback state, or config object that may be immutable/frozen. If the
instrumentation does not prove that app code will avoid mutating immutable,
frozen, or framework-owned carriers, keep parent-context propagation `partial`;
do not mutate those carriers in place. Treat a carrier as immutable/frozen when
source evidence shows frozen or readonly declarations, record/value types, no
mutation API, framework request immutability patterns, or existing code
constructs new copies instead of mutating.
Accept app-idiomatic copy/replacement proof such as Python
`dataclasses.replace`, `attrs.evolve`, pydantic `model_copy(update=...)` or
`copy(update=...)` as supported by the installed carrier API; Java records,
builders, or copy constructors; TypeScript
object spread, explicit `Readonly<T>` replacements, or `structuredClone` only
for plain-data carriers and never for live OTel `Context` or `Span` handles; Go
value copies with explicit field replacement; or the framework's request
clone/with-context API. If no safe copy path exists, require a separate
invocation-scoped sidecar context: a local object, context variable,
request-scoped map, or callback state keyed to the invocation lifecycle and
cleared after cleanup. Do not key sidecar context by raw user, tenant, session,
request, or trace IDs. Require a test or explicit static proof that the parent context is
passed downstream and the original immutable input remains unchanged; Python
tests should guard against `FrozenInstanceError` where frozen dataclasses or
models exist. Audit aggregate placement separately: if
`gen_ai.usage.input_tokens`, `gen_ai.usage.output_tokens`,
an application/vendor-owned derived total, `assistant.llm.calls`, or
`assistant.tool.calls`
are written only to a generic HTTP root span, report misplaced aggregate GenAI
attributes and require moving them to the workflow span or most specific owning GenAI span.
A generic HTTP root span should not be the evidence for a GenAI flow card unless
it has an explicit GenAI workflow operation.
If incident evidence depends on missed, flapping, auto-resolved, or no-data alerts, record detector reliability evidence
as a `$splunk-configure` handoff instead of an app-owned GenAI instrumentation
prerequisite.
For GenAI services and demos, distinguish demo-only environment hints from
complete telemetry wiring. If a Makefile, README, script, or example command
sets only `OTEL_SERVICE_NAME` or `OTEL_EXPORTER_OTLP_ENDPOINT`, but the service
has no SDK setup, exporter setup, resource attributes, or framework
instrumentation, report that as incomplete resource/exporter configuration
rather than covered setup.
**GenAI readiness contract** -- the `## GenAI Readiness` table is the complete
GenAI observability ledger. Only telemetry closure rows from that ledger become
instrumentation findings; governance, product, cost, policy, and external-owner
rows remain context unless the user explicitly asks for that audit domain. For
every GenAI readiness gap, create or update a structured surface row with:
`surface`, `evidence`, `current_status`, `required_signals`,
`owner/source_files`, and `acceptance_criteria`. If an existing audit already
has extra metadata columns, keep the surface name as the human-facing
identifier in summaries and closure handoffs. Split a surface when required
signals have different owners or acceptance criteria. Required
signals must be concrete signal names or signal intents, not vague area labels.
Use owner values that map directly to instrumentation outcomes: `App-owned +
patchable`, `App-owned but unsafe/too large`, `Provider/platform-owned`, or
`Already covered`.
Status must be computed against every required signal:
| Ledger result | Rule |
|---|---|
| `covered` | Every required GenAI signal is proven existing with source path and signal name. |
| `partial` | Some required GenAI signals exist, but remaining required signals are named. |
| `missing` | No required app-owned GenAI signal exists. |
| `owner-mapped` | The repo cannot accurately observe the signal and the provider/platform/deployment owner plus exact missing source is named. |
Do not collapse a partial GenAI gap into `covered` because one metric or span
exists. The GenAI Readiness surface row is the source of truth for deciding
whether a selectable `$otel-instrument` finding is warranted.
**GenAI metric applicability inventory** -- assess every metric in the reviewed
current official tables relevant to the detected operations, including metrics
not chosen for implementation. Put one row per metric in canonical Audit
Evidence (`evidence[]`): `check` names the instrument; `finding` records its
official level, type/unit, actual source boundary and value availability,
applicability, disposition and reason; `source` cites the table/revision/date
and application source. Distinguish `applicable`, `N/A` and `source unknown`
from `required`, `recommended`, `optional` and `deferred` decisions. Assess
token distributions separately from usage totals, and non-inference duration
scopes separately from inference exclusions. An applicable optional metric may
remain recommended or deferred with a reason and its remaining capability
explicit; do not force every optional metric to emit or label it covered by an
instrument with different semantics. Required missing metrics must remain in
their owning executable findings' `required_fix`, `expected_telemetry`,
acceptance and verification scenarios; an official optional level cannot
downgrade a required skill/vendor or selected contract. A supplemental matrix
does not replace this canonical inventory, and a short list of chosen metrics
does not assess the rest. Preserve existing metric producers and consumer
contracts when proposing any transition.
Before handoff, apply the per-tool vendor content contract in
`../references/genai-readiness.md` to every actual tool boundary. For the GenAI
path, list `gen_ai.tool.call.arguments` plus `gen_ai.input.messages` for its
arguments, and `gen_ai.tool.call.result` plus `gen_ai.output.messages` for any
produced result, on that tool's canonical `expected_telemetry`. Bind missing
mappings in `required_fix`, acceptance and its verification scenario; preserve
an explicitly supported OpenInference alternative when that producer uses it.
Parent/model messages and an arguments/results-only tool span do not cover
these fields. Correct a canonical omission before rendering or handoff rather
than leaving the requirement only in supplemental prose.
Make each selected GenAI contract concrete and consistent across readiness
`required_signals`, finding `required_fix`, `expected_telemetry`, acceptance and
verification scenarios. Name the actual existing producer or the proposed SDK
creation API and matching official example path/revision/version, not only
'logger/schema helpers'. Enumerate applicable input/output message fields,
instructions/tool definitions, arguments/results, known parameters/response/
usage/stream fields and opaque correlation. Include the vendor-required agent
provider and tool input/output message mappings separately from their official
OTel levels. Require current typed-parts schema/value/redaction proof and actual
success/error/cancel parentage with no duplicate nodes; a generic 'GenAI
semconv' requirement cannot stand in for missing field acceptance.
For each producer path, place the concrete capture policy in the canonical
finding and acceptance scenario: preserve a known stricter policy, otherwise
propose redacted capture with 16 messages, 64 parts per message and 8192 UTF-8
bytes per content attribute. Name the actual or proposed file/function hook
that sanitizes before SDK capture and every export sink. Unknown existing
settings stay unproven; a proposed policy must still specify those limits,
valid typed-parts truncation and native-record/OTLP sentinel-absence tests.
Do not let a supplemental statement of 'bounded/redacted' replace this
selected finding contract.
Compute each GenAI surface independently. Generic HTTP/database/runtime or
infrastructure metrics do not improve a GenAI surface status unless they
satisfy that row's required workflow, model, tool, token, memory, evaluation,
or AI-path signals. Use `missing` when none of the required GenAI signals
exists, even if unrelated OTel metrics are source-active.
For multiple modes or supplied source cases, derive a separate operation and
signal ownership ledger from each reachable branch before composing reports.
A metrics/logs-only branch has no trace producer to preserve: propose its
missing trace capability while retaining its actual metric/log provider.
Reconcile each ledger with findings, excluded work and provider-binding text;
an operation cannot be both absent and excluded as already instrumented.
Bind support receipts to that case's language, runtime and package; Python
exporter evidence cannot establish a Go implementation. Carry a source-backed
N/A decision through every resource, header, Studio-state and acceptance row
for a non-agent control; do not leave mandatory AO work in a reused template.
Generate field and lifecycle rows from the same case's operation ledger too.
Before finalizing, check every proposed operation and parent against that
ledger or its explicit N/A scope. A single-inference facade has a model
lifecycle; an unscoped "agent with model/tool children" rule invents operations
even when its separate project/routing rows correctly say N/A. Exercise this
consistency check with a report copy containing an absent operation/parent.
Include current versus proposed providers, exporters and destinations in that
ledger, with a source registration for each claimed existing component. Bind
each operation's pattern and runtime/version receipt to those same component
IDs and their current/proposed phase; render the narrative from those facts.
An empty current inventory cannot yield a preserve-current provider or installed
runtime claim in an operation row. Apply this closure to resource-client support
too: distinguish a captured language-neutral HTTP method/auth/schema contract
from language-specific SDK/client support. A Python SDK class name alone cannot
establish a Go client or its compatibility; absent wire/runtime evidence remains
an explicit gap. Exercise mutations that keep the correct inventory but add a
current-owner claim in an operation row, or unqualified foreign-client support
in a resource receipt. Derive routing/profile text from those facts too. With no existing exporter, propose
the selected SDK's new sink or a supported native exporter setup; do not tell
the app to preserve, enrich or merge headers into a nonexistent exporter.
Keep an unselected native/SDK alternative explicitly conditional rather than
presenting both as current topology. Add an absent-exporter routing mutation
to the same report consistency check.
Build each case's active acceptance from its applicable obligations and
selected capability owners before rendering text. Do not copy a shared list of
alternative SDK/native lifecycle calls into every row. Reconcile each active
acceptance item, nested state clause and dereferenced shared scenario with the
same role, language, destination and operation ledger as its `required_fix`.
Record the checked JSON paths and owners in the consistency receipt; checking
only status fields, `required_fix` or the injected examples leaves the actual
acceptance unproven. An AO N/A decision removes resource lookup/binding
activation requirements from active acceptance while retaining ordinary OTel
startup, emission and drain proof. Unknown lifecycle APIs remain exact support
gaps instead of foreign SDK alternatives. Exercise report-copy mutations that
leave the header/provider/fix correct but add a foreign lifecycle API to active
acceptance, or mandatory AO resource activation beneath an N/A decision; reject
both. For a selected Studio
native binding, apply the shared **Names-only running process** controls,
including retry-work bounds and shutdown. Galileo acceptance uses its supported
native resource/configuration/export path and preserves separate operator sinks.
Scope inherited scenarios and shared acceptance references to that destination
too; a correct provider table cannot excuse active Studio UUID-header/Resource
requirements in a Galileo row. Exercise the consistency check with that
destination-mismatch mutation and reject it before finalizing.
**Splunk AO Runtime Coverage Contract** -- assess every source-owned agent
runtime by default, plus other GenAI runtimes with detected or requested AO
integration. A bare audit request is sufficient for an agent's project, stream
and routing assessment; native OTel, Galileo, missing SDK imports and absent
cloud credentials do not exclude it. Respect explicit user exclusions.
Assess every in-scope GenAI runtime independently. Enumerate interactive/API, worker, and evaluation/test entry points from the
source scan. For each, record runtime-specific canonical `genai_readiness`
surfaces and an Audit Evidence row naming the entry point and reachable AO setup (or
the searched registration/configuration call sites when no setup is reachable).
Assess project binding, dedicated Agent Stream binding, configured runtime routing,
span producer, content behavior, and matching teardown for that runtime.
Apply the shared AO reference's **AO-Compatible Trace Root** contract to each
assessed runtime. Trace the real entrypoint and transport ancestors as well as
the GenAI operations; identify whether the intended AO representation retains
the root and connecting parents. Record a source-backed root-compatibility gap
in the canonical ledger when needed, with a truthful operation mapping and
local/cloud acceptance. Routing IDs, accepted leaf spans or a root mar
[…] pełny plik w paczce .zip
Pliki w paczce (4)
- SKILL.md 117 KB
- scripts/observe_report.py 1 KB
- scripts/scan_python_otel_topology.py 3 KB
- tests/test_scan_python_otel_topology.py 5 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · signalfx/obstudio | 91 | Apache-2.0 |
| signalfx/obstudio | 91 | Apache-2.0 |
Migawka bazy z 13.11.2026 · wersja paczki de163dd5e50e (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Podobne skille
- 91otel-verify
Sprawdza deterministycznie istniejącą instrumentację OpenTelemetry: spany, metryki i logi, i tworzy raport. - 91otel-verify
Weryfikuje istniejącą instrumentację OpenTelemetry deterministycznie i tworzy raport: spany, metryki i logi, z pokryciem poszczególnych ścieżek kodu. - 100otel-instrumentation
Konfiguruje spany śladów, własne metryki, eksportery logów i strategie próbkowania w instrumentacji OpenTelemetry aplikacji. - 95otel-observability
Obsługuje OpenTelemetry: śledzenie, metryki, logi, instrumentację, eksportery i propagację kontekstu, przy dodawaniu tracingu, metryk i logowania oraz pracy ze spanami. - 100opentelemetry
Wdraża obserwowalność OpenTelemetry: konfigurację Collectora, wdrożenie w Kubernetes, potoki śladów, metryk i logów, instrumentację i diagnostykę problemów. - 100bluebox-otel-instrumentation-guided
Prowadzi krok po kroku przez instrumentację OpenTelemetry dla Bluebox, gdy użytkownik wprost prosi o tryb prowadzony.