Skip to content

Conversation

@jmg-duarte
Copy link
Contributor

Description

Migrate the alerter crate from warp to axum (part of Q1 roadmap)

Changes

  • Add handle_metrics_axum() function to observe crate (feature-gated)
  • Update alerter to use axum::Server::bind() API
  • Enable axum-tracing feature in alerter's observe dependency
  • Fix observe Cargo.toml to use dep:axum syntax
  • Replace warp with axum in alerter dependencies

How to test

Playground and/or staging

Replace warp with axum for the alerter service's metrics endpoint.
Add axum metrics handler to observe crate, gated behind the existing
axum-tracing feature to maintain backward compatibility.

Changes:
- Add handle_metrics_axum() to observe crate (feature-gated)
- Update alerter to use axum::Server::bind() API
- Enable axum-tracing feature in alerter's observe dependency
- Fix observe Cargo.toml to use dep:axum syntax for feature
- Replace warp dependency with axum in alerter

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
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