Popularity
3.0
Growing
Activity
0.0
-
4
2
0

Monthly Downloads: 38
Programming language: Haskell
License: MIT License
Tags: Web    

mackerel-client alternatives and similar packages

Based on the "Web" category.
Alternatively, view mackerel-client alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of mackerel-client or a related project?

Add another 'Web' Package

README

mackerel-client-hs Build Status

An API client library for Mackerel.

API documents: Mackerel API Documents (v0)

The official Go client library: mackerel-client-go

Example

import Data.Default
import Web.Mackerel

main :: IO ()
main = do
  let client = def { apiKey = "<Mackerel-API-KEY>" }

  print =<< getOrganization client
  print =<< listUsers client

  print =<< listHosts client def { listHostsParamsService = Just "servicename", listHostsParamsRoles = ["role1", "role2"] }

  print =<< listMonitors client
  print =<< updateMonitor client monitor { monitorName = "Monitor name renamed" }
  print =<< deleteMonitor client (MonitorId "<Monitor-ID>")

  print =<< listAlerts client
  print =<< closeAlert client (AlertId "<Alert-ID>") "this is not an important alert"

Author

itchyny [email protected]

License

This software is released under the MIT License, see LICENSE.


*Note that all licence references and agreements mentioned in the mackerel-client README section above are relevant to that project's source code only.