Skip to content

feat: add metric for failed admin audit inserts#211

Open
sergey3bv wants to merge 1 commit into
divinevideo:mainfrom
sergey3bv:feat/observability-4-audit-events
Open

feat: add metric for failed admin audit inserts#211
sergey3bv wants to merge 1 commit into
divinevideo:mainfrom
sergey3bv:feat/observability-4-audit-events

Conversation

@sergey3bv
Copy link
Copy Markdown
Contributor

Summary

  • Adds keycast_admin_audit_write_failures_total to Prometheus metrics;
  • Increments it in fail-open admin_audit_events write paths, preserving availability while improving degradation visability.

Avoid naming corporate partners, customers, or other sensitive external brands in this PR title or body. Use generic descriptors unless a maintainer explicitly approves the public reference.

Motivation

Related Issue

Testing

  • cargo test --workspace --verbose
  • cargo clippy --workspace --all-targets --all-features -- -D warnings -A deprecated
  • cargo fmt --all -- --check
  • Manual verification completed

Visuals

  • UI/web change with screenshots/video attached
  • No visual change
  • Visuals and text avoid sensitive external brand or partner names unless explicitly approved

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.

Follow-up: add observability for failed admin audit event inserts

1 participant