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

Add more granular otel instrumentation #48

Merged
merged 5 commits into from
Nov 20, 2024
Merged

Conversation

myleshorton
Copy link
Contributor

This provides a otel traces with a more granular breakdown of what's consuming time.

err := fmt.Errorf("no domain fronting mapping for '%s'. Please add it to provider_map.yaml or equivalent for %s",
m.getProviderID(), originHost)
op.FailIf(err)
return nil, nil, err
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was actually a bug where we'd return entirely instead of continuing to retry

if err != nil {
log.Debugf("Could not complete request: %v", err)
resp.Body.Close()
masqueradeGood(false)
continue
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We now continue on all validation errors

Copy link

Coverage Status

coverage: 82.425% (-1.1%) from 83.516%
when pulling 4862191 on myles/otel-instrumentation
into 4cd7030 on main.

@myleshorton myleshorton merged commit 3d853e4 into main Nov 20, 2024
1 check passed
@myleshorton myleshorton deleted the myles/otel-instrumentation branch November 20, 2024 19:16
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.

1 participant