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.4.tar.gz
(8.3 kB
view hashes)
Built Distribution
Close
Hashes for sfapmetl-0.1.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6285775e34e5720c6654426c16041326fcfbb7a44e4512dbeee5d36517ddd07b |
|
MD5 | c0b1e8c7dace1cf958eab56c28425a85 |
|
BLAKE2b-256 | 5c8422abcfd5aef59250c77612a168ff211d773c457ec5b71ad8db01c2ee7ca3 |