-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Send job and template nodes to analytics #6204
Send job and template nodes to analytics #6204
Conversation
@wenottingham @benthomasson @rooftopcellist we'll need to update docs I suppose? Should it be done in this PR? What else is missing? |
Build succeeded.
|
Is this dependent on #6176 ? |
@wenottingham it's directly not dependent on #6176. But without that PR, we'd just get nodes and no workflow job records. |
@chrismeyersfsu so right now, there are no indexes on created/modified that I can see. So this will now do a sequential scan. For next major AWX release, it'd be good to add index on some of these columns and use it (Not sure if job nodes record gets updated after the initial create? So the created timestamp might be good here too. ) For backports, the sequential scan might be ok, since the job nodes table might not be that big? (it's smaller than unified jobs) |
@Ladas can you rebase against devel? |
b3c22af
to
eaee201
Compare
@chrismeyersfsu rebased |
Build succeeded.
|
eaee201
to
e2257c4
Compare
Build failed.
|
recheck |
Build failed.
|
yeah, this needs rebased again after the rsyslog landing |
e2257c4
to
8cbd4ad
Compare
rebased |
Build failed.
|
Sent Ladas#2 for the unit tests. cc @ryanpetrello @jbradberry @chrismeyersfsu - this is a hack, open to better ideas to work around it. |
@wenottingham I see, the sqlite fails on |
Build succeeded.
|
@chrismeyersfsu tests merged. Thank you for that, you're awesome 👍 |
Build failed.
|
@chrismeyersfsu looks like the tests might be failing? Or is the PR wrong? |
@chrismeyersfsu @Ladas what needs done here? It looks like it needs rebased at a minimum. |
Sending tables main_workflowjobnode and main_workflowjobtemplatenode containing arrays of success/failure/always_nodes which is compatible to what API call for nodes return.
94f299a
to
144cffe
Compare
Build failed.
|
sqlite does not like some of our PG-isms.
Build failed.
|
8d13a1b
to
58c821f
Compare
Build succeeded.
|
thanks for the test fix @wenottingham , it seems to be ready for merge @chrismeyersfsu |
Build succeeded (gate pipeline).
|
SUMMARY
Sending tables main_workflowjobnode and main_workflowjobtemplatenode
containing arrays of success/failure/always_nodes which is compatible
to what API call for nodes return.
ISSUE TYPE
COMPONENT NAME
IMPLEMENTS FEATURE
#5931