Closed mmkay closed 4 months ago
After some testing with cos-lite plus tempo, I found out that the tracing databag was empty.
after a good hour of confusion, frustration, life choice doubts and so on, it turns out it was an issue with the signature of the tracing .publish_receivers
signature. It said: receivers: Iterable[RawReceiver]
but the loop below was accessing receivers multiple times. As a result only the first relation got the receivers list, all other relations got no receivers.
Upgrading that type to receivers: Sequence[RawReceiver]
and materializing the iterator in _update_tracing_relations
fixed the issue.
Issue
Upgrade Tempo to the latest image (2.4.0).
Testing Instructions
Run
charmcraft pack
on the charm and run the following commands:Bundle:
Release Notes
Upgrade of Tempo workload to 2.4.0, adjusting configuration properties names and default values according to Tempo's changelogs.