get_trace_setup
Get exact steps to configure OpenTelemetry traces for a monitor, then carry them out: write files, verify the test span, and report the console link.
Instructions
Requires an API key with the read scope or higher. Get the exact steps to make a tool send OpenTelemetry traces to LastPing for one monitor: what to write, where, how to verify it, and what that tool cannot do. Call this when a person asks you to set up tracing, observability or telemetry for a project. Carry the steps out yourself rather than printing them: write the files, check they are git ignored, send the test span, and report the console link. Never echo the credential back to the person and never put it in committed code. The result's prompt is the full instruction for the tool you name, and each block's files are what to write; get the key with create_ingest_key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | No | Which tool will send the traces: claude-code, codex, gemini, cursor, python, node, otel-sdk or collector. Omit to get every block. | |
| monitor_id | Yes | Monitor UUID (from create_monitor or list_monitors). |