Skip to content

Commit

Permalink
Added jaeger readme (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
fraliv13 authored Nov 24, 2021
1 parent 3279b6a commit 5d8625b
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/components/config-node-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ spec:
tracing:
samplingRate: '1'
jaeger:
useAgent: true
useAgent: false
collectorEndpointAddress: 'http://kube-worker1.totalsoft.local:31034/api/traces'
subscriberPipeline:
handlers:
Expand Down
26 changes: 26 additions & 0 deletions internal/tracing/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

## Jaeger config
* `useAgent` (bool) set to true if using a Jaeger Agent
* `collectorEndpointAddress` the Jaeger Collector Endpoint. Set only if `useAgent` is false, to send the tracing data directly to the collector.

Example:

```yaml
tracing:
samplingRate: '1'
jaeger:
useAgent: false
collectorEndpointAddress: 'http://kube-worker1.totalsoft.local:31034/api/traces'

```

## Development environment
On the development environment we can configure Jaeger to send data directly to the collector.

Alternatively we can install a jaeger agent on the local machine:

```cmd
docker pull jaegertracing/jaeger-agent:1.12.0
docker run -it -p 6831:6831/udp jaegertracing/jaeger-agent:1.12.0 --collector.host-port='kube-worker1.totalsoft.local:31335'
```

0 comments on commit 5d8625b

Please sign in to comment.