Title: Python Observability with OpenTelemetry — Maple
Open Graph Title: Python Observability with OpenTelemetry — Maple
X Title: Python Observability with OpenTelemetry — Maple
Description: Instrument your Python application with zero code changes using OpenTelemetry auto-instrumentation. Supports Flask, FastAPI, Django, and dozens of popular libraries.
Open Graph Description: Instrument your Python application with zero code changes using OpenTelemetry auto-instrumentation. Supports Flask, FastAPI, Django, and dozens of popular libraries.
X Description: Instrument your Python application with zero code changes using OpenTelemetry auto-instrumentation. Supports Flask, FastAPI, Django, and dozens of popular libraries.
Opengraph URL: https://maple.dev/ja/integrations/python/
X: @maple_dev
Generator: Astro v5.18.2
Domain: maple.dev
{"@context":"https://schema.org","@type":"WebPage","name":"Python Observability with OpenTelemetry — Maple","description":"Instrument your Python application with zero code changes using OpenTelemetry auto-instrumentation. Supports Flask, FastAPI, Django, and dozens of popular libraries.","url":"https://maple.dev/ja/integrations/python/"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://maple.dev/ja/"},{"@type":"ListItem","position":2,"name":"Integrations","item":"https://maple.dev/ja/integrations/python/"},{"@type":"ListItem","position":3,"name":"Python","item":"https://maple.dev/ja/integrations/python/"}]}
{"@context":"https://schema.org","@type":"HowTo","name":"How to add OpenTelemetry observability to Python","description":"Instrument your Python application with zero code changes using OpenTelemetry auto-instrumentation. Supports Flask, FastAPI, Django, and dozens of popular libraries.","step":[{"@type":"HowToStep","position":1,"name":"Install dependencies","text":"pip install opentelemetry-sdk \\\n opentelemetry-exporter-otlp-proto-http \\\n opentelemetry-instrumentation"},{"@type":"HowToStep","position":2,"name":"Configure tracing","text":"# tracing.py\nfrom opentelemetry import trace\nfrom opentelemetry.sdk.trace import TracerProvider\nfrom opentelemetry.sdk.trace.export import BatchSpanProcessor\nfrom opentelemetry.exporter.otlp.proto.http.trace_exporter import OTLPSpanExporter\n\nprovider = TracerProvider()\nexporter = OTLPSpanExporter(\n endpoint=\"https://ingest.maple.dev/v1/traces\",\n headers={\"Authorization\": \"Bearer your-api-key\"},\n)\nprovider.add_span_processor(BatchSpanProcessor(exporter))\ntrace.set_tracer_provider(provider)\n\n# Create a tracer and send a test span\ntracer = trace.get_tracer(\"quickstart\")\nwith tracer.start_as_current_span(\"hello-maple\"):\n print(\"Trace sent!\")"}]}
| theme-color | #272219 |
| og:type | article |
| og:site_name | Maple |
| og:locale | ja_JP |
| og:image | https://maple.dev/og-image.png |
| twitter:card | summary_large_image |
| twitter:image | https://maple.dev/og-image.png |
Links:
Viewport: width=device-width, initial-scale=1
Robots: index,follow