tracing

command
v6.2.27+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2020 License: MIT Imports: 16 Imported by: 0

README

Illustrate Elastic OpenTracing

Run Jaeger (any other supported tracers work of course):

$ ./run-tracer.sh

Then open the web UI:

$ open http://localhost:16686

Then run the example, e.g.:

$ dep ensure # not necessary for Go 1.11 or later
$ go build
$ ./tracing -index=test -type=doc -n=100000 -bulk-size=100

Documentation

Overview

Tracing is the same as the bulk_insert recipe, but adds OpenTracing support.

Example

Bulk index 100.000 documents into the index "warehouse", type "product", committing every set of 1.000 documents.

./run-tracer.sh
./tracing -index=warehouse -type=product -n=100000 -bulk-size=1000

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL