Skip to content
Back to skills

Minimal

ASecurity

```python from opentelemetry import trace, metrics from opentelemetry.exporter.jaeger.thrift import JaegerExporter from opentelemetry.sdk.trace import TracerProvider from opentelemetry.sdk.trace.export import BatchSpanProcessor

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 10, 2026
devopspythonsql

Security analysis

A100/100

Scanned September 10, 2026

npx -y skills add snoodleboot-io/prompticorn --skill minimal --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Minimal?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Minimal
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/snoodleboot-io-minimal-0e82292b/badge)](https://www.skillsdirectory.com/skills/snoodleboot-io-minimal-0e82292b)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Distributed Tracing Instrumentation (Minimal)

## Basic Setup

```python
from opentelemetry import trace, metrics
from opentelemetry.exporter.jaeger.thrift import JaegerExporter
from opentelemetry.sdk.trace import TracerProvider
from opentelemetry.sdk.trace.export import BatchSpanProcessor

# Setup Jaeger exporter
jaeger_exporter = JaegerExporter(
    agent_host_name="localhost",
    agent_port=6831,
)
trace.set_tracer_provider(TracerProvider())
trace.get_tracer_provider().add_span_processor(
    BatchSpanProcessor(jaeger_exporter)
)
```

## Creating Spans

```python
from opentelemetry import trace

tracer = trace.get_tracer(__name__)

# Manual span
with tracer.start_as_current_span("process_order") as span:
    span.set_attribute("order.id", order_id)
    order = process(order_id)
```

## Propagating Context

```python
from opentelemetry.propagate import inject, extract
import requests

# Inject context into HTTP headers
headers = {}
inject(headers)
response = requests.get(url, headers=headers)

# Extract context from received headers
ctx = extract(headers)
# Now spans in this service linked to upstream
```

## Common Attributes

```python
span.set_attribute("service.name", "order-service")
span.set_attribute("span.kind", "server")
span.set_attribute("http.method", "POST")
span.set_attribute("http.status_code", 200)
span.set_attribute("db.system", "postgresql")
span.set_attribute("db.statement", "SELECT...")
```

## Events (Logging in Spans)

```python
span.add_event("order_created", {"order_id": 123})
span.record_exception(exception)
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.