package
0.2.1
Repository: https://github.com/firebase/genkit.git
Documentation: pkg.go.dev

# Functions

NewHTTPTelemetryClient creates a new telemetry client that sends traces to a telemetry server at the given URL.
No description provided by the author
NewTestOnlyTelemetryClient creates a new in-memory telemetry client for testing.
RunInNewSpan runs f on input in a new span with the given name.
SetCustomMetadataAttr records a key in the current span metadata.
SpanPath returns the path as recroding in the current span metadata.
ToMilliseconds converts a time.Time to a Milliseconds.

# Structs

No description provided by the author
No description provided by the author
Data is information about a trace.
InstrumentationLibrary is a copy of [go.opentelemetry.io/otel/sdk/instrumentation.Library], with added struct tags to match the javascript JSON field names.
A Link describes the relationship between two Spans.
A SpanContext contains identifying trace information about a Span.
SpanData is information about a trace span.
State holds OpenTelemetry values for creating traces.
Status is a copy of [go.opentelemetry.io/otel/sdk/trace.Status], with added struct tags to match the javascript JSON field names.
TestOnlyTelemetryClient is a test-only implementation of TelemetryClient that stores traces in memory.
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

Milliseconds represents a time as the number of milliseconds since the Unix epoch.