Skip to content
This repository has been archived by the owner on Jun 14, 2023. It is now read-only.

Latest commit

 

History

History
18 lines (14 loc) · 346 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 346 Bytes

Go2sky with kafka reporter

Installation

go get -u github.com/SkyAPM/go2sky-plugins/kafkareporter

Usage

r, err := kafkareporter.New([]string{"localhost:9092"})
if err != nil {
    log.Fatalf("new kafka reporter error %v \n", err)
}
defer r.Close()
tracer, err := go2sky.NewTracer("example", go2sky.WithReporter(r))