Observability and relations¶
The 12-factor framework support in Charmcraft comes with enabled observability and relations depending on the extension. The following table contains links to the relevant Charmcraft documentation for each web app framework:
Web app framework |
Metrics and tracing |
Supported integrations |
|---|---|---|
Django |
||
Express |
||
FastAPI |
||
Flask |
||
Go |
||
Spring Boot |
Logging recommendations¶
For production deployments, prefer this logging setup:
Write application logs to standard output and standard error. Avoid writing logs to local files.
Pebble log forwarding is enabled automatically by the
loggingrelation endpoint. Users do not need to configure it manually. See the Pebble documentation.For structured framework server logs, see Structured logging configuration.