WithScrapeInterval changes how often profiles are collected by Parca. 5s by default.
(interval time.Duration)
| 177 | |
| 178 | // WithScrapeInterval changes how often profiles are collected by Parca. 5s by default. |
| 179 | func WithScrapeInterval(interval time.Duration) func(*opt) { |
| 180 | return func(o *opt) { |
| 181 | o.scrapeInterval = interval |
| 182 | } |
| 183 | } |
| 184 | |
| 185 | // WithParcaImage allows injecting custom Parca docker image to use as scraper and queryable. |
| 186 | func WithParcaImage(image string) func(*opt) { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…