diff --git a/charmcraft/templates/init-django-framework/charmcraft.yaml.j2 b/charmcraft/templates/init-django-framework/charmcraft.yaml.j2 index c60140ed2..b250123f5 100644 --- a/charmcraft/templates/init-django-framework/charmcraft.yaml.j2 +++ b/charmcraft/templates/init-django-framework/charmcraft.yaml.j2 @@ -55,3 +55,7 @@ extensions: # interface: rabbitmq # optional: false # limit: 1 +# tracing: +# interface: tracing +# optional: true +# limit: 1 diff --git a/charmcraft/templates/init-fastapi-framework/charmcraft.yaml.j2 b/charmcraft/templates/init-fastapi-framework/charmcraft.yaml.j2 index a8b24a74a..ed4bc7b39 100644 --- a/charmcraft/templates/init-fastapi-framework/charmcraft.yaml.j2 +++ b/charmcraft/templates/init-fastapi-framework/charmcraft.yaml.j2 @@ -57,3 +57,7 @@ extensions: # interface: rabbitmq # optional: false # limit: 1 +# tracing: +# interface: tracing +# optional: true +# limit: 1 diff --git a/charmcraft/templates/init-flask-framework/charmcraft.yaml.j2 b/charmcraft/templates/init-flask-framework/charmcraft.yaml.j2 index 888b49d25..d9f3611f7 100644 --- a/charmcraft/templates/init-flask-framework/charmcraft.yaml.j2 +++ b/charmcraft/templates/init-flask-framework/charmcraft.yaml.j2 @@ -55,3 +55,7 @@ extensions: # interface: rabbitmq # optional: false # limit: 1 +# tracing: +# interface: tracing +# optional: true +# limit: 1 diff --git a/charmcraft/templates/init-go-framework/charmcraft.yaml.j2 b/charmcraft/templates/init-go-framework/charmcraft.yaml.j2 index 8ddd8b05c..d7f7b2e2e 100644 --- a/charmcraft/templates/init-go-framework/charmcraft.yaml.j2 +++ b/charmcraft/templates/init-go-framework/charmcraft.yaml.j2 @@ -57,3 +57,7 @@ extensions: # interface: rabbitmq # optional: false # limit: 1 +# tracing: +# interface: tracing +# optional: true +# limit: 1 diff --git a/docs/reference/extensions/django-framework-extension.md b/docs/reference/extensions/django-framework-extension.md index ba1450485..5ff32a45d 100644 --- a/docs/reference/extensions/django-framework-extension.md +++ b/docs/reference/extensions/django-framework-extension.md @@ -26,7 +26,7 @@ Django application with it. You can use the predefined options (run `charmcraft expand-extensions` for details) but also add your own, as needed. -In the latter case, any option you define will be used to generate environment variables; a user-defined option `config-option-name` will generate an environment variable named `DJANGO_CONFIG_OPTION_NAME` where the option name is converted to upper case, dashes will be converted to underscores and the `DJANGO_` prefix will be added. +In the latter case, any option you define will be used to generate environment variables; a user-defined option `config-option-name` will generate an environment variable named `DJANGO_CONFIG_OPTION_NAME` where the option name is converted to upper case, dashes will be converted to underscores and the `DJANGO_` prefix will be added. In either case, you will be able to set it in the usual way by running `juju config