-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmetadata.json
More file actions
55 lines (55 loc) · 1.79 KB
/
metadata.json
File metadata and controls
55 lines (55 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"name": "pubsub-to-betterstack",
"description": "A Dataflow template that reads messages from Pub/Sub and sends them to Better Stack Telemetry.",
"parameters": [
{
"name": "input_subscription",
"label": "Input Pub/Sub Subscription",
"helpText": "The name of the Pub/Sub subscription to read from.",
"isOptional": false,
"regexes": ["^projects/[^/]+/subscriptions/[^/]+$"]
},
{
"name": "better_stack_source_token",
"label": "Better Stack Source Token",
"helpText": "The source token of your telemetry source in Better Stack.",
"isOptional": false,
"regexes": ["^[a-zA-Z0-9]{24,}$"]
},
{
"name": "better_stack_ingesting_host",
"label": "Better Stack Ingesting Host",
"helpText": "The ingesting host of your telemetry source in Better Stack.",
"isOptional": false,
"regexes": ["^([a-zA-Z][a-zA-Z0-9-]*\\.)+[a-zA-Z]+$"]
},
{
"name": "batch_size",
"label": "Batch Size",
"helpText": "Number of messages to batch before sending to Better Stack.",
"isOptional": true,
"defaultValue": "100"
},
{
"name": "window_size",
"label": "Window Size",
"helpText": "Window size in seconds for batching messages.",
"isOptional": true,
"defaultValue": "10"
},
{
"name": "max_retries",
"label": "Max Retries",
"helpText": "Maximum number of retry attempts for failed requests. Uses exponential backoff between retries.",
"isOptional": true,
"defaultValue": "3"
},
{
"name": "initial_retry_delay",
"label": "Initial Retry Delay",
"helpText": "Initial delay in seconds between retries. The delay doubles with each retry attempt.",
"isOptional": true,
"defaultValue": "1"
}
]
}