logo

Vedatrace

Python sdk

Python SDK

Get started with the VedaTrace SDK for Python.

Installation

Install the VedaTrace SDK using pip.

pip install vedatrace

Quickstart

from vedatrace import VedaTrace, VedaTraceConfig

config = VedaTraceConfig(
    api_key="YOUR_API_KEY",
    service="your-service",
    console_enabled=False,
)

logger = VedaTrace("YOUR_API_KEY", service="your-service", config=config)
logger.info("Service started", {"env": "production"})

On this page