Uses of Class
com.google.genkit.core.tracing.SpanContext
Packages that use SpanContext
-
Uses of SpanContext in com.google.genkit.core
Methods in com.google.genkit.core that return SpanContextModifier and TypeMethodDescriptionActionContext.getSpanContext()Returns the tracing span context.Methods in com.google.genkit.core with parameters of type SpanContextModifier and TypeMethodDescriptionActionContext.Builder.spanContext(SpanContext spanContext) ActionContext.withSpanContext(SpanContext spanContext) Creates a new ActionContext with a different span context.Constructors in com.google.genkit.core with parameters of type SpanContextModifierConstructorDescriptionActionContext(SpanContext spanContext, String flowName, Registry registry) Creates a new ActionContext.ActionContext(SpanContext spanContext, String flowName, String spanPath, Registry registry) Creates a new ActionContext.ActionContext(SpanContext spanContext, String flowName, String spanPath, Registry registry, String sessionId, String threadName) Creates a new ActionContext. -
Uses of SpanContext in com.google.genkit.core.tracing
Methods in com.google.genkit.core.tracing that return SpanContextModifier and TypeMethodDescriptionstatic SpanContextTracer.newChildSpanContext(SpanContext parent) Creates a child span context from a parent.static SpanContextTracer.newRootSpanContext()Creates a new root span context.Methods in com.google.genkit.core.tracing with parameters of type SpanContextModifier and TypeMethodDescriptionstatic SpanContextTracer.newChildSpanContext(SpanContext parent) Creates a child span context from a parent.Method parameters in com.google.genkit.core.tracing with type arguments of type SpanContextModifier and TypeMethodDescriptionstatic <I,O> O Tracer.runInNewSpan(ActionContext ctx, SpanMetadata metadata, I input, BiFunction<SpanContext, I, O> fn) Runs a function within a new tracing span.