Skip to main content

Site24x7 application performance monitoring

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 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.0.0.tar.gz (5.1 kB view hashes)

Uploaded Source

Built Distribution

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