ekg-0.4.0.15: Remote monitoring of processes

Safe HaskellSafe
LanguageHaskell98

System.Remote.Label

Description

This module defines a type for mutable, string-valued labels. Labels are variable values and can be used to track e.g. the command line arguments or other free-form values. All operations on labels are thread-safe.

N.B. This module exists to maintain backwards compatibility with older versions of this library. New code should use the System.Metrics.Label module from the ekg-core package instead.

Synopsis

Documentation

data Label :: * #

A mutable, text-valued label.

set :: Label -> Text -> IO () #

Set the label to the given value.

modify :: (Text -> Text) -> Label -> IO () #

Set the label to the result of applying the given function to the value.