Deprecating `charm_tracing` charmlib in favor of `ops[tracing]`.

As we already hinted in june 2025’s announcement about migrating to ops[tracing], the `charm_tracing` charmlib is going to be deprecated.

A new, hopefully final revision of the library will shortly be released containing a deprecation warning on import, pointing any users to this announcement for clarification.

Timelines and support windows

In the 2027/04 cycle we will definitively remove the charmlib from the source repository (github.com/canonical/tempo-operators) and drop support for any kind of bugfix.

Until then, we will continue addressing any critical security vulnerability that may arise in the project.

Migrate to ops[tracing] now!

charm_tracing was born as an experimental playground on how to do charm tracing instrumentation. The next iteration of it lives forth as ops[tracing], hosted on pypi, and owned by the CharmTech team.

See this migration guide: Migration guide: from `charm_tracing` to `ops[tracing]`

Pro tip: performing this migration is very much LLM’able. Give it a shot, it might be just ten minutes of work! If someone has a nice prompt/skill script/command to share, do so below and we’ll give it a try as well!

1 Like