Skip to content

Skip [AUDIT] logs for /v1/api/meta/* by default - #112

Closed
aishalikesmoney-source wants to merge 1 commit into
viant:masterfrom
aishalikesmoney-source:skip-meta-audit-logs
Closed

aishalikesmoney-source wants to merge 1 commit into
viant:masterfrom
aishalikesmoney-source:skip-meta-audit-logs

Conversation

@aishalikesmoney-source

Copy link
Copy Markdown

Summary

  • Datly [AUDIT] lines for /v1/api/meta/* (metric/status scrapes) dominate log volume in services like mdp soak and have little ops value next to Prometheus metrics.
  • Skip audit for those URI prefixes by default; business-route AUDIT is unchanged.
  • Override with Logging.AuditExcludeURIPrefixes (set to [] to keep auditing meta).

Test plan

  • go test ./repository/logging/ -count=1
  • Deploy a service on this datly version; confirm meta metric scrapes no longer emit [AUDIT]
  • Confirm produce/business [AUDIT] still appears

Made with Cursor

Meta metric/status scrapes generate high-volume AUDIT noise with little
ops value. Business-route AUDIT is unchanged. Override via
AuditExcludeURIPrefixes (empty slice disables the default exclusion).

Co-authored-by: Cursor <cursoragent@cursor.com>
@aishalikesmoney-source

Copy link
Copy Markdown
Author

Closing: opened from wrong account; will re-open under shkumar-viantinc.

@aishalikesmoney-source
aishalikesmoney-source deleted the skip-meta-audit-logs branch September 28, 2026 21:47
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