• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pace / bricks / 11250208184

09 Oct 2024 07:25AM UTC coverage: 57.466% (-13.7%) from 71.177%
11250208184

push

github

web-flow
Merge pull request #380 from pace/sentry-tracing-poc

tracing: replace Jaeger with Sentry

140 of 206 new or added lines in 19 files covered. (67.96%)

3 existing lines in 3 files now uncovered.

5515 of 9597 relevant lines covered (57.47%)

21.77 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

50.0
/http/transport/default_transport.go
1
// Copyright © 2019 by PACE Telematics GmbH. All rights reserved.
2

3
package transport
4

5
// NewDefaultTransportChain returns a transport chain with retry, jaeger and logging support.
6
// If not explicitly finalized via `Final` it uses `http.DefaultTransport` as finalizer.
7
func NewDefaultTransportChain() *RoundTripperChain {
3✔
8
        return Chain(
3✔
9
                &ExternalDependencyRoundTripper{},
3✔
10
                NewDefaultRetryRoundTripper(),
3✔
11
                &TracingRoundTripper{},
3✔
12
                &LoggingRoundTripper{},
3✔
13
                &LocaleRoundTripper{},
3✔
14
                &RequestIDRoundTripper{},
3✔
15
                // Ensure this is always last, in order to get the correct dump
3✔
16
                NewDumpRoundTripperEnv(),
3✔
17
        )
3✔
18
}
3✔
19

20
// NewDefaultTransportChain returns a transport chain with retry, jaeger and logging support.
21
// If not explicitly finalized via `Final` it uses `http.DefaultTransport` as finalizer.
22
// The passed name is recorded as external dependency
23
func NewDefaultTransportChainWithExternalName(name string) *RoundTripperChain {
×
24
        return Chain(
×
25
                &ExternalDependencyRoundTripper{name: name},
×
26
                NewDefaultRetryRoundTripper(),
×
NEW
27
                &TracingRoundTripper{},
×
28
                &LoggingRoundTripper{},
×
29
                &LocaleRoundTripper{},
×
30
                &RequestIDRoundTripper{},
×
31
                // Ensure this is always last, in order to get the correct dump
×
32
                NewDumpRoundTripperEnv(),
×
33
        )
×
34
}
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc