package endtoend
import "github.com/uber/jaeger-client-go/crossdock/endtoend"
Index ¶
Types ¶
type Handler ¶
Handler handles creating traces from a http request.
* * json: { * "type": "remote", * "operation": "operationName", * "count": 2, * "tags": { * "key": "value" * } * } * * Given the above json payload, the handler will use a tracer with the RemotelyControlledSampler * to create 2 traces for "operationName" operation with the tags: {"key":"value"}. These traces * are reported to the agent with the hostname "test_driver".
func NewHandler ¶
func NewHandler() *Handler
NewHandler returns a Handler.
func (*Handler) GenerateTraces ¶
func (h *Handler) GenerateTraces(w http.ResponseWriter, r *http.Request)
GenerateTraces creates traces given the parameters in the request.
Source Files ¶
- Version
- v2.1.1+incompatible
- Published
- Feb 21, 2017
- Platform
- windows/amd64
- Imports
- 10 packages
- Last checked
- 4 hours ago –
Tools for package owners.