Documentation
¶
Overview ¶
Package integration wraps integration
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Logger ¶ added in v0.12.0
Logger creates a new zap.Logger to use in tests.
func SetupCH ¶ added in v0.34.0
func SetupCH(t *testing.T, opts SetupCHOptions) (testcontainers.Container, chstorage.ClickHouseClient, chstorage.Tables)
SetupCH runs a new Clickhouse instance.
func TraceProvider ¶ added in v0.20.0
func TraceProvider(t *testing.T) trace.TracerProvider
TraceProvider returns trace exporter for debugging.
E2E_TRACES_EXPORTER enironment variable sets gRPC OTLP receiver address to export traces.
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.
type SetupCHOptions ¶ added in v0.37.0
type SetupCHOptions struct {
Name string
TablePrefix string
Networks []string
SkipMigrate bool
TracerProvider trace.TracerProvider
}
SetupCHOptions defines options SetupCH.
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.