opentelemetry-instrumentation-mistralai


Nameopentelemetry-instrumentation-mistralai JSON
Version 0.44.1 PyPI version JSON
download
home_pageNone
SummaryOpenTelemetry Mistral AI instrumentation
upload_time2025-08-04 08:40:10
maintainerNone
docs_urlNone
authorGal Kleinman
requires_python<4,>=3.9
licenseApache-2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # OpenTelemetry Mistral AI Instrumentation

<a href="https://pypi.org/project/opentelemetry-instrumentation-mistralai/">
    <img src="https://badge.fury.io/py/opentelemetry-instrumentation-mistralai.svg">
</a>

This library allows tracing calls to any of mistralai's endpoints sent with the official [Mistral AI library](https://github.com/mistralai-ai/mistralai-python).

## Installation

```bash
pip install opentelemetry-instrumentation-mistralai
```

## Example usage

```python
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 `TRACELOOP_TRACE_CONTENT` environment variable to `false`.

```bash
TRACELOOP_TRACE_CONTENT=false
```


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "opentelemetry-instrumentation-mistralai",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4,>=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": "Gal Kleinman",
    "author_email": "gal@traceloop.com",
    "download_url": "https://files.pythonhosted.org/packages/c8/b2/b304831147990f04cb779a9339fecea21abc59c6788300b9d8a4181ffda3/opentelemetry_instrumentation_mistralai-0.44.1.tar.gz",
    "platform": null,
    "description": "# OpenTelemetry Mistral AI Instrumentation\n\n<a href=\"https://pypi.org/project/opentelemetry-instrumentation-mistralai/\">\n    <img src=\"https://badge.fury.io/py/opentelemetry-instrumentation-mistralai.svg\">\n</a>\n\nThis library allows tracing calls to any of mistralai's endpoints sent with the official [Mistral AI library](https://github.com/mistralai-ai/mistralai-python).\n\n## Installation\n\n```bash\npip install opentelemetry-instrumentation-mistralai\n```\n\n## Example usage\n\n```python\nfrom opentelemetry.instrumentation.mistralai import MistralAiInstrumentor\n\nMistralAiInstrumentor().instrument()\n```\n\n## Privacy\n\n**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.\n\nHowever, 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.\n\nTo disable logging, set the `TRACELOOP_TRACE_CONTENT` environment variable to `false`.\n\n```bash\nTRACELOOP_TRACE_CONTENT=false\n```\n\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "OpenTelemetry Mistral AI instrumentation",
    "version": "0.44.1",
    "project_urls": {
        "Repository": "https://github.com/traceloop/openllmetry/tree/main/packages/opentelemetry-instrumentation-mistralai"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "57d675b522f4709940317c30cff5b9321cef369acea776bea9d241db29f2c5d6",
                "md5": "fdeca128175bc257ce068008d3064445",
                "sha256": "f1c36c6580a169167217c7f1879bdd933a52aced30d69ca49824b8cad823d2b9"
            },
            "downloads": -1,
            "filename": "opentelemetry_instrumentation_mistralai-0.44.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fdeca128175bc257ce068008d3064445",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4,>=3.9",
            "size": 8797,
            "upload_time": "2025-08-04T08:39:38",
            "upload_time_iso_8601": "2025-08-04T08:39:38.171485Z",
            "url": "https://files.pythonhosted.org/packages/57/d6/75b522f4709940317c30cff5b9321cef369acea776bea9d241db29f2c5d6/opentelemetry_instrumentation_mistralai-0.44.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "c8b2b304831147990f04cb779a9339fecea21abc59c6788300b9d8a4181ffda3",
                "md5": "7f0db9dc34141deaed53555a03b525a9",
                "sha256": "9d74886fdf3b0bf1fe388ad1a18f0c0edb490757f5724d3ca0475d13da87708d"
            },
            "downloads": -1,
            "filename": "opentelemetry_instrumentation_mistralai-0.44.1.tar.gz",
            "has_sig": false,
            "md5_digest": "7f0db9dc34141deaed53555a03b525a9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4,>=3.9",
            "size": 6717,
            "upload_time": "2025-08-04T08:40:10",
            "upload_time_iso_8601": "2025-08-04T08:40:10.521180Z",
            "url": "https://files.pythonhosted.org/packages/c8/b2/b304831147990f04cb779a9339fecea21abc59c6788300b9d8a4181ffda3/opentelemetry_instrumentation_mistralai-0.44.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-04 08:40:10",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "traceloop",
    "github_project": "openllmetry",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "opentelemetry-instrumentation-mistralai"
}
        
Elapsed time: 0.69268s