Skip to content
This repository has been archived by the owner on Feb 20, 2021. It is now read-only.

Latest commit

 

History

History
12 lines (12 loc) · 277 Bytes

Readme.md

File metadata and controls

12 lines (12 loc) · 277 Bytes

How to use

config := libratini.Config{
  Collate: 100,
  Prefix:  "my-awesome-service",
  Source:  "this-machine's hostname",
  Token:   "librato access token",
  User:    "librato user email"
}
handler := martini.Classic()
handler.Use(libratini.Middleware(config))