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

Decouple from basictracer and store IDs as signed integers #21

Merged
merged 16 commits into from
May 2, 2017

Conversation

pglombardo
Copy link
Contributor

@pglombardo pglombardo commented Apr 24, 2017

The basictracer implementation of the rawspan stores integers as unsigned which conflicts with Instana requirements. We need to decouple from basictracer and go our separate ways.

We should also revalidate ID generation and add tests to validate.

  • Decouple/remove basictracer dependency
  • Distinguish the two Options structs by renaming one TracerOptions
  • Now store and handle IDs at signed 64bit integers
  • Add tests to validate generated IDs

Unify Span management

  • Drop RawSpan, RPCData
  • Unify all span functionality under spanS
  • Introduct jsonSpan and json* sub structs
  • Standardize on instana.Recorder
  • Move getSpanKind, getSpanTag and similar under spanS
  • Update tests to follow changes

Provide our own:
- TracerOptions
- RawSpan
- SpanContext

Add more tests.
@pglombardo pglombardo changed the title Generated Trace IDs are out of bound Decouple from basictracer and store IDs as signed integers Apr 24, 2017
- Drop RawSpan
- Unify all span functionality under spanS
- Introduct jsonSpan
- Now store and handle IDs at signed 64bit integers
- Standardize on instana.Recorder
- Move getSpanKind, getSpanTag and similar under spanS
- Update tests to follow changes
- Lower case name for things that shouldn't be exported
- More comments for things that are exported
@pglombardo pglombardo merged commit 461b5c7 into master May 2, 2017
@pglombardo pglombardo deleted the issue_21 branch May 2, 2017 08:03
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