Skip to content

reneca/ProSA-Fetcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ProSA Fetcher

ProSA processor to fetch information from remote systems.

The main goal of this processor is to retrieve metrics periodically from remote systems.

Configuration

For configuration, you can set either the target, or the service_name (or both), depending on your fetcher type.

The target uses ProSA's TargetSetting to define all connection information. If you need to authenticate, you will have to set the user and password in the url.

If you want to fetch an internal service, you only have to specify its name with service_name.

An auth_method can also be set (not present in the following example), but generally, the auth method is known by the adaptor and will be set by it.

The last two parameters, period and timeout, configure the interval between fetches and the timeout for each fetch, respectively. The timeout should be less than the period to ensure that only one fetch runs at a time.

fetcher:
  target:
    url: "http://localhost"
  service_name: "output_service"
  period:
    secs: 60
    nanos: 0
  timeout:
    secs: 10
    nanos: 0

If you want to exclude a time range, you can use the active_time_range option to only fetch during a specif hour time range. From the start to the end hour of the day.

fetcher:
  <...>
  active_time_range:
    start: "06:00:00"
    end: "23:00:00"

About

ProSA processor to fetch information from remote systems

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages