testlangfuse

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PublicKey = "lf_pk_test_turn_traces"
	SecretKey = "lf_sk_test_turn_traces"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Stack

type Stack struct {
	BaseURL string
}

Stack is a disposable Langfuse v3 self-hosted stack for integration tests.

func Start

func Start(tb testing.TB) Stack

Start starts Langfuse Web, Worker, Postgres, ClickHouse, Redis, and MinIO.

func (Stack) FetchTraces

func (s Stack) FetchTraces(ctx context.Context) (map[string]any, error)

func (Stack) OTLPEndpoint

func (s Stack) OTLPEndpoint() string

func (Stack) OTLPHeaders

func (s Stack) OTLPHeaders() string

Jump to

Keyboard shortcuts

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