-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.json
84 lines (82 loc) · 1.5 KB
/
config.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"configs": [
{
"name": "recorder",
"port": 5000,
"host": "localhost",
"args": [
"--data-dir", "/tmp/farmng"
],
"log_level": "DEBUG"
},
{
"name": "test_service",
"port": 5001,
"host": "localhost",
"subscriptions": [
{
"uri": {
"path": "/test",
"query": "service_name=bar"
},
"every_n": 1
}
],
"args": [
"--my-arg=my-value",
"foo"
],
"log_level": "DEBUG"
},
{
"name": "test_service2",
"port": 5002,
"host": "localhost",
"subscriptions": [
{
"uri": {
"path": "/test",
"query": "service_name=bar"
},
"every_n": 1
}
],
"args": [
"--my-arg=my-value",
"bar"
],
"log_level": "DEBUG"
},
{
"name": "record_default",
"subscriptions": [
{
"uri": {
"path": "/test",
"query": "service_name=test_service"
},
"every_n": 1
},
{
"uri": {
"path": "/test2",
"query": "service_name=test_service"
},
"every_n": 1
}
]
},
{
"name": "record_all",
"subscriptions": [
{
"uri": {
"path": "*",
"query": "service_name=test_service"
},
"everyN": 1
}
]
}
]
}