Documentation ¶
Overview ¶
Package integration wraps integration
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IntegrationProvider ¶ added in v0.13.0
func IntegrationProvider(t *testing.T) trace.TracerProvider
IntegrationProvider returns trace exporter for debugging.
E2E_TRACES_EXPORTER enironment variable sets gRPC OTLP receiver address to export traces.
func Logger ¶ added in v0.12.0
Logger creates a new zap.Logger to use in tests.
Types ¶
type Provider ¶
type Provider struct { *sdktrace.TracerProvider Exporter *tracetest.InMemoryExporter }
Provider is a helper for tests providing a TracerProvider and an InMemoryExporter.
func NewProvider ¶
func NewProvider() *Provider
NewProvider initializes and returns a new Provider along with an exporter.
Directories ¶
Path | Synopsis |
---|---|
Package lokie2e provides scripts for E2E testing Loki API implementation.
|
Package lokie2e provides scripts for E2E testing Loki API implementation. |
Package prome2e provides scripts for E2E testing Prometheus API implementation.
|
Package prome2e provides scripts for E2E testing Prometheus API implementation. |
Package requirex provides additional testing helpers.
|
Package requirex provides additional testing helpers. |
Package tempoe2e provides scripts for E2E testing Tempo API implementation.
|
Package tempoe2e provides scripts for E2E testing Tempo API implementation. |
Click to show internal directories.
Click to hide internal directories.