agent

command
v1.15.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2019 License: Apache-2.0 Imports: 18 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Jaeger Agent

jaeger-agent is a daemon program that runs on every host and receives tracing information submitted by applications via Jaeger client libraries.

Structure

  • Agent
    • processor as ThriftProcessor
      • server as TBufferedServer
        • Thrift UDP Transport
      • reporter as TCollectorReporter
    • sampling server
      • sampling manager as sampling.TCollectorProxy
UDP Server

Listens on UDP transport, reads data as []byte and forwards to processor over channel. Processor has N workers that read from the channel, convert to thrift-generated object model, and pass on to the Reporter. TCollectorReporter submits the spans to remote tcollector service.

Sampling Server

An HTTP server handling request in the form

http://localhost:port/sampling?service=xxxx`

Delegates to sampling.Manager to get the sampling strategy. sampling.TCollectorProxy implements sampling.Manager by querying remote tcollector service. Then the server converts thrift response from sampling manager into JSON and responds to clients.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL