|
1 | 1 | { |
2 | 2 | "name": "pubsub-to-betterstack", |
3 | | - "description": "Dataflow template to stream data from Pub/Sub to Better Stack", |
| 3 | + "description": "A Dataflow template that reads messages from Pub/Sub and sends them to Better Stack Telemetry.", |
4 | 4 | "parameters": [ |
5 | 5 | { |
6 | 6 | "name": "input_subscription", |
7 | | - "label": "Input Pub/Sub subscription", |
8 | | - "helpText": "The name of the Pub/Sub subscription to read from", |
9 | | - "isOptional": false, |
10 | | - "regexes": ["^projects/[^/]+/subscriptions/[^/]+$"] |
| 7 | + "label": "Input Pub/Sub Subscription", |
| 8 | + "helpText": "The name of the Pub/Sub subscription to read from.", |
| 9 | + "isOptional": false |
11 | 10 | }, |
12 | 11 | { |
13 | 12 | "name": "better_stack_source_token", |
14 | 13 | "label": "Better Stack Source Token", |
15 | | - "helpText": "The source token of your telemetry source in Better Stack", |
| 14 | + "helpText": "The source token of your telemetry source in Better Stack.", |
16 | 15 | "isOptional": false |
17 | 16 | }, |
18 | 17 | { |
19 | 18 | "name": "better_stack_ingesting_host", |
20 | 19 | "label": "Better Stack Ingesting Host", |
21 | | - "helpText": "The ingesting host of your telemetry source in Better Stack", |
| 20 | + "helpText": "The ingesting host of your telemetry source in Better Stack.", |
22 | 21 | "isOptional": false |
23 | 22 | }, |
24 | 23 | { |
25 | 24 | "name": "batch_size", |
26 | 25 | "label": "Batch Size", |
27 | | - "helpText": "Number of messages to batch before sending to Better Stack", |
| 26 | + "helpText": "Number of messages to batch before sending to Better Stack.", |
28 | 27 | "isOptional": true, |
29 | 28 | "defaultValue": "100" |
30 | 29 | }, |
31 | 30 | { |
32 | 31 | "name": "window_size", |
33 | 32 | "label": "Window Size", |
34 | | - "helpText": "Window size in seconds for batching messages", |
| 33 | + "helpText": "Window size in seconds for batching messages.", |
35 | 34 | "isOptional": true, |
36 | 35 | "defaultValue": "10" |
| 36 | + }, |
| 37 | + { |
| 38 | + "name": "max_retries", |
| 39 | + "label": "Max Retries", |
| 40 | + "helpText": "Maximum number of retry attempts for failed requests. Uses exponential backoff between retries.", |
| 41 | + "isOptional": true, |
| 42 | + "defaultValue": "3" |
| 43 | + }, |
| 44 | + { |
| 45 | + "name": "initial_retry_delay", |
| 46 | + "label": "Initial Retry Delay", |
| 47 | + "helpText": "Initial delay in seconds between retries. The delay doubles with each retry attempt.", |
| 48 | + "isOptional": true, |
| 49 | + "defaultValue": "1" |
37 | 50 | } |
38 | 51 | ] |
39 | 52 | } |
0 commit comments