package reporter
import "github.com/openzipkin/zipkin-go/reporter"
Package reporter holds the Reporter interface which is used by the Zipkin Tracer to send finished spans.
Subpackages of package reporter contain officially supported standard reporter implementations.
Index ¶
Types ¶
type Reporter ¶
type Reporter interface { Send(model.SpanModel) // Send Span data to the reporter Close() error // Close the reporter }
Reporter interface can be used to provide the Zipkin Tracer with custom implementations to publish Zipkin Span data.
func NewNoopReporter ¶
func NewNoopReporter() Reporter
NewNoopReporter returns a no-op Reporter implementation.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
reporter/http | Package http implements a HTTP reporter to send spans to Zipkin V2 collectors. |
reporter/kafka | Package kafka implements a Kafka reporter to send spans to a Kafka server/cluster. |
reporter/log | Package log implements a reporter to send spans in V2 JSON format to the Go standard Logger. |
reporter/recorder | Package recorder implements a reporter to record spans in v2 format. |
- Version
- v0.1.2
- Published
- Sep 27, 2018
- Platform
- windows/amd64
- Imports
- 1 packages
- Last checked
- 1 hour ago –
Tools for package owners.