├── examples
└── cluster
│ ├── .env
│ ├── configs
│ ├── nginx
│ │ ├── jaeger-config.yaml
│ │ └── nginx.conf
│ ├── jaeger
│ │ └── config.yaml
│ ├── clickhouse-s1-r1
│ │ ├── macros.xml
│ │ ├── zookeeper.xml
│ │ ├── config.xml
│ │ └── remote_servers.xml
│ ├── clickhouse-s1-r2
│ │ ├── macros.xml
│ │ ├── zookeeper.xml
│ │ ├── config.xml
│ │ └── remote_servers.xml
│ ├── clickhouse-s2-r1
│ │ ├── macros.xml
│ │ ├── zookeeper.xml
│ │ ├── config.xml
│ │ └── remote_servers.xml
│ └── clickhouse-s2-r2
│ │ ├── macros.xml
│ │ ├── zookeeper.xml
│ │ ├── config.xml
│ │ └── remote_servers.xml
│ └── docker-compose.yaml
├── agent
└── Dockerfile
├── ingester
└── Dockerfile
├── collector
└── Dockerfile
├── query
└── Dockerfile
├── LICENSE
├── Makefile
├── README.md
├── Dockerfile
└── .github
└── workflows
└── build.yml
/examples/cluster/.env:
--------------------------------------------------------------------------------
1 | ZOOKEEPER_TAG=3.6
2 | CLICKHOUSE_TAG=22.6.3.35-alpine
3 | JAEGER_TAG=latest
4 | NGINX_TAG=1.23-alpine
5 |
--------------------------------------------------------------------------------
/examples/cluster/configs/nginx/jaeger-config.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | service_name: nginx
3 | reporter:
4 | logSpans: true
5 | localAgentHostPort: 172.16.254.40:6831
6 | sampler:
7 | type: const
8 | param: 1
9 |
--------------------------------------------------------------------------------
/examples/cluster/configs/jaeger/config.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | address: tcp://172.16.254.100:9009
3 | replication: true
4 | # Flush on every write for test purposes
5 | batch_write_size: 1
6 | batch_flush_interval: 1s
7 |
--------------------------------------------------------------------------------
/examples/cluster/configs/clickhouse-s1-r1/macros.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | cluster
5 | 1
6 | 1
7 |
8 |
9 |
--------------------------------------------------------------------------------
/examples/cluster/configs/clickhouse-s1-r2/macros.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | cluster
5 | 1
6 | 2
7 |
8 |
9 |
--------------------------------------------------------------------------------
/examples/cluster/configs/clickhouse-s2-r1/macros.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | cluster
5 | 2
6 | 1
7 |
8 |
9 |
--------------------------------------------------------------------------------
/examples/cluster/configs/clickhouse-s2-r2/macros.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | cluster
5 | 2
6 | 2
7 |
8 |
9 |
--------------------------------------------------------------------------------
/agent/Dockerfile:
--------------------------------------------------------------------------------
1 | ARG DOCKER_TAG levonet/jaeger:latest
2 | FROM ${DOCKER_TAG} AS all-in-one
3 |
4 | FROM debian:stretch-slim
5 |
6 | COPY --from=all-in-one /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
7 | COPY --from=all-in-one /opt/bin/jaeger-agent /opt/bin/jaeger-agent
8 |
9 | # EXPOSE 5775/udp
10 | EXPOSE 5778
11 | EXPOSE 6831/udp
12 | EXPOSE 6832/udp
13 | EXPOSE 14271
14 |
15 | ENTRYPOINT ["/opt/bin/jaeger-agent"]
16 |
--------------------------------------------------------------------------------
/examples/cluster/configs/clickhouse-s1-r1/zookeeper.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 172.16.254.10
6 | 2181
7 |
8 |
9 | 172.16.254.11
10 | 2181
11 |
12 |
13 | 172.16.254.12
14 | 2181
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/examples/cluster/configs/clickhouse-s1-r2/zookeeper.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 172.16.254.10
6 | 2181
7 |
8 |
9 | 172.16.254.11
10 | 2181
11 |
12 |
13 | 172.16.254.12
14 | 2181
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/examples/cluster/configs/clickhouse-s2-r1/zookeeper.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 172.16.254.10
6 | 2181
7 |
8 |
9 | 172.16.254.11
10 | 2181
11 |
12 |
13 | 172.16.254.12
14 | 2181
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/examples/cluster/configs/clickhouse-s2-r2/zookeeper.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 172.16.254.10
6 | 2181
7 |
8 |
9 | 172.16.254.11
10 | 2181
11 |
12 |
13 | 172.16.254.12
14 | 2181
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/examples/cluster/configs/clickhouse-s1-r1/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 172.16.254.20
4 |
5 | information
6 | 1
7 |
8 |