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

tracing: various improvements #3709

Merged
merged 2 commits into from
Apr 15, 2020
Merged

Conversation

oncilla
Copy link
Contributor

@oncilla oncilla commented Apr 12, 2020

This PR improves our tracing handling at various places. The error tag
is especially helpful to quickly identify traces that contain errors.

The improvements are:

  • Add error tag to spans for beacon, path and trust database operations
  • Add result tag to spans for beacon, path and trust database operations
  • Add spans to periodic tasks
  • Add error tag to svc resolution
  • Add error tag to integration tests
  • Avoid increasing error counters for failed rollback operations, if the
    the error is sql.ErrTxDone.

fixes #2826


This change is Reviewable

oncilla added 2 commits April 12, 2020 15:49
This PR improves our tracing handling at various places. The error tag
is especially helpful to quickly identify traces that contain errors.

The improvements are:
- Add error tag to spans for beacon, path and trust database operations
- Add result tag to spans for beacon, path and trust database operations
- Add spans to periodic tasks
- Add error tag to svc resolution
- Add error tag to integration tests
- Avoid increasing error counters for failed rollback operations, if the
  the error is `sql.ErrTxDone`.
Copy link
Collaborator

@lukedirtwalker lukedirtwalker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 17 of 17 files at r1.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @oncilla)

a discussion (no related file):
add in the message that it fixes #2826


@oncilla oncilla merged commit 643d98f into scionproto:master Apr 15, 2020
@oncilla oncilla deleted the pub-tracing branch April 15, 2020 07:17
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.

tracing: Add root level span for periodic tasks
2 participants