forked from TykTechnologies/tyk-pump
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pump.example.conf
81 lines (81 loc) · 1.9 KB
/
pump.example.conf
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"analytics_storage_type": "redis",
"analytics_storage_config": {
"type": "redis",
"host": "localhost",
"port": 6379,
"hosts": null,
"username": "",
"password": "",
"database": 0,
"optimisation_max_idle": 100,
"optimisation_max_active": 0,
"enable_cluster": false
},
"purge_delay": 10,
"pumps": {
"mongo": {
"type": "mongo",
"meta": {
"collection_name": "tyk_analytics",
"mongo_url": "mongodb://localhost/tyk_analytics",
"collection_cap_max_size_bytes": 1048576,
"collection_cap_enable": true
}
},
"kafka": {
"type": "kafka",
"meta": {
"broker": [
"localhost:9092"
],
"client_id": "tyk-pump",
"topic": "tyk-pump",
"timeout": 10,
"compressed": true,
"meta_data": {
"key": "value"
}
}
},
"mongo-pump-aggregate": {
"type": "mongo-pump-aggregate",
"meta": {
"mongo_url": "mongodb://localhost/tyk_analytics",
"use_mixed_collection": true
}
},
"prometheus": {
"type": "prometheus",
"meta": {
"path": "/metrics",
"listen_address": ":9090"
}
},
"dogstatsd": {
"type": "dogstatsd",
"meta": {
"address": "localhost:8125",
"namespace": "pump",
"async_uds": true,
"async_uds_write_timeout_seconds": 2,
"buffered": true,
"buffered_max_messages": 32
}
},
"resurfaceio": {
"type": "resurfaceio",
"meta": {
"capture_url": "http://localhost:7701/message",
"rules": "include debug"
}
}
},
"uptime_pump_config": {
"collection_name": "tyk_uptime_analytics",
"mongo_url": "mongodb://localhost/tyk_analytics",
"collection_cap_max_size_bytes": 1048576,
"collection_cap_enable": true
},
"dont_purge_uptime_data": false
}