Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trace invariant checks #41

Open
13 tasks
Kyle-Verhoog opened this issue Oct 7, 2021 · 0 comments
Open
13 tasks

Trace invariant checks #41

Kyle-Verhoog opened this issue Oct 7, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@Kyle-Verhoog
Copy link
Member

  • HTTP headers
    • Trace count matches (trace_count_header)
    • Library version included (meta_tracer_version_header)
  • Trace payload size (trace_content_length)
  • Consistent trace ID in trace chunk
  • Traces are non-empty
  • Required span properties
  • No collisions in trace ids across traces
  • No collisions in span ids within a trace
  • No multiple root spans
  • No circular references in spans
  • Tags are within the permitted size limits
  • Type checks
    • Span properties
      • IDs are 64-bit integers
    • All keys are strings
    • Values in metrics are numeric
    • Values in meta are string or numeric
  • No duplicate values between meta and metrics
  • All referenced spans exist
  • Value checks
    • Sampling tags
  • Span type checks
    • eg. "type: redis" has "host" and "port" tags in meta
    • eg. "type: web" has resource
@Kyle-Verhoog Kyle-Verhoog added the enhancement New feature or request label Oct 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant