command
module
Version:
v0.0.0-...-5231181
Opens a new window with list of versions in this module.
Published: May 31, 2023
License: BSD-2-Clause
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
mongo-driver example for OpenTelemetry

To run this example you need a MongoDB server. You can start one with Docker:
docker-compose up -d
You can run this example with different exporters by providing environment variables.
Stdout exporter (default):
go run .
Jaeger exporter:
OTEL_EXPORTER_JAEGER_ENDPOINT=http://localhost:14268/api/traces go run .
Uptrace exporter:
UPTRACE_DSN="https://<token>@uptrace.dev/<project_id>" go run .
Links
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.