mirror of
https://github.com/hanzoai/telemetry.git
synced 2026-10-30 20:01:49 +00:00
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Unify naming of the files used to store configuration schema of shared packages. <!-- Issue number if applicable --> #### Link to tracking issue #14543
21 lines
987 B
YAML
21 lines
987 B
YAML
$defs:
|
|
controller_config:
|
|
description: ControllerConfig defines common settings for a scraper controller configuration. Scraper controller receivers can embed this struct, instead of receiver.Settings, and extend it with more fields if needed.
|
|
type: object
|
|
properties:
|
|
collection_interval:
|
|
description: CollectionInterval sets how frequently the scraper should be called and used as the context timeout to ensure that scrapers don't exceed the interval.
|
|
type: string
|
|
x-customType: time.Duration
|
|
format: duration
|
|
initial_delay:
|
|
description: InitialDelay sets the initial start delay for the scraper, any non positive value is assumed to be immediately.
|
|
type: string
|
|
x-customType: time.Duration
|
|
format: duration
|
|
timeout:
|
|
description: Timeout is an optional value used to set scraper's context deadline.
|
|
type: string
|
|
x-customType: time.Duration
|
|
format: duration
|