Kube-burner data-collector
- Free software: Apache Software License 2.0
pip install -r requirements.txt
python setup.py installIt can be run from the command line as:
$ data_collector --es-server 'https://elastic-search-fqdn' --es-index 'kube-burner*' --config config/metrics.yml --from $(date -d "2 months ago" +%s) --instance-dict data/aws_ec2_instances.jsonA configuration file is stored at metrics.yml. And has the following directives:
output_prefix: Prefix for the output files3_bucket: Name of the S3 buckets3_folder: Name of the S3 folderchunk_size: Size of the chunks (number of lines) to upload to S3