Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mkevac/debugcharts
Very simple charts with some debug data for Go programs
https://github.com/mkevac/debugcharts
Last synced: about 1 month ago
JSON representation
Very simple charts with some debug data for Go programs
- Host: GitHub
- URL: https://github.com/mkevac/debugcharts
- Owner: mkevac
- License: mit
- Created: 2014-11-16T10:50:20.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2023-12-19T12:33:54.000Z (12 months ago)
- Last Synced: 2024-08-03T17:18:39.520Z (4 months ago)
- Language: Go
- Homepage:
- Size: 3.75 MB
- Stars: 511
- Watchers: 13
- Forks: 56
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- go-awesome - debugcharts - Visual memory usage debugging tool (Open source library / Debugging)
README
debugcharts [![Build Status](https://travis-ci.org/mkevac/debugcharts.svg?branch=master)](https://travis-ci.org/mkevac/debugcharts)
===========Go memory debug charts.
This package uses [Plotly](https://github.com/plotly/plotly.js) chart library. It is open source and free for use.
Installation
------------
`go get -v -u github.com/mkevac/debugcharts`Usage
-----
Just install package and start http server. There is an example program [here](https://github.com/mkevac/debugcharts/blob/master/example/example.go).Then go to `http://localhost:8080/debug/charts`. You should see something like this:
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 debugchartspackage main
import _ "github.com/mkevac/debugcharts"
```
If you want to use debugcharts, then build your project with `-tags debugcharts`Development
-----------I use [bindata](https://github.com/kevinburke/go-bindata) to pack binary files into executable. Run make to rebuild.