/logpacer:logpacer-instrument-otlpfrom LogPacer
Instrument an application to send OpenTelemetry traces and metrics over OTLP to the local EdgePacer, for Node.js, Python, Java, .NET, Go, Ruby and PHP. Use when the user asks to add tracing or app metrics, send OTLP to LogPacer, set OTEL_* environment variables, or see an app's spans in LogPacer.
Ships in LogPacer. 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.
LogPacer is OTLP-compatible: apps send traces and metrics with standard OpenTelemetry SDKs to the EdgePacer on their own host or cluster, which ships them to LogPacer.
logpacer otlp env or from get_guide topic otlp for where the app runs: host, docker or kubernetes. They differ per mode and can change per release.OTEL_LOGS_EXPORTER=none as the guide sets it: EdgePacer already collects stdout and log files, so exporting logs as well would collect them twice. For log-trace correlation, use logpacer-logging-setup.OTEL_SERVICE_NAME to a name that stays the same across deploys and replicas, without host, pod or container names in it.logpacer skill.list_hosts (CLI: logpacer ops run list_hosts --format json). If not, use logpacer-install-edgepacer first.get_guide with topic: "otlp" and deployment_mode (CLI: logpacer ops run get_guide --arg topic=otlp --arg deployment_mode=<mode> --format json). Follow the mode's notes; on Kubernetes they name the chart values and the pod opt-in label that tracing needs.traces.enabled is false with a next_step: propose request_traces_activation (confirm; CLI: logpacer ops run request_traces_activation --format json), then read the guide again until traces.enabled is true.metrics.available false means no host has an OTLP metrics receiver yet. An account admin's agent proposes create_otlp_metrics_source (confirm) with agent_id (the agent.id that list_hosts or get_host reports for the app's host) and a name; leave listen_address to LogPacer's default unless the human names one (CLI: logpacer ops run create_otlp_metrics_source --arg agent_id=<id> --arg name=<name> --format json). Some modes take traces only; the guide's notes say so.get_host (CLI: logpacer ops run get_host --arg host_id=<id>) reports an available eBPF probe, EdgePacer can also trace services without code changes. Which services it traces is a human setting on the host's page in human_actions.logpacer otlp env --service <name> --mode host --write .env.otel
Use --mode docker or --mode kubernetes for those modes. The command refuses to overwrite a file unless --force is given, and still writes the file when traces are not enabled yet, naming the next step on stderr. Without the CLI, set exactly the mode's env map from the guide plus OTEL_SERVICE_NAME.
Load the values the way the app gets its environment: systemd EnvironmentFile=, Compose env_file:, a Kubernetes ConfigMap, or the process manager's config. The file holds no secret; commit it only if the human wants to.
Read the reference for the app's language and make the smallest change it describes:
references/node.mdreferences/python.mdreferences/java.mdreferences/dotnet.mdreferences/go.mdreferences/ruby.mdreferences/php.mdRegister the service so LogPacer lists it for traces: register_trace_collection service_name=<name> (auto; CLI: logpacer ops run register_trace_collection --arg service_name=<name> --format json).
Start the app with the new environment and make it do real work, such as a request or a job run.
discover_sources with signals: ["traces"] (CLI: logpacer sources --signals traces --format json) gives the trace source's query_target. Run search_logs on that repo with its filter, since: "15m" and limit: 5 (CLI: logpacer --repo <repo_id> search --filter-json '<filter>' --since 15m --limit 5 --format json). Spans with the app's service name mean traces arrive. To filter on the service, get_schema with resolve: "service.name" finds its field (CLI: logpacer --repo <repo_id> schema --format json lists every field).list_metric_names with since: "15m" (CLI: logpacer ops run list_metric_names --arg since=15m --format json) lists the app's metric names, and query_metrics with one of them and mode: "instant" returns a value (CLI: logpacer ops run query_metrics --arg query=<name> --arg mode=instant --format json).Nothing arrives:
traces.enabled, metrics.available and the mode's notes.env map, and look for exporter errors in the app's own log.OTEL_METRICS_EXPORTER=otlp when the guide gives a metrics endpoint.docker.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub logpacer/logpacer-marketplace --plugin logpacer8 skills in this plugin
/logpacerStart here for LogPacer tasks. Use when connecting or choosing deployments and accounts, setting up collection, instrumentation, metrics or monitors, when a change waits for approval, or when a tool returns role_required, scope_required or operations_not_enabled./logpacer-install-edgepacerInstall EdgePacer, LogPacer's host agent, on a server, into Docker or into a Kubernetes cluster, then confirm the host reports the log sources it discovered. Use when the user asks to get a server's, container's or cluster's logs into LogPacer, to install or connect EdgePacer, or when a host is missing from LogPacer./logpacer-investigateInvestigate logs, traces and metrics in LogPacer. Find the right source, learn its fields, search and count, follow trace and span ids across sources, open full events, and report what the evidence supports. Use for any question about what an app or host logged, error rates, incidents, slow requests, a specific trace, or why data seems missing./logpacer-logging-setupMake an application's logs collectable by LogPacer and correlated with its traces, in the format the app already writes. Use when the user asks how an app should log for LogPacer, to add trace or span ids to log lines, when LogPacer does not pick up an app's logs, or before changing a logger's format or destination./logpacer-metrics-panelsBuild LogPacer metrics boards and PromQL panels from the metrics an account already reports, previewing every query first. Use when the user asks for a dashboard, board, chart or panel in LogPacer, to graph a metric, or to write or fix PromQL against LogPacer metrics./logpacer-monitors-alertsSet up LogPacer cron monitors that alert when a scheduled job stops checking in, wire the job's check-in, and request notification destinations such as Slack, email or a webhook for a human to complete. Use when the user asks to monitor a cron job, backup or scheduled task, to get alerted in Slack or by email, or asks about alerts in LogPacer.