Snappyflow pip package
Project description
sf-apm-lib
Snappyflow modules
Installation
pip install sf-apm-lib
Then you should import the library.
from sf_apm_lib.snappyflow import Snappyflow
Usage
Get trace config
sf = Snappyflow() # Initialize Snappyflow. By default intialization will pick profileKey, projectName and appName from sfagent config.yaml.
# Add below part to manually configure the initialization
project_name = '<Snappyflow Project Name>'
app_name = '<Snappyflow App Name>'
profile_key = '<Snappyflow Profile Key>'
sf.init(profile_key, project_name, app_name)
# End of manual configuration
trace_config = sf.get_trace_config() # Returns trace config
print(trace_config)
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
sf_apm_lib-0.1.6.tar.gz
(4.6 kB
view details)
Built Distribution
File details
Details for the file sf_apm_lib-0.1.6.tar.gz
.
File metadata
- Download URL: sf_apm_lib-0.1.6.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eafec819a195a3f589d2f290e173d3ca3ab351032423ea2aac1ca55eb66e3fcb |
|
MD5 | b737e9a36674a2ff90dd9502c1ac58e6 |
|
BLAKE2b-256 | 86ab251aea058c3080fe08a96ca08cd213ca560a26077b4ab4a35ef3670abad1 |
File details
Details for the file sf_apm_lib-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: sf_apm_lib-0.1.6-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0083e5125aeff4d62c4e06eb86f3e8acc8f625fedfbec6a19f6fdabcf64cfed3 |
|
MD5 | cdb8ec4a743b6f3bc31f3bbf871bcbac |
|
BLAKE2b-256 | 0c3a7c2ffa5c3ea5f1de2cd217dcf2fa6e7257a16ff633ef8698a47c9310c6da |