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

feat(play): Add play level trace span #19

Merged

Conversation

louisquentinjoucla
Copy link
Contributor

@louisquentinjoucla louisquentinjoucla commented Jun 19, 2022

Hey 👋 ,

This PR close #3 ! Here how it does looks like with all playbooks with strategy free:
image

It is not accurate as we lack of callback to achieve this, but here how it is done:
The play duration event will only be created right before when a task for a given host will start. At the start of a new play, we add an E event for all the plays we created before.

We do one as well at the very end to handle the last play condition.

Even if it is not accurate, it gives a better pictures of what is going on.

Let me know if it is ok for you!

clean(plugin): Remove code from other work

fix(inventory): missing inventory for test one host

fix(inventory): missing new line
@mhansen mhansen merged commit 234ab54 into mhansen:main Jun 23, 2022
@mhansen
Copy link
Owner

mhansen commented Jun 23, 2022 via email

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

Successfully merging this pull request may close these issues.

Add top-level spans per play
2 participants