Skip to main content

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


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.12.tar.gz.

File metadata

File hashes

Hashes for opentelemetry_instrumentation_sagemaker-0.33.12.tar.gz
Algorithm Hash digest
SHA256 286bb0e7765967212e111274ca523084d8105a3f18d1dfc90873bca60f6ad766
MD5 ea8a19e94a475fefe2fa74e312f9ebaa
BLAKE2b-256 c2972ddbceba0f95f9b28e7ed75ee2d38214ea1e7d071585d9afea35d0e71619

See more details on using hashes here.

Provenance

The following attestation bundles were made for opentelemetry_instrumentation_sagemaker-0.33.12.tar.gz:

Publisher: GitHub
  • Repository: traceloop/openllmetry
  • Workflow: release.yml
Attestations:
  • Statement type: https://in-toto.io/Statement/v1
    • Predicate type: https://docs.pypi.org/attestations/publish/v1
    • Subject name: opentelemetry_instrumentation_sagemaker-0.33.12.tar.gz
    • Subject digest: 286bb0e7765967212e111274ca523084d8105a3f18d1dfc90873bca60f6ad766
    • Transparency log index: 148749190
    • Transparency log integration time:

File details

Details for the file opentelemetry_instrumentation_sagemaker-0.33.12-py3-none-any.whl.

File metadata

File hashes

Hashes for opentelemetry_instrumentation_sagemaker-0.33.12-py3-none-any.whl
Algorithm Hash digest
SHA256 da72e78a094106c3ce48e2410665016f161211976c577e92b4624dfbbc54e47e
MD5 5878ddadeb3bfaecbc0f310a46ab97ee
BLAKE2b-256 c3f321896275fb1b4954082c4b95277d8ce66d6e947f1c153b0f01182e9a852f

See more details on using hashes here.

Provenance

The following attestation bundles were made for opentelemetry_instrumentation_sagemaker-0.33.12-py3-none-any.whl:

Publisher: GitHub
  • Repository: traceloop/openllmetry
  • Workflow: release.yml
Attestations:
  • Statement type: https://in-toto.io/Statement/v1
    • Predicate type: https://docs.pypi.org/attestations/publish/v1
    • Subject name: opentelemetry_instrumentation_sagemaker-0.33.12-py3-none-any.whl
    • Subject digest: da72e78a094106c3ce48e2410665016f161211976c577e92b4624dfbbc54e47e
    • Transparency log index: 148749219
    • Transparency log integration time:

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page