opentelemetry-instrumentation-vertexai


Nameopentelemetry-instrumentation-vertexai JSON
Version 0.44.1 PyPI version JSON
download
home_pageNone
SummaryOpenTelemetry Vertex AI instrumentation
upload_time2025-08-04 08:40:19
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 VertexAI Instrumentation

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

This library allows tracing VertexAI prompts and completions sent with the official [VertexAI library](https://github.com/googleapis/python-aiplatform).

## Installation

```bash
pip install opentelemetry-instrumentation-vertexai
```

## Example usage

```python
from opentelemetry.instrumentation.vertexai import VertexAIInstrumentor

VertexAIInstrumentor().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-vertexai",
    "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/89/41/c5802aedffe626c00cf7db165ef1b73cb2aea9463889051792584eaa6d38/opentelemetry_instrumentation_vertexai-0.44.1.tar.gz",
    "platform": null,
    "description": "# OpenTelemetry VertexAI Instrumentation\n\n<a href=\"https://pypi.org/project/opentelemetry-instrumentation-vertexai/\">\n    <img src=\"https://badge.fury.io/py/opentelemetry-instrumentation-vertexai.svg\">\n</a>\n\nThis library allows tracing VertexAI prompts and completions sent with the official [VertexAI library](https://github.com/googleapis/python-aiplatform).\n\n## Installation\n\n```bash\npip install opentelemetry-instrumentation-vertexai\n```\n\n## Example usage\n\n```python\nfrom opentelemetry.instrumentation.vertexai import VertexAIInstrumentor\n\nVertexAIInstrumentor().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 Vertex AI instrumentation",
    "version": "0.44.1",
    "project_urls": {
        "Repository": "https://github.com/traceloop/openllmetry/tree/main/packages/opentelemetry-instrumentation-vertexai"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "2364850174d04dba4498c56e56793e94b845a3c638758f86d86d8cec2d7f14e2",
                "md5": "b2c077ba67b7a73ed949c31ac9c9bdaa",
                "sha256": "fd685780c003d72f6e248cf170eefd1c46b211a8c64ef219e2cf36e3c3612f75"
            },
            "downloads": -1,
            "filename": "opentelemetry_instrumentation_vertexai-0.44.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b2c077ba67b7a73ed949c31ac9c9bdaa",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4,>=3.9",
            "size": 8902,
            "upload_time": "2025-08-04T08:39:52",
            "upload_time_iso_8601": "2025-08-04T08:39:52.553029Z",
            "url": "https://files.pythonhosted.org/packages/23/64/850174d04dba4498c56e56793e94b845a3c638758f86d86d8cec2d7f14e2/opentelemetry_instrumentation_vertexai-0.44.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "8941c5802aedffe626c00cf7db165ef1b73cb2aea9463889051792584eaa6d38",
                "md5": "46055de3671d979573e0da6b02aad5a6",
                "sha256": "94c4e9523da7e8868ca868f165b17c0886929e551a89e66e0728dc8f0aceefd5"
            },
            "downloads": -1,
            "filename": "opentelemetry_instrumentation_vertexai-0.44.1.tar.gz",
            "has_sig": false,
            "md5_digest": "46055de3671d979573e0da6b02aad5a6",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4,>=3.9",
            "size": 6570,
            "upload_time": "2025-08-04T08:40:19",
            "upload_time_iso_8601": "2025-08-04T08:40:19.365015Z",
            "url": "https://files.pythonhosted.org/packages/89/41/c5802aedffe626c00cf7db165ef1b73cb2aea9463889051792584eaa6d38/opentelemetry_instrumentation_vertexai-0.44.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-04 08:40:19",
    "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-vertexai"
}
        
Elapsed time: 2.75631s