Hoogle Search
Within LTS Haskell 24.68 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setIdentifierSpan :: Span -> Program t ()core-telemetry Core.Telemetry.Identifiers Override the identifier of the current span, if you are currently within a span created by encloseSpan. This is an unsafe action, specifically and only for the situation where you need create a parent span for an asynchronous process whose unique identifier has already been nominated. In this scenario all child spans would already have been created with this span identifier as their parent, leaving you with the final task of creating a "root" span within the trace with that parent identifier.
setServiceName :: Rope -> Program τ ()core-telemetry Core.Telemetry.Observability Record the name of the service that this span and its children are a part of. A reasonable default is the name of the binary that's running, but frequently you'll want to put something a bit more nuanced or specific to your application. This is the overall name of the independent service, component, or program complimenting the label set when calling encloseSpan, which by contrast descibes the name of the current phase, step, or even function name within the overall scope of the "service". This will end up as the service.name parameter when exported.
setSpanName :: Label -> Program τ ()core-telemetry Core.Telemetry.Observability Override the name of the current span. Under normal circumstances this shouldn't be necessary. The label specified when you call encloseSpan will be used to name the span when it is sent to the telemetry channel. If, however, the span you are in was created automatically and the circumstances you find yourself in require a different name, you can use this function to change it.
setStartTime :: Time -> Program τ ()core-telemetry Core.Telemetry.Observability Override the start time of the current span. Under normal circumstances this shouldn't be necessary. The start and end of a span are recorded automatically when calling encloseSpan. Observabilty tools are designed to be used live; traces and spans should be created in real time in your code.
setHeading :: forall n (m :: Type -> Type) . (OrderedField n, Monad m) => n -> TurtleT n m ()diagrams-contrib Diagrams.TwoD.Path.Turtle Set the current turtle angle, in degrees.
-
diagrams-contrib Diagrams.TwoD.Path.Turtle Sets the pen color
-
diagrams-contrib Diagrams.TwoD.Path.Turtle Sets the pen size
setPos :: forall n (m :: Type -> Type) . (OrderedField n, Monad m) => P2 n -> TurtleT n m ()diagrams-contrib Diagrams.TwoD.Path.Turtle Set the current turtle X/Y position.
setHeading :: Floating n => n -> TurtleState n -> TurtleState ndiagrams-contrib Diagrams.TwoD.Path.Turtle.Internal Turn the turtle to the given orientation, in degrees
setPenColor :: (Ord n, Floating n) => Colour Double -> TurtleState n -> TurtleState ndiagrams-contrib Diagrams.TwoD.Path.Turtle.Internal alias of setPenColour