Stats info with is_filtered == True excluded from InstallationInfo
and OpenStack workloads reports.
OSWLs info for filtered InstallationInfo excluded from CSV reports
Value is_filtered is set according to FILTERING_RULES in collector
config file.
Web UI javascript libraries files added to .gitignore.
Change-Id: I9a4e2e9e953e3424139e8fa31e0b0f10d61a394a
Partial-Bug: #1443347
Volume contains list of attachments. Export of attachments into CSV as enumerated fields implemented.
Number of enumrations is added into config as CSV_VOLUME_ATTACHMENTS_NUM parameter.
Enumeration of keys paths implemented in export_utils.
Volume attachment skeleton added.
Change-Id: I63eb2217c3564457a8ff4a5396eb7e7c40a76321
Closes-Bug: #1434086
Closes-Bug: #1435224
Keystone users report available by url: /api/v1/csv/keystone_user.
Test for resource types structure added.
Implements: blueprint openstack-workload-statistics
Change-Id: I1d62d0e905c49af7dbd703fe6f0f514cb4280dbf
Fuel-stats part of implementation.
In case of cluster reset we can lose information about adding and
removing workloads. For prevention format of resource_data is
changed. Now we have lists of dicts in 'added', 'remove', 'modified'
and 'current'. On cluster reset we can have several records in the
'added' with different time of adding. For 'removed' we add full
data only if it doesn't already added. In other case we add only
id with removing time.
Change-Id: I2d57f53fcb1489f177772875464056ef301b16a6
Closes-Bug: #1427757
Implements: blueprint openstack-workload-statistics
Separate test for csv_exporter added.
Exceptions classes added.
Errors handling added into app.
DB yield_per param moved to config.
Change-Id: I8b962a62c6f414b6030cca7a39e8cb2b0aafab37
Implements: blueprint openstack-workload-statistics
If resource is not changed during time period we have only
one record in DB. But in CSV time series report we should have
rows on each date for resource. For such case we are duplicating
not changed row in the CSV report. But we should remove from
resource data 'added', 'modified', 'removed' in case of duplication
of the resource row.
We are duplicating resource rows only until masternode had sent
stats. For indication of sending stat InstallationStructure creation_date
and modification_date are used.
Implements: blueprint openstack-workload-statistics
Change-Id: Ide21e17d5ebf8359fe2913a5458c9c8d499b8da5
Creation and modification dates of stats from
installation_structures table are added into get_oswls function.
Now we are selecting only required fields in get_oswls funciton.
Oswl resource_checksum and id fields removed from CSV report.
Change-Id: Ib0f00ed2bac8758988b512cc067ce74a66b7f3d8
Blueprint: export-stats-to-csv
CSV export implementation generalized for resource types
CSV export tests generalized for resource types
DB operations in tests wrapped into transaction
Transaction rollback added into DbTest.tearDown
Result file name format changed to resource_type.csv
Blueprint: export-stats-to-csv
Change-Id: I36cefec099d551d320c57abdc19fcdf29bc2c2ad