{"repo":"opencost/opencost-parquet-exporter","free":true,"listed":false,"github":"https://github.com/opencost/opencost-parquet-exporter","clone":"git clone https://github.com/opencost/opencost-parquet-exporter.git","description":"Export OpenCost data in parquet format","language":"Python","stars":17,"topics":["kubernetes","cncf","prometheus","cost","k8s","finops"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"opencost-parquet-exporter Export OpenCost data in parquet format This script was created to export data from opencost in PARQUET format. It supports exporting the data to S3, Azure Blob Storage, GCP Cloud Storage, and local directory. Dependencies This script depends on boto3, pandas, numpy, python-dateutil, azure-identity, azure-storage-blob, and google-cloud-storage. The file requirements.txt has all the dependencies specified. Configuration: The script supports the following environment variables: OPENCOST PARQUET SVC HOSTNAME: Hostname of the opencost service. By default, it assumes the opencost service is on localhost. OPENCOST PARQUET SVC PORT: Port of the opencost service, by default it assumes it is 9003. OPENCOST PARQUET WINDOW START: Start window for the export. By default it is None, which results in exporting the data for yesterday. Date needs to be set in RFC3339 format, e.g., 2024-05-27T00:00:00Z . OPENCOST PARQUET WINDOW END: End of the export window. By default it is None, which results in exporting the data for yesterday. Date needs to be set in RFC3339 format, e.g., 2024-05-27T23:59:59Z . OPENCOST PARQUET S3 BUCKET: S3 bucket that will be used to store the export. By default this is None, and S3 export is not done. If set to a bucket, use s3://bucket-name and make sure there is an AWS Role with access to the S3 bucket attached to the container running the export. This also respects the environment variables AWS PROFILE, AWS ACCESS KEY ID, AWS SECRET ACCESS K","default_branch":null,"files":null,"tree":[],"storefront":"/r/opencost","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/opencost/opencost-parquet-exporter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}