Skip to main content

OpenTelemetry Mistral AI Instrumentation

This library allows tracing calls to any of mistralai's endpoints sent with the official Mistral AI library.

Installation

pip install opentelemetry-if-instrumentation-mistralai

Example usage

from opentelemetry.instrumentation.mistralai import MistralAiInstrumentor

MistralAiInstrumentor().instrument()

Privacy

By default, this instrumentation logs prompts, completions, and embeddings to span attributes. This gives you a clear visibility into how your LLM application is working, and can make it easy to debug and evaluate the quality of the outputs.

However, you may want to disable this logging for privacy reasons, as they may contain highly sensitive data from your users. You may also simply want to reduce the size of your traces.

To disable logging, set the IFTRACER_TRACE_CONTENT environment variable to false.

IFTRACER_TRACE_CONTENT=false

Metadata

Release files for opentelemetry-if-instrumentation-mistralai 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for opentelemetry-if-instrumentation-mistralai 1.0.0
File Size Uploaded Provenance
opentelemetry_if_instrumentation_mistralai-1.0.0.tar.gz 4.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for opentelemetry-if-instrumentation-mistralai 1.0.0
File Interpreter ABI Platform
opentelemetry_if_instrumentation_mistralai-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.4 kB

Release files / opentelemetry_if_instrumentation_mistralai-1.0.0.tar.gz

Download URL opentelemetry_if_instrumentation_mistralai-1.0.0.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
80672400f22b815acbfc2ff62b2b7121707877c853c99a7f0e85bd0d108c5cd9
BLAKE2b-256 checksum
How to use checksums
efc4ef827e9a96c696de585aeff82506d694d0cbfba0645d57adc3a95c7bf949
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release files / opentelemetry_if_instrumentation_mistralai-1.0.0-py3-none-any.whl

Download URL opentelemetry_if_instrumentation_mistralai-1.0.0-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7ff6459f73a62e0c8eb38cd4d290f20d3c181e4fad3698e27096830fc734a251
BLAKE2b-256 checksum
How to use checksums
a1a1131f21eae030717328878e3ea0fa2d5cb68fbbadaa0f96a955d87fbf3c4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Security for opentelemetry-if-instrumentation-mistralai 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page