integration

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package integration wraps integration

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Skip

func Skip(t testing.TB)

Skip test if E2E env is not set.

Types

type Provider

type Provider struct {
	*tracesdk.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.

func (*Provider) Flush

func (p *Provider) Flush()

Flush forces a flush of all finished spans.

func (*Provider) Reset

func (p *Provider) Reset()

Reset clears the current in-memory storage.

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 tempoe2e provides scripts for E2E testing Tempo API implementation.
Package tempoe2e provides scripts for E2E testing Tempo API implementation.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL