command
module
Version:
v0.0.0-...-199b5c7
Opens a new window with list of versions in this module.
Published: Dec 23, 2021
License: BSD-2-Clause
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Example for go-redis OpenTelemetry instrumentation
See Monitoring performance and errors for details.
This example requires Redis Server on port :6379
. You can start Redis Server using Docker:
docker-compose up -d
You can run this example with different OpenTelemetry 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.