Skip to content

Conversation

dannykopping
Copy link
Contributor

In timingSpan we use a hash function to efficiently lookup state transitions in a map.

I was not including the span action, which meant that if a resource was both deleted and created (a common approach with Terraform) then only one of those timings would be aggregated.

Signed-off-by: Danny Kopping <danny@coder.com>
Copy link
Member

@johnstcn johnstcn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@dannykopping dannykopping merged commit cc94420 into main Aug 22, 2024
28 checks passed
@dannykopping dannykopping deleted the dk/timings-hash-state branch August 22, 2024 10:31
@github-actions github-actions bot locked and limited conversation to collaborators Aug 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy