Neatlogs OpenTelemetry-compatible instrumentations for AI agent ecosystems.
Project description
Neatlogs Instrumentations
Neatlogs OpenTelemetry-compatible instrumentations for AI agent ecosystems.
Install
Install from PyPI:
pip install neatlogs-instrumentations
If you need Azure AI Inference support:
pip install "neatlogs-instrumentations[azure-ai-inference]"
Quickstart (Azure AI Inference)
This package provides an OpenTelemetry BaseInstrumentor for the
azure.ai.inference.ChatCompletionsClient.complete method.
from opentelemetry.sdk.trace import TracerProvider
from opentelemetry.sdk.trace.export import SimpleSpanProcessor, ConsoleSpanExporter
from neatlogs_instrumentation_azure_ai_inference.instrumentor import (
AzureAIInferenceInstrumentor,
)
provider = TracerProvider()
provider.add_span_processor(SimpleSpanProcessor(ConsoleSpanExporter()))
AzureAIInferenceInstrumentor().instrument(tracer_provider=provider)
To confirm it is installed:
python -c "from neatlogs_instrumentation_azure_ai_inference.instrumentor import AzureAIInferenceInstrumentor; print(AzureAIInferenceInstrumentor)"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file neatlogs_instrumentations-0.1.1.tar.gz.
File metadata
- Download URL: neatlogs_instrumentations-0.1.1.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5754df3874070eb9a398d95fdad54c83c50610592b2660bd62a0f4a9091564d1
|
|
| MD5 |
3ff7580ed67968681c5e22e86bda960b
|
|
| BLAKE2b-256 |
9bba1f8ca90397fdea6a2fb9c10911a7c6d9e944e106b60ace5c74f49d3101e5
|
File details
Details for the file neatlogs_instrumentations-0.1.1-py3-none-any.whl.
File metadata
- Download URL: neatlogs_instrumentations-0.1.1-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db5e9b9385a8d50a77857218cf6bf7f43e499e19327b70e51d4886dbd948251e
|
|
| MD5 |
36216a6efe524aa0435188501fab9b29
|
|
| BLAKE2b-256 |
3a0878dd89b3187675cb1453be805bd91dde4829406f2e32559f48b546b76493
|