Skip to content

Deprecated API version warnings logged on every request — log spam #920

Description

@hman38705

Labels: observability, api, reliability

Priority: Low

Description

src/versioning.rs logs a WARN message on every request that uses a deprecated API version. High-traffic deployments will flood logs with deprecation warnings, obscuring real errors and increasing logging costs.

Acceptance Criteria

  • Change deprecation warnings to use per-client sampling (e.g., log at most once per client IP per hour)
  • Track a Prometheus counter deprecated_api_calls_total{version} instead of per-request logs
  • Add a Grafana panel for this counter to the monitoring dashboard

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programapiAPI handlers and routingobservabilityTracing, logging, and visibilityreliabilityResilience, recovery, and uptime

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions