Google Cloud Functions
A sink that sends each event to a cloud function. Each event is json-encoded and sent as a POST request.
Configuration
[sink]
type = "GcpCloudFunction"
name = "oura"
project_id = "XXX"
region = "us-west-2"
timeout = 30000
error_policy = "Continue"
authorization = "user:pass"
[sink.headers]
extra_header_1 = "abc"
extra_header_2 = "123"
[sink.retry_policy]
max_retries = 30
backoff_unit = 5000
backoff_factor = 2
max_backoff = 100000Section: sink
type: the literal valueGcpCloudFunctionname: the name of the cloud functionproject_id: the google cloud project id that the function exists inregion: the region that the function was created intimeout(optional): the timeout value for the HTTP response in milliseconds. Default value is30000.authorization(optional): value to add as the 'Authorization' HTTP headerheaders(optional): key-value map of extra headers to pass in each HTTP callerror_policy(optional): eitherContinueorExit. Default value isExit.- retry_policy