Skip to content
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

Add workflow data for analytics #5931

Closed
benthomasson opened this issue Feb 13, 2020 · 5 comments
Closed

Add workflow data for analytics #5931

benthomasson opened this issue Feb 13, 2020 · 5 comments

Comments

@benthomasson
Copy link
Contributor

benthomasson commented Feb 13, 2020

ISSUE TYPE
  • Feature Idea
SUMMARY

In order to support workflow analytics on Automation Analytics we need additional data from Tower. We may need a dump of the workflow relationship table in order to analyze root cause failures.

@Ladas
Copy link
Contributor

Ladas commented Feb 21, 2020

  • new collection added workflow_job_template_nodes
  • new collection added workflow_job_nodes

@Ladas
Copy link
Contributor

Ladas commented Mar 5, 2020

@rooftopcellist @ryanpetrello I can do this one, I just need opinion from you:

To get the source_workflow_id (now workflow_job_id), we need to do join to job_nodes

if self.spawned_by_workflow:

The join might be quite expensive, since the job_nodes table can be quite big? So we can just send the job_nodes table and do the join on analytics side (in the cloud). What do you think?


I'll probably just add workflow_job_template_nodes, workflow_job_nodes we'll do any processing we need on the cloud side

@Ladas
Copy link
Contributor

Ladas commented Mar 6, 2020

Implemented by #6204

@wenottingham
Copy link
Contributor

-> #6201

@kdelee
Copy link
Member

kdelee commented May 26, 2021

my mistake, we have tests for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants