trace_add_spans
Add custom spans and attributes to instrument critical code paths. Provide service name, language, and operations to get targeted observability data for debugging performance issues.
Instructions
Add custom spans and attributes to instrument critical code paths
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key for authentication | |
| language | Yes | Programming language | |
| operations | Yes | List of operations to instrument (e.g. db_query, api_call, process_order) | |
| service_name | Yes | Name of the service |