Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Tempo-k8s does not capture traces for charm install hook + traces not captured prior to relation formation #168

Open
shayancanonical opened this issue Sep 13, 2024 · 0 comments

Comments

@shayancanonical
Copy link

Enhancement Proposal

The tempo-k8s integration does not capture traces for the install hook because tracing-relation-created event will always run after the install hook of the charm if the tracing relation is created before the charm is provisioned

Furthermore, if there are events that are run before the tracing relation is created, all those traces are lost.

Suggestion: somehow locally cache the trace information for all events run before the tracing relation is formed. These cached traces can then be pushed to tempo as soon as the tracing relation is formed. There may be concerns about how many traces should be cached on the charm (in case the tracing relation is never formed), but these cached traces can be purged to ensure that only the last N traces are available on a charm at any given time

@shayancanonical shayancanonical changed the title Tempo-k8s does not capture traces for charm install hook Tempo-k8s does not capture traces for charm install hook + traces not captured prior to relation formation Sep 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant