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.3.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for sf_apm_lib-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9106f027d797dde887694ecda2a5aec5f3bb015978d2dbe849ac76db8fc8e510 |
|
MD5 | f45b760cf5adc0e7622199627335554f |
|
BLAKE2b-256 | 287722a4368f74284810b4f2f68ab5c0a72b65c80a37603d53f7d68cd35f6251 |