awx icon indicating copy to clipboard operation
awx copied to clipboard

[ON HOLD] Analytics module: Insights Analytics Collector

Open slemrmartin opened this issue 3 years ago • 4 comments

SUMMARY

ON HOLD TILL AFTER CODE FREEZE

We want to unify the collecting data to Automation Analytics across AAP products. This feature uses Insights Analytics Collector which was designed with respect to the analytics module This feature:

  • replaces analytics/core.py
  • keeps definitions of collectors.py with small changes to the @register method:
    • renames expensive to fnc_slicing
    • adds config=<bool>
    • slicing functions uses key-value args (**kwargs)
  • adds mandatory file "data_collection_status.csv" to each payload to better support analytics
  • puts more collections to one tarball if possible (collections without fnc_slicing) than original
  • fixes a bug in the FileSplitter with counting headers to the file size, by implementation of CsvFileSplitter
ISSUE

https://issues.redhat.com/browse/AA-1265

ISSUE TYPE
  • New or Enhanced Feature
COMPONENT NAME
  • Analytics
AWX VERSION
awx: 22.3.1.dev33+gfe28e95cbb
ADDITIONAL INFORMATION

TODO: description of howto run, where are changes


slemrmartin avatar Aug 22 '22 15:08 slemrmartin

@slemrmartin what does the timeline look like on making this change?

jbradberry avatar Sep 28 '22 17:09 jbradberry

@jbradberry we need to go through both Controller and Analytics QEs first. I made a ticket for it. I really hope it'll be in next AAP release. Btw I'll rebase asap

slemrmartin avatar Sep 29 '22 08:09 slemrmartin

Hi @slemrmartin just checking the status of this. We'll be needing it to implement metrics collection for AAP on AWS SaaS and Azure managed service. Thanks!

bhavenst avatar Apr 19 '24 15:04 bhavenst

@bhavenst The plan is we'll focus on it again in upcoming months

slemrmartin avatar Apr 23 '24 07:04 slemrmartin