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.1.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for sf_apm_lib-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 468c969a35cefbdfa77c349346f6fd369f662784fb30d2eeda8f591e4355dd86 |
|
MD5 | 837355a1e73b1bda175d72cae39bda74 |
|
BLAKE2b-256 | 7b2cb64126cd8513e9464506ad1d3a70c2cc85d7e3d9659818a8eaab501eca9c |