Closed mmkay closed 1 month ago
question: do we always need to give an internal url?
This is how the provider databag could look like: addresses: []
todo: determine if we can drop v1 (does cos-lite stable charms still use it?) or we need BC with v1 and v2 todo: update charm-relation-interfaces
decision: so long as nobody's using it
let's see if we can keep the changes contained to the interface and keep the charm-facing API the same, so we don't have to bump the charm lib major, but only the interface.
Enhancement Proposal
In tracing v2, we made several choices about the structure of the databag. Provider side exposes:
This structure has its quirks as we wanted to keep as backwards compatible as possible:
tracing.get_endpoint
logicWe could do one of the following:
Option 1:
Option 2:
external_url
andinternal_url
fields, both containing scheme.get_endpoint
then appends port number and URL that belongs to the right protocol.