stacktale-micronaut: zero-config starter for Micronaut · Issue #81 · stacktale/stacktale · GitHub
Skip to content

stacktale-micronaut: zero-config starter for Micronaut #81

Open

Description

@GabrielBBaldez

Micronaut apps already work with stacktale today — Micronaut logs through SLF4J → Logback by default, so adding the stacktale Logback appender to logback.xml produces reports with no Micronaut-specific code.

This tracks the idiomatic convenience layer, mirroring stacktale-spring-boot-starter (~400 lines of glue over the agnostic stacktale-core):

  • Auto-registration — register the appender without hand-editing logback.xml (a @Factory / BeanCreatedEventListener, or a LoggingSystem hook).
  • Config binding — stacktale.* via Micronaut @ConfigurationProperties (appPackages, redaction, format, …), parity with StacktaleProperties.
  • HTTP request-line into the story — a Micronaut HttpServerFilter that opens each story with the request line (GET /orders/889/checkout) through the stacktale-only logger, like StacktaleRequestFilter does for Spring MVC.
  • appPackages deduction — from the application class package.
  • Sample app + integration test; docs section.

stacktale-core + the Logback adapter are reused 100% — this module is only the Micronaut glue. Likely a new repo stacktale/stacktale-micronaut.

Activity

  1. added a commit that references this issue on Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions