mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-07 14:13:11 -06:00
OpenTracing
This commit is contained in:
parent
9c4c5c78ed
commit
08d7169e73
|
|
@ -1,3 +0,0 @@
|
||||||
footer.site-footer {
|
|
||||||
opacity: 10%;
|
|
||||||
}
|
|
||||||
|
|
@ -1,12 +1,11 @@
|
||||||
---
|
---
|
||||||
title: Opentracing
|
title: OpenTracing
|
||||||
has_children: true
|
has_children: true
|
||||||
parent: Development
|
parent: Development
|
||||||
permalink: /development/opentracing
|
permalink: /development/opentracing
|
||||||
---
|
---
|
||||||
|
|
||||||
Opentracing
|
# OpenTracing
|
||||||
===========
|
|
||||||
|
|
||||||
Dendrite extensively uses the [opentracing.io](http://opentracing.io) framework
|
Dendrite extensively uses the [opentracing.io](http://opentracing.io) framework
|
||||||
to trace work across the different logical components.
|
to trace work across the different logical components.
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,17 @@
|
||||||
---
|
---
|
||||||
title: Setup
|
title: Setup
|
||||||
parent: Opentracing
|
parent: OpenTracing
|
||||||
grand_parent: Development
|
grand_parent: Development
|
||||||
permalink: /development/opentracing/setup
|
permalink: /development/opentracing/setup
|
||||||
---
|
---
|
||||||
|
|
||||||
## OpenTracing Setup
|
# OpenTracing Setup
|
||||||
|
|
||||||
Dendrite uses [Jaeger](https://www.jaegertracing.io/) for tracing between microservices.
|
Dendrite uses [Jaeger](https://www.jaegertracing.io/) for tracing between microservices.
|
||||||
Tracing shows the nesting of logical spans which provides visibility on how the microservices interact.
|
Tracing shows the nesting of logical spans which provides visibility on how the microservices interact.
|
||||||
This document explains how to set up Jaeger locally on a single machine.
|
This document explains how to set up Jaeger locally on a single machine.
|
||||||
|
|
||||||
### Set up the Jaeger backend
|
## Set up the Jaeger backend
|
||||||
|
|
||||||
The [easiest way](https://www.jaegertracing.io/docs/1.18/getting-started/) is to use the all-in-one Docker image:
|
The [easiest way](https://www.jaegertracing.io/docs/1.18/getting-started/) is to use the all-in-one Docker image:
|
||||||
|
|
||||||
|
|
@ -29,7 +29,7 @@ $ docker run -d --name jaeger \
|
||||||
jaegertracing/all-in-one:1.18
|
jaegertracing/all-in-one:1.18
|
||||||
```
|
```
|
||||||
|
|
||||||
### Configuring Dendrite to talk to Jaeger
|
## Configuring Dendrite to talk to Jaeger
|
||||||
|
|
||||||
Modify your config to look like: (this will send every single span to Jaeger which will be slow on large instances, but for local testing it's fine)
|
Modify your config to look like: (this will send every single span to Jaeger which will be slow on large instances, but for local testing it's fine)
|
||||||
|
|
||||||
|
|
@ -52,6 +52,6 @@ then run the monolith server with `--api true` to use polylith components which
|
||||||
./dendrite-monolith-server --tls-cert server.crt --tls-key server.key --config dendrite.yaml --api true
|
./dendrite-monolith-server --tls-cert server.crt --tls-key server.key --config dendrite.yaml --api true
|
||||||
```
|
```
|
||||||
|
|
||||||
### Checking traces
|
## Checking traces
|
||||||
|
|
||||||
Visit <http://localhost:16686> to see traces under `DendriteMonolith`.
|
Visit <http://localhost:16686> to see traces under `DendriteMonolith`.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue