This repository has been archived by the owner on Mar 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
plugin.json
59 lines (59 loc) · 2.13 KB
/
plugin.json
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
56
57
58
59
{
"name": "BigQuery Export",
"url": "https://github.com/PostHog/bigquery-plugin",
"description": "Sends events to a BigQuery database on ingestion.",
"main": "index.ts",
"posthogVersion": ">= 1.25.0",
"config": [
{
"key": "googleCloudKeyJson",
"name": "JSON file with your google cloud key",
"type": "attachment",
"required": true,
"secret": true
},
{
"key": "datasetId",
"hint": "In case Google Cloud tells you \"my-project-123245:Something\", use \"Something\" as the ID.",
"name": "Dataset ID",
"type": "string",
"required": true
},
{
"key": "tableId",
"hint": "A table will be created if it does not exist.",
"name": "Table ID",
"type": "string",
"required": true
},
{
"key": "exportEventsToIgnore",
"name": "Events to ignore",
"type": "string",
"default": "$feature_flag_called,$autocapture",
"hint": "Comma separated list of events to ignore"
},
{
"key": "exportEventsBufferBytes",
"name": "Maximum upload size in bytes",
"type": "string",
"default": "1048576",
"hint": "Default 1MB. Upload events after buffering this many of them. The value must be between 1 MB and 10 MB."
},
{
"key": "exportEventsBufferSeconds",
"name": "Export events at least every X seconds",
"type": "string",
"default": "30",
"hint": "Default 30 seconds. If there are events to upload and this many seconds has passed since the last upload, then upload the queued events. The value must be between 1 and 600 seconds."
},
{
"key": "exportElementsOnAnyEvent",
"name": "Export the property $elements on events that aren't called `$autocapture`?",
"type": "choice",
"choices": ["Yes", "No"],
"default": "No",
"hint": "Advanced"
}
]
}