File tree 3 files changed +22
-16
lines changed
3 files changed +22
-16
lines changed Original file line number Diff line number Diff line change 1
- # OpenCensus Agent/Collector Demo
1
+ # OpenCensus Service Demo
2
2
3
- Typical flow of tracing data with OpenCensus service: tracing data initially received by OC Agent
3
+ * IMPORTANT:* This is a pre-released version of the OpenTelemetry Service.
4
+ For now, please use the [ OpenCensus Service] ( https://github.com/open-telemetry/opentelemetry-service ) .
5
+
6
+ Typical flow of tracing data with OpenCensus Service: tracing data initially received by OC Agent
4
7
and then sent OC Collector using OC data format. The OC Collector then sends the data to the
5
8
tracing backend, in this demo Jaeger and Zipkin.
6
9
7
10
This demo uses ` docker-compose ` and runs against locally built docker images of OC service. In
8
11
order to build the docker images use the commands below from the root of the repo:
9
12
10
13
``` shell
11
- make docker-agent && make docker- collector
14
+ make docker-collector
12
15
```
13
16
14
17
To run the demo, switch to the ` demos/trace ` folder and run:
Original file line number Diff line number Diff line change @@ -15,11 +15,11 @@ services:
15
15
- " 9411:9411"
16
16
17
17
# Collector
18
- otelsvc -collector :
19
- image : otelsvc :latest
20
- command : ["--config=/etc/otelsvc -collector-config.yaml", "--http-pprof-port=1777"]
18
+ oc -collector :
19
+ image : collector :latest
20
+ command : ["--config=/etc/oc -collector-config.yaml", "--http-pprof-port=1777"]
21
21
volumes :
22
- - ./otelsvc -collector-config.yaml:/etc/otelsvc -collector-config.yaml
22
+ - ./oc -collector-config.yaml:/etc/oc -collector-config.yaml
23
23
ports :
24
24
- " 55678"
25
25
- " 55680:55679"
@@ -30,24 +30,23 @@ services:
30
30
- zipkin-all-in-one
31
31
32
32
# Agent
33
- otelsvc -agent :
34
- image : otelsvc :latest
35
- command : ["--config=/etc/otelsvc -agent-config.yaml", "--http-pprof-port=1888"]
33
+ oc -agent :
34
+ image : collector :latest
35
+ command : ["--config=/etc/oc -agent-config.yaml", "--http-pprof-port=1888"]
36
36
volumes :
37
- - ./otelsvc -agent-config.yaml:/etc/otelsvc -agent-config.yaml
37
+ - ./oc -agent-config.yaml:/etc/oc -agent-config.yaml
38
38
ports :
39
- - " 1888:1888"
40
39
- " 14268"
41
40
- " 55678"
42
41
- " 55679:55679"
43
42
depends_on :
44
- - otelsvc -collector
43
+ - oc -collector
45
44
46
45
# Synthetic load generator
47
46
synthetic-load-generator :
48
47
image : omnition/synthetic-load-generator:1.0.25
49
48
environment :
50
49
- JAEGER_COLLECTOR_URL=http://otelsvc-agent:14268
51
50
depends_on :
52
- - otelsvc -agent
51
+ - oc -agent
53
52
Original file line number Diff line number Diff line change 1
1
receivers :
2
2
opencensus :
3
- address : " : 55678"
3
+ port : 55678
4
4
reconnection-delay : 2s
5
5
jaeger :
6
6
collector_http_port : 14268
7
7
8
- exporters :
8
+ queued-exporters :
9
+ collector :
10
+ num-workers : 2
11
+ queue-size : 10
12
+ retry-on-failure : true
9
13
opencensus :
10
14
endpoint : " oc-collector:55678"
You can’t perform that action at this time.
0 commit comments