Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mkevac committed Jan 23, 2016
1 parent 70f9d4c commit 4e0f092
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Expand Up @@ -17,3 +17,15 @@ Then go to `http://localhost:8080/debug/charts`. You should see something like t
<img src="example/screenshot.png" />

Data is updated every second. We keep data for last day.

User https://github.com/dgryski/ proposed interesing way for turning debugcharts on/off for your project:

You can add tagged file like this in your code
```
// +build debugcharts
package main
import _ "github.com/mkevac/debugcharts"
```
If you want to use debugcharts, then build your project with `-tags debugcharts`

0 comments on commit 4e0f092

Please sign in to comment.