/opentelemetry-instrumentation:otel-ottlfrom opentelemetry-instrumentation
OpenTelemetry Transformation Language (OTTL) expert for writing and debugging telemetry transformations in the OpenTelemetry Collector. Use when authoring or reviewing `transform`, `filter`, `tail_sampling` processor configs or `routing` connector configs, debugging OTTL syntax or semantics, transforming traces, metrics, logs, or profiles, or converting data-processing requirements into OTTL statements.
Ships in opentelemetry-instrumentation. 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.
OTTL transforms or selects telemetry inside Collector components. This skill is pinned to collector-contrib v0.163.0. Function, path, default, and feature-gate availability varies by release; when the user's version differs, verify against the matching upstream tag.
Dated OTTL feature-gate status for v0.162.0 and v0.163.0 is in references/functions.md.
transform rewrites, filter drops, tail_sampling decides whether
to retain traces, and routing sends telemetry to pipelines. A component controls its available
contexts and functions.resource.attributes), but parents cannot read children. Use datapoint for point
attributes instead of traversing metric.data_points.set or delete_key mutates data and may have a where condition. Converters
such as ParseJSON and IsMatch return values; they do not mutate.ignore logs statement errors and continues; silent
continues without logging; propagate returns the error and can cause the component to drop the
payload. Transform and filter default to ignore; the transform default-error gate was removed in
v0.162.0, so naming it in --feature-gates fails startup (history: the otel-collector skill's
transform quirks), and the filter gate is stable and cannot be disabled. Routing also
defaults to ignore while its beta default-error feature gate is enabled. For routing, ignore
sends an errored payload to default_pipelines; configure that fallback or the payload is dropped.validate also parses
routing connector conditions), then send known telemetry and inspect file-exporter output. Use the
telemetrygen recipe.set(span.attributes["env"], "prod") where resource.attributes["env"] == nil
For a single path or function, read only the relevant section instead of loading the full catalogs.
where x != nil, IsString(x), or the
appropriate type check.ParseJSON, for example
IsString(log.body) and IsMatch(log.body.string, "(?s)^\\s*\\{.*\\}\\s*$"). The RE2 (?s)
flag admits pretty-printed objects containing newlines. Checking IsMap after
parsing does not prevent arrays or scalar JSON from being parsed.ParseJSON, IsString, and IsMatch are available without the
v0.157 alpha lambda feature gate.include_metadata: true on the receiver.
HTTP/client header spelling may retain its form (otelcol.client.metadata["X-Tenant"][0]);
gRPC metadata keys are lowercase (otelcol.grpc.metadata["x-tenant"][0]).request context is deprecated as of v0.156; use otelcol.client.metadata or
otelcol.grpc.metadata.flatten_data: true and the
alpha transform.flatten.logs gate. This copies and regroups data; do not enable it accidentally.set(target, nil) is no longer a no-op: the ottl.set.allowNil gate became beta in
v0.161 and stable (cannot be disabled) in v0.162. A nil value empties a map, slice, or
pcommon.Value target (an attribute key is created with an empty value) and errors on scalar
targets. Use a where source != nil guard when the destination must remain unchanged for missing input.${1} as $${1}. A replacement such
as $1REDACTED is literal and silently fails to substitute the capture.(.{1024}).*; use Substring with a nil/type
guard and Len, or truncate_all for a map.spanevent.*, not span_event.*. Cache paths are context-qualified,
such as span.cache["parsed"].:, for
example 'set(log.attributes["a"], {"foo": "bar"})'; otherwise YAML parses : as a mapping.pcommon.Value paths compare by their underlying type; maps and slices
support only equality and inequality, while primitive values also support ordering.Decode(value, "base64"); Base64Decode was removed in v0.161.\\d, \\s, \\.).What SKILL.md sets; muted values are Claude Code's defaults
10 skills in this plugin
/otel-collectorOpenTelemetry Collector component configuration. Use when authoring, reviewing, or debugging Collector YAML for a specific receiver, processor, exporter, connector, or extension — config keys, defaults, validation rules, signal support, stability levels, and component-level gotchas. Triggers on Collector component questions including receivers, processors, exporters, connectors, extensions, component renames, signal support, and pipeline wiring./otel-declarative-configOpenTelemetry declarative YAML configuration for SDK setup. Use when configuring OpenTelemetry SDK providers (tracer, meter, logger), setting up OTLP exporters, defining sampling strategies, or writing otel config files. Triggers on "otel config", "OpenTelemetry YAML", "declarative configuration", "otelconf", "OTEL_CONFIG_FILE", "file_format", "configure tracing/metrics/logs export", or when the user is setting up telemetry pipelines via config files rather than code.Other plugins' skills for the same job
/otel-dotnetOpenTelemetry in .NET — DI/builder SDK setup (OpenTelemetry.Extensions.Hosting, AddOpenTelemetry, UseOtlpExporter, OpenTelemetrySdk.Create), native .NET instrumentation APIs (ActivitySource, System.Diagnostics.Metrics Meter) plus logging abstractions (ILogger), zero-code CLR-profiler agent, contrib instrumentation packages, performance tuning, and breaking-change audits. Use when adding, reviewing, or configuring OpenTelemetry in a .NET or ASP.NET Core service. Triggers on "setup otel in dotnet", "dotnet telemetry", ".net tracing", "ASP.NET Core opentelemetry", "AddOpenTelemetry", "UseOtlpExporter", "OpenTelemetrySdk.Create", "ActivitySource", "System.Diagnostics.Metrics Meter", "ILogger opentelemetry", "OpenTelemetry.Extensions.Hosting", "opentelemetry-dotnet-instrumentation", or any C# OTel question.npx claudepluginhub fcakiroglu16/marketplace --plugin opentelemetry-instrumentation