weaveworks-experiments / kspan

Turning Kubernetes Events into spans
Apache License 2.0
792 stars 56 forks source link

Improve lookup of actor/object pairs #23

Closed bboreham closed 3 years ago

bboreham commented 3 years ago

When we decode an event like "Scaled down replica set foo-7ff854 to 0", we get both the Deployment object attached to the event and the RepliaSet that it refers to, and if we use both those to look it makes it more likely we will hit the correct parent.

Also add special-case code for replicaset-controller events.