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.4.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for sf_apm_lib-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 869a601d4e8cb7ee3ea202396c1e75a658cf975a0a447a7b159a3db373ca6a3e |
|
MD5 | bb9fb5e459be3a931b12d1fb3496d767 |
|
BLAKE2b-256 | 1ef8b2f95d86fd9c023a658dd5c40290875f43e6a55bad39844453bf769d9f57 |