https://github.com/codefresh-io/onprem-analytics
onprem analytics tools
https://github.com/codefresh-io/onprem-analytics
Last synced: 8 months ago
JSON representation
onprem analytics tools
- Host: GitHub
- URL: https://github.com/codefresh-io/onprem-analytics
- Owner: codefresh-io
- Created: 2019-11-14T07:01:40.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-08-28T14:24:32.000Z (almost 3 years ago)
- Last Synced: 2025-04-25T14:59:45.415Z (about 1 year ago)
- Language: JavaScript
- Size: 53.7 KB
- Stars: 1
- Watchers: 6
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Onprem Analytics Tool
1. npm install
2. npm run summary
3. npm run list
## builds summary report (npm run summary)
this will generate a summary report regarding an aggregation of the builds
possible environment variables:
MONGO_URI(required) - mongo db endpoint including authentication if reuqired (default: mongodb://localhost)
API_DB(required) - mongo db api database (default: local)
FROM_DATE - in format of 2019-01-01 (default: 2019-01-01)
TO_DATE - in format of 2019-01-01 (default: not passed => till latest)
ACCOUNT_ID - generate report only for a specific account id. mongo id string. if using ACCOUNT_ID, SYSTEM_OVERVIEW doesn't have an affect
SYSTEM_OVERVIEW - export entire system instead of per account report (default: not passed). if using ACCOUNT_ID, SYSTEM_OVERVIEW doesn't have an affect
## builds list report (npm run list)
This will generate a table list of all builds
possible environment variables:
MONGO_URI(required) - mongo db endpoint including authentication if reuqired (default: mongodb://localhost)
API_DB(required) - mongo db api database (default: local)
FROM_DATE - in format of 2019-01-01 (default: 2019-01-01)
TO_DATE - in format of 2019-01-01 (default: not passed => till latest)
ACCOUNT_ID - generate report only for a specific account id. mongo id string