OpenTelemetry SageMaker instrumentation
Project description
OpenTelemetry SageMaker Instrumentation
This library allows tracing of any models deployed on Amazon SageMaker and invoked with Boto3 to SageMaker.
Installation
pip install opentelemetry-instrumentation-sagemaker
Example usage
from opentelemetry.instrumentation.sagemaker import SageMakerInstrumentor
SageMakerInstrumentor().instrument()
Privacy
By default, this instrumentation logs SageMaker endpoint request bodies and responses 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
.
TRACELOOP_TRACE_CONTENT=false
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
File details
Details for the file opentelemetry_instrumentation_sagemaker-0.33.8.tar.gz
.
File metadata
- Download URL: opentelemetry_instrumentation_sagemaker-0.33.8.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f89ee8b2fd04fd62b91b2af56eda643102fdf64124a615ef3077050d0e00c04e |
|
MD5 | 7d1ec2ebe7fd70d919d7e6ef875c844c |
|
BLAKE2b-256 | 12883fd4783271fa98d14f4cb65767e870f462cbe44863a6989322d6614bb599 |
Provenance
The following attestation bundles were made for opentelemetry_instrumentation_sagemaker-0.33.8.tar.gz
:
Publisher:
release.yml
on traceloop/openllmetry
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
opentelemetry_instrumentation_sagemaker-0.33.8.tar.gz
- Subject digest:
f89ee8b2fd04fd62b91b2af56eda643102fdf64124a615ef3077050d0e00c04e
- Sigstore transparency entry: 146770033
- Sigstore integration time:
- Predicate type:
File details
Details for the file opentelemetry_instrumentation_sagemaker-0.33.8-py3-none-any.whl
.
File metadata
- Download URL: opentelemetry_instrumentation_sagemaker-0.33.8-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6c8ecaee921c401ce0e33ead20645f416603c7c8f4bf4167b5a59b1ea67a4b6 |
|
MD5 | 0b276b369ed356af97b3532b48d870e0 |
|
BLAKE2b-256 | cee94975b40a2804f04f9d403cecb720b9d4eabc5d7bf56878540efd59d699a5 |
Provenance
The following attestation bundles were made for opentelemetry_instrumentation_sagemaker-0.33.8-py3-none-any.whl
:
Publisher:
release.yml
on traceloop/openllmetry
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
opentelemetry_instrumentation_sagemaker-0.33.8-py3-none-any.whl
- Subject digest:
a6c8ecaee921c401ce0e33ead20645f416603c7c8f4bf4167b5a59b1ea67a4b6
- Sigstore transparency entry: 146770079
- Sigstore integration time:
- Predicate type: