etlReport script
Project description
Python etl feature
Installation
$ pip install sfapmetl
Usage
$ etl-script
Please provide config as mentioned below
key: <profile key>
tags:
Name: <name>
appName: <appName>
projectName: <projectName>
metrics:
plugins:
- name: <PluginName>
enabled: true
url: <componentUrl>
authkey: <authentication_key_for_the_url>
-
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.2.1.tar.gz
(6.8 kB
view hashes)
Built Distribution
Close
Hashes for sfapmetl-0.2.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbbe2b92e30a4497b0aab4633e636b487652ae7f8786e777c11fcf39a686e8a1 |
|
MD5 | 1ffad696eba4758a049bea3de88ab868 |
|
BLAKE2b-256 | 7b33f524fdf74a572d98da7ebf448ce89d4417c6b9627274806a90b95a4b30ec |