Documentation
¶
Overview ¶
Package otelstack provides a full OTEL collector and receiver clients conveniently contained within testcontainers. It removes the hassle of managing inter-container communication, has built in querying for validating your tests, and uses lightweight services (seq and Jaeger) to keep start time low.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Stack ¶ added in v1.0.4
Stack holds structs containing to all the testcontainers.
func (*Stack) SetTestEnvGRPC ¶ added in v1.0.4
SetTestEnvGRPC sets the environment variableOTEL_EXPORTER_OTLP_ENDPOINT to the gRPC endpoint.
func (*Stack) SetTestEnvHTTP ¶ added in v1.0.4
SetTestEnvHTTP sets the environment variableOTEL_EXPORTER_OTLP_ENDPOINT to the HTTP endpoint
Directories
¶
| Path | Synopsis |
|---|---|
|
Package collector holds the resources needed to start an OTEL collector testcontainer
|
Package collector holds the resources needed to start an OTEL collector testcontainer |
|
Package jaeger holds the resources needed to start a Jaeger testcontainer container.
|
Package jaeger holds the resources needed to start a Jaeger testcontainer container. |
|
Package seq holds the resources needed to start a Seq testcontainer.
|
Package seq holds the resources needed to start a Seq testcontainer. |
Click to show internal directories.
Click to hide internal directories.