command
Version:
v6.2.37+incompatible
Opens a new window with list of versions in this module.
Published: Jul 27, 2021
License: MIT
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
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
¶
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
Source Files
¶
Click to show internal directories.
Click to hide internal directories.