| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
System.Metrics.Prometheus.Http.Push
- pushHttpProtoMetrics :: String -> Text -> Labels -> Int -> IO RegistrySample -> IO ()
Documentation
Arguments
| :: String | The base URL of the pushgateway, including the port number. |
| -> Text | The name of this job. |
| -> Labels | The label set to use as a grouping key for these metrics. |
| -> Int | Push frequency, in microseconds. |
| -> IO RegistrySample | The action to get the latest metrics. |
| -> IO () |
Push metrics to a pushgateway.