An open API service indexing awesome lists of open source software.

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

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