-
Notifications
You must be signed in to change notification settings - Fork 46
/
tracer_configuration.schema.json
46 lines (45 loc) · 1.31 KB
/
tracer_configuration.schema.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
{
"$schema": "http://json-schema.org/schema#",
"title": "TracerConfiguration",
"description": "Configuration for a Zipkin tracer",
"type": "object",
"required": ["service_name"],
"properties": {
"service_name": {
"type": "string",
"description": "Specifies default Zipkin endpoint annotation.\nIdentifies the application's service"
},
"service_address": {
"type": "string",
"description": "IP address to use with the default Zipkin endpoint annotation"
},
"collector_host": {
"type": "string",
"description": "Host to use when connecting to Zipkin's collector"
},
"collector_port": {
"type": "integer",
"minimum": 1,
"maximum": 65535,
"description": "Port to use when connecting to Zipkin's collector"
},
"reporting_period": {
"type": "integer",
"minimum": 1,
"description":
"The time in microseconds between sending successive reports to the collector"
},
"max_buffered_spans": {
"type": "integer",
"minimum": 1,
"description":
"The maximum number of spans to buffer before sending them to the collector"
},
"sample_rate": {
"type": "number",
"minimum": 0.0,
"maximum": 1.0,
"description": "The probability of sampling a span"
}
}
}