gosivy v0.2.0 is here!! 🎉
Performance improvements
Now gosivy re-uses TCP connection instead of creating each time.
Option Updates
The default LogWriter is now to use ioutil.Discard
. You can set the log writer with `agent.Options'.
package main
import (
"log"
"os"
"github.com/nakabonne/gosivy/agent"
)
func main() {
err := agent.Listen(agent.Options{
LogWriter: os.Stdout,
})
if err != nil {
log.Fatal(err)
}
defer agent.Close()
}
Changelog
676660f Use /dev/null as a log writer by default (#15)
3ab239a Ensure to re-use TCP connection (#14)
c1b5a2f Allow tui to be identified
ace9fde Make diagnoser pluggable (#13)
a9b199a Use mebibytes as heap unit