WithProfiledConfig sets a custom parca ProfilingConfig entry about this runnable. Empty by default (Parca defaults apply).
(config parcaconfig.ProfilingConfig)
| 42 | |
| 43 | // WithProfiledConfig sets a custom parca ProfilingConfig entry about this runnable. Empty by default (Parca defaults apply). |
| 44 | func 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. |
| 51 | func WithInstrumentedWaitBackoff(waitBackoff *backoff.Backoff) Option { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…