Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.