Hoogle Search

Within LTS Haskell 24.36 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. forkServerWith :: Store -> ByteString -> Int -> IO Server

    ekg System.Remote.Monitoring

    Start an HTTP server in a new thread. The server replies to GET requests to the given host and port. The host argument can be either a numeric network address (dotted quad for IPv4, colon-separated hex for IPv6) or a hostname (e.g. "localhost".) The client can control the Content-Type used in responses by setting the Accept header. At the moment two content types are available: "application/json" and "text/html". Registers the following counter, used by the UI:

    • ekg.server_time_ms The server time when the sample was taken, in milliseconds.
    Note that this function, unlike forkServer, doesn't register any other predefined metrics. This allows other libraries to create and provide a metric store for use with this library. If the metric store isn't created by you and the creator doesn't register the metrics registered by forkServer, you might want to register them yourself.

  2. forkStatsd :: StatsdOptions -> Store -> IO Statsd

    ekg-statsd System.Remote.Monitoring.Statsd

    Create a thread that periodically flushes the metrics in the store to statsd.

  3. forkServer :: ByteString -> Int -> IO Server

    ekg-wai System.Remote.Monitoring.Wai

    Like forkServerWith, but creates a default metric store with some predefined metrics. The predefined metrics are those given in registerGcMetrics.

  4. forkServerWith :: Store -> ByteString -> Int -> IO Server

    ekg-wai System.Remote.Monitoring.Wai

    Start an HTTP server in a new thread. The server replies to GET requests to the given host and port. The host argument can be either a numeric network address (dotted quad for IPv4, colon-separated hex for IPv6) or a hostname (e.g. "localhost".) The client can control the Content-Type used in responses by setting the Accept header. At the moment two content types are available: "application/json" and "text/html". Registers the following counter, used by the UI:

    • ekg.server_time_ms The server time when the sample was taken, in milliseconds.
    Note that this function, unlike forkServer, doesn't register any other predefined metrics. This allows other libraries to create and provide a metric store for use with this library. If the metric store isn't created by you and the creator doesn't register the metrics registered by forkServer, you might want to register them yourself.

  5. formatSomeException :: SomeException -> Text

    emacs-module Emacs.Module.Errors

    No documentation available.

  6. forward :: ReadWrite

    exomizer Exomizer.Mem

    Forward: both read and write

  7. forward :: ReadWrite

    exomizer Exomizer.Raw

    Forward: both read and write

  8. formatDigits :: FormatStyle -> Int -> Maybe Int -> [Int] -> Int -> String

    floatshow Text.FShow.Raw

    formatDigits builds the display String from the digits and the exponent of a nonnegative number.

  9. package forkable-monad

    An implementation of forkIO for monad stacks. < This module defines a more generic version of Control.Concurrent's forkIO, which can directly run some complex monadic actions as well as plain IO actions.

  10. forkFinally :: IO a -> (Either SomeException a -> IO ()) -> IO ThreadId

    forkable-monad Control.Concurrent.Forkable

    Fork a thread and call the supplied function when the thread is about to terminate, with an exception or a returned value. The function is called with asynchronous exceptions masked.

    forkFinally action and_then =
    mask $ \restore ->
    forkIO $ try (restore action) >>= and_then
    
    This function is useful for informing the parent when a child terminates, for example.

Page 207 of many | Previous | Next