1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 14:21:31 +03:00

More beautification.

This commit is contained in:
Rob Rix 2018-04-03 14:16:36 -04:00
parent 0ce1bdcaeb
commit 3b2c8577a4

View File

@ -22,18 +22,19 @@ module Semantic.Stat
) where
import Prologue
import qualified Data.ByteString.Char8 as B
import Data.List (intercalate)
import Data.List.Split (splitOneOf)
import Network.Socket (Socket(..), SocketType(..), socket, connect, close, getAddrInfo, addrFamily, addrAddress, defaultProtocol)
import qualified Data.Time.Clock as Time
import qualified Data.Time.Clock.POSIX as Time (getCurrentTime)
import Network.Socket
(Socket (..), SocketType (..), addrAddress, addrFamily, close, connect, defaultProtocol, getAddrInfo, socket)
import Network.Socket.ByteString
import Network.URI
import Numeric
import qualified Data.ByteString.Char8 as B
import Prologue
import System.Environment
import System.IO.Error
import qualified Data.Time.Clock as Time
import qualified Data.Time.Clock.POSIX as Time (getCurrentTime)
-- | A named piece of data you wish to record a specific 'Metric' for.
-- See https://docs.datadoghq.com/guides/dogstatsd/ for more details.