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.2.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for sf_apm_lib-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12ea4455be2428903d2c051a4919f65d744e6f9133f385de4d1a6dfab98cf811 |
|
MD5 | 972f3949d48c81c328904b23e4e49c11 |
|
BLAKE2b-256 | 833970c10ea88a05a9f1228b3033458a0391f784608220e67db9c9550fbdd546 |