MCPcopy Create free account
hub / github.com/efficientgo/e2e / WithProfiledConfig

Function WithProfiledConfig

observable/observable.go:44–48  ·  view source on GitHub ↗

WithProfiledConfig sets a custom parca ProfilingConfig entry about this runnable. Empty by default (Parca defaults apply).

(config parcaconfig.ProfilingConfig)

Source from the content-addressed store, hash-verified

42
43// WithProfiledConfig sets a custom parca ProfilingConfig entry about this runnable. Empty by default (Parca defaults apply).
44func WithProfiledConfig(config parcaconfig.ProfilingConfig) Option {
45 return func(o *opt) {
46 o.profOpts = append(o.profOpts, e2eprof.WithProfiledConfig(config))
47 }
48}
49
50// WithInstrumentedWaitBackoff allows customizing wait backoff when accessing metric endpoint.
51func WithInstrumentedWaitBackoff(waitBackoff *backoff.Backoff) Option {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…