Directories ¶
Path | Synopsis |
---|---|
Package server contains our gRPC server implementation for the pet store.
|
Package server contains our gRPC server implementation for the pet store. |
errors
Package errors is a replacement for the golang standard library "errors".
|
Package errors is a replacement for the golang standard library "errors". |
log
Package log is a replacement for the standard library log package that logs to OTEL spans contained in Context objects.
|
Package log is a replacement for the standard library log package that logs to OTEL spans contained in Context objects. |
storage/mem
Package mem contains an in-memory storage implementation of storage.Data.
|
Package mem contains an in-memory storage implementation of storage.Data. |
telemetry/metrics
Package metrics provides setup of metrics that can be used internally to measure various application states.
|
Package metrics provides setup of metrics that can be used internally to measure various application states. |
telemetry/tracing
Package tracing provides functions for starting and stopping our Open Telemetry tracing.
|
Package tracing provides functions for starting and stopping our Open Telemetry tracing. |
telemetry/tracing/sampler
Package sampler offers a Sampler that looks for a TraceID.Valid() == true or a gRPC metadata key called "trace" and if they exist will sample.
|
Package sampler offers a Sampler that looks for a TraceID.Valid() == true or a gRPC metadata key called "trace" and if they exist will sample. |
Click to show internal directories.
Click to hide internal directories.