Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterStorage ¶
func RegisterStorage(name string, builder StorageBuilder)
Types ¶
type AppCtx ¶
type AppCtx struct {
EnsureLoggedIn func(ctx context.Context) error
Features featurev1connect.FeatureServiceClient
Config *config.Config
State *state.State
}
type OTLPLogger ¶ added in v0.8.4
type OTLPLogger interface {
ExportLogs(ctx context.Context, req *otlplogssvcpb.ExportLogsServiceRequest) (*otlplogssvcpb.ExportLogsServiceResponse, error)
}
type OTLPMeter ¶ added in v0.8.4
type OTLPMeter interface {
ExportMetrics(ctx context.Context, req *otlpmetricssvcpb.ExportMetricsServiceRequest) (*otlpmetricssvcpb.ExportMetricsServiceResponse, error)
}
type OTLPTracer ¶ added in v0.8.4
type OTLPTracer interface {
ExportTraces(ctx context.Context, req *otlptracesvcpb.ExportTraceServiceRequest) (*otlptracesvcpb.ExportTraceServiceResponse, error)
}
type Queryable ¶
type Queryable interface {
WatchLogQuery(context.Context, *typesv1.LogQuery) (<-chan Cursor, error)
Query(ctx context.Context, q *typesv1.LogQuery, c *typesv1.Cursor, limit int) (*typesv1.Data, *typesv1.Cursor, error)
ResolveQueryType(ctx context.Context, query *typesv1.LogQuery) (*typesv1.DataStreamType, error)
ListSymbols(ctx context.Context, c *typesv1.Cursor, limit int) ([]*typesv1.Symbol, *typesv1.Cursor, error)
}
type Storage ¶
type StorageBuilder ¶
Click to show internal directories.
Click to hide internal directories.