Skip to main content

Tool to monitor openai requests

Project description

Site24x7 OpenAI Observability

Instructions to add Site24x7 OpenAI Observability

  • Install the site24x7-openai module using the following command:

      pip install site24x7-openai-observability --upgrade
    

Note: If you are using a virtual environment, activate it and run the above command to install the site24x7-openai-observability package into your virtual environment.

  • Configure the license key, sample factor, and capture openai text using environment variables.

     $ export SITE24X7_LICENSE_KEY=<your site24x7 license key>
     $ export SITE24X7_SAMPLING_FACTOR=<set sampling factor by default 10>
     $ export SITE24X7_CAPTURE_OPENAI_TEXT=<set value by default True>
    
  • Add the below code to your application's start file to integrate the observability agent:

      import os
      os.environ["SITE24X7_LICENSE_KEY"] = "<license_key or device_key>"
      import site24x7_openai_observability
    

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

site24x7_openai_observability-1.1.0.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

site24x7_openai_observability-1.1.0-py3-none-any.whl (23.1 kB view details)

Uploaded Python 3

File details

Details for the file site24x7_openai_observability-1.1.0.tar.gz.

File metadata

File hashes

Hashes for site24x7_openai_observability-1.1.0.tar.gz
Algorithm Hash digest
SHA256 57df2bfebd59edcddc9e6b581c7bca34ac4078505619cb257fbe7ce63e6b6bd6
MD5 778f9f2be172b2d3f6227ecfdb861738
BLAKE2b-256 6b1331bbd7b88f6ed685cf6cb7cb44e5517ad453a70fa54a57b46f6e74baff60

See more details on using hashes here.

File details

Details for the file site24x7_openai_observability-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for site24x7_openai_observability-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5b6133905020f6fca0b7d153ff89c65b4e5a0ec37dd943c80ce1b2d055fea461
MD5 2a3de0dd3da7ee319f66e71f8b05ed85
BLAKE2b-256 34e367000ea0b6f737b38cfef2b22458b0fb029380e90848d32ae22eee8ae336

See more details on using hashes here.

Supported by

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