Skip to content

refactor: update config names - #123

Merged
SimonRichardson merged 1 commit into
juju:mainfrom
SimonRichardson:remove-prefixes-for-config
Jul 10, 2026
Merged

refactor: update config names#123
SimonRichardson merged 1 commit into
juju:mainfrom
SimonRichardson:remove-prefixes-for-config

Conversation

@SimonRichardson

Copy link
Copy Markdown
Member

The config names were the same as the controller config, but they're not the same as the controller now they're in the controller charm.

Fixing this makes the charm feel consistent. We can do this, because we've not released the charm.

The config names were the same as the controller config, but they're
not the same as the controller now they're in the controller charm.

Fixing this makes the charm feel consistent. We can do this, because
we've not released the charm.
jujubot added a commit to juju/juju that referenced this pull request Jul 9, 2026
#22813

The trace worker was unfortunately broken when we migrated to a controller only manifold. This highlighted 2 issues:

 1. The HTTP endpoint didn't work on its own, only the GRPC one worked. The solution is to split them in the agent so that we can decide which client to use. As we can't guarantee the endpoint will have a schema from the charm endpoints, we can't parse it to know exactly which one is being used.
 2. The non-controller trace doesn't update the url if it's added at a later date. This was because we removed agent config updater, so a new worker will be coming in a follow up PR.

Lastly, along with the changes juju/juju-controller#123 in the controller charm, the prefixes have been renamed so you know exactly which config values affect what part. This makes the experience a lot more integrated.

## QA steps

Deploy cos-lite, with tempo, create an offer called tempo-tracing and consume it before integrating it with the controller charm.

```sh
$ juju bootstrap lxd src --bootstrap-base=ubuntu@24.04 --controller-charm-path=./juju-controller_ubuntu@24.04-amd64.charm --build-agent
$ juju switch controller
$ juju integrate controller:workload-tracing tempo-tracing
```

## Links


**Jira card:** [JUJU-10075](https://warthogs.atlassian.net/browse/JUJU-10075)


[JUJU-10075]: https://warthogs.atlassian.net/browse/JUJU-10075?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

@nvinuesa nvinuesa left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

As discussed offline, this is OK to land because all of these config were added on an unreleased version and we therefore don't break any compat.

@SimonRichardson
SimonRichardson merged commit 8b8c3a8 into juju:main Jul 10, 2026
@SimonRichardson
SimonRichardson deleted the remove-prefixes-for-config branch July 10, 2026 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants