Monitor Type: trace-forwarder
(Source)
Accepts Endpoints: No
Multiple Instances Allowed: No
Runs an HTTP server that listens for trace spans
and forwards them to SignalFx (or the configured ingest host in the writer
section of the agent config). This supports the same span formats that our
ingest server supports and at the same path (/v1/trace
). By default, the
server listens on localhost port 9080 but can be configured to anything.
To activate this monitor in the Smart Agent, add the following to your agent config:
monitors: # All monitor config goes under this key
- type: trace-forwarder
... # Additional config
For a list of monitor options that are common to all monitors, see Common Configuration.
Config option | Required | Type | Description |
---|---|---|---|
listenAddress |
no | string |
The host:port on which to listen for datapoints. The listening server accepts datapoints on the same HTTP path that ingest/gateway accepts them (e.g. /v2/datapoint , /v1/trace ). Requests to other paths will return 404s. (default: 127.0.0.1:9080 ) |
serverTimeout |
no | int64 |
HTTP timeout duration for both read and writes. This should be a duration string that is accepted by https://golang.org/pkg/time/#ParseDuration (default: 5s ) |
sendInternalMetrics |
no | bool |
Whether to emit internal metrics about the HTTP listener (default: false ) |