Skip to content

Conversation

@ivanauth
Copy link
Contributor

Description

Improves the "Validation, Testing, and Debugging" page by adding concrete examples and clarifying the different tracing methods available in SpiceDB.

Many users are confused about how to enable and use request tracing, and the existing documentation lacked examples showing the actual request/response format. This PR addresses that by:

  1. Clearly distinguishing between two tracing approaches:

    • Header-based tracing (legacy): For pre-v1.31.0, uses gRPC metadata
    • Check Tracing (modern): For v1.31.0+, uses built-in debug field
  2. Adding complete grpcurl examples with full request payloads and response structures for both methods

  3. Fixing technical inaccuracies:

    • Corrected field casing (withTracing not with_tracing)
    • Fixed terminology (gRPC "trailer" not "footer")
    • Separated JSON response body from gRPC metadata for clarity

Changes

  • Added complete grpcurl examples for both tracing methods
  • Clarified version requirements for each approach
  • Fixed field naming and technical terminology
  • Enhanced documentation structure for better readability

Testing

  • Prettier: PASS
  • Technical accuracy verified against SpiceDB gRPC API documentation

Fixes #330

Add comprehensive documentation about implementing client-side jitter
to improve API performance and prevent request queueing. This includes:

- New client best practices guide with jitter implementation examples
  in Go, Node, Python, Java, Ruby, and .NET
- Explanations of why jitter matters (thundering herd, cache stampedes,
  queueing issues)
- Guidance on which API endpoints benefit from jitter
- Code examples for exponential backoff with jitter for retries
- Code examples for polling with jitter
- Updated performance guide to reference jitter documentation
- Added jitter best practice to the best practices page

Fixes authzed#338
@vercel
Copy link
Contributor

vercel bot commented Jan 20, 2026

@ivanauth is attempting to deploy a commit to the authzed Team on Vercel.

A member of the Team first needs to authorize it.

@ivanauth
Copy link
Contributor Author

Closing to run proper code review workflow before creating PR.

@ivanauth ivanauth closed this Jan 20, 2026
@github-actions github-actions bot locked and limited conversation to collaborators Jan 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feedback for “Validation, Testing, Debugging SpiceDB Schemas”

1 participant