Skip to main content

A special package for Sentry integration with advanced configuration options.

Project description

drcodecover

drcodecover is a Python package that provides a wrapper around , making it easy to configure and use 's features, including profiling and error handling.

Installation

To install the package, run:

bash

Copy code
 pip install drcodecover
Getting Started

Basic Usage

python

Copy code

 
from drcodecover import init_drcode
config = {
'public_key': 'yourPublicKey',
'project_id': 'yourProjectId',
'traces_sample_rate': 1.0, # optional
'profiles_sample_rate': 1.0 # optional
}
init_drcode(config)
<p>

Configuration

Configuration Object

  • public_key (str): The public key for .
  • project_id (str): The project ID.
  • traces_sample_rate (float, optional): The sample rate for tracing (default: 1.0).
  • profiles_sample_rate (float, optional): The sample rate for profiling (default: 1.0).

API Reference

Functions

  • init_drcode(config: dict) -> None

    Initializes with the provided configuration.

    • config (dict): The configuration dictionary.

Configuration Dictionary

The configuration dictionary should contain the following keys:

  • public_key (str): The public key for .
  • project_id (str): The project ID.
  • traces_sample_rate (float, optional): The sample rate for tracing (default: 1.0).
  • profiles_sample_rate (float, optional): The sample rate for profiling (default: 1.0).

License

This project is licensed under the MIT License.

Version

1.0.3

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

drcodecover-1.0.3.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

drcodecover-1.0.3-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file drcodecover-1.0.3.tar.gz.

File metadata

  • Download URL: drcodecover-1.0.3.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.7

File hashes

Hashes for drcodecover-1.0.3.tar.gz
Algorithm Hash digest
SHA256 9e48d36197147336f4533da85565db64769c014a1a6e43aeb822e53032a6a7dc
MD5 23a93441ea76f3e16e280cb4504c0342
BLAKE2b-256 205faeb745d067dead240476e7d8b9730a35335e0929f53fdb5296161dc2805b

See more details on using hashes here.

File details

Details for the file drcodecover-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: drcodecover-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.7

File hashes

Hashes for drcodecover-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6f911697c6617a8432a51a7d89ef70b432f19783109c4b579b65d0548ee2935f
MD5 54dcca70680ee352d83c9fd54c9c0e83
BLAKE2b-256 e75667308b8bd614969e436b820eb1b336265d592480a581dccaa22897508b2c

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