This script takes component urls as input and pushes data to snappyflow under plugin etl
Project description
Python sfapmetl feature
Installation
$ pip install sfapmetl
Usage
$ sf-apm-etl <config file path>
- Please provide config as mentioned below:
key: <profilekey>
tags:
Name: <name>
appName: <appName>
projectName: <projectName>
jobUrl: <job_url> #component url of job table
stageUrl: <stage_url> #component url of stage table
taskUrl: <task_url> #component url of task table
authKey: <authentication_key_for_the_urls>
-
After this setup, add cronjob into /etc/crontab( Applicable for Linux AWS instance, else run this script as a cron job) ex: To run script every 5 minutes - */5 * * * * root sf-apm-etl
-
please refer this link for cronjob https://www.digitalocean.com/community/tutorials/how-to-use-cron-to-automate-tasks-ubuntu-1804
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sfapmetl-0.1.6.tar.gz
(8.3 kB
view hashes)
Built Distribution
Close
Hashes for sfapmetl-0.1.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fb401ce238ff26d7b87d6ec6e9433c6eea8d12bff6aab86a60ffccd05da27f5 |
|
MD5 | 3afc00ab469961fbea002242ec4685b1 |
|
BLAKE2b-256 | 33717f42d80edd7d39487a6f5c8ef63f7e2760e3d5a5c4acbf188752893ce4b3 |