sapmexporter.json•2.62 kB
{
"fields": [
{
"name": "Endpoint",
"type": "string",
"description": "Endpoint is the destination to where traces will be sent to in SAPM format. It must be a full URL and include the scheme, port and path e.g, https://ingest.signalfx.com/v2/trace",
"required": true,
"mapstructureTag": "endpoint"
},
{
"name": "AccessToken",
"type": "configopaque.String",
"description": "AccessToken is the authentication token provided by SignalFx.",
"required": true,
"mapstructureTag": "access_token"
},
{
"name": "NumWorkers",
"type": "uint",
"description": "NumWorkers is the number of workers that should be used to export traces. Exporter can make as many requests in parallel as the number of workers. Defaults to 8.",
"required": true,
"mapstructureTag": "num_workers"
},
{
"name": "MaxConnections",
"type": "uint",
"description": "MaxConnections is used to set a limit to the maximum idle HTTP connection the exporter can keep open.",
"required": true,
"mapstructureTag": "max_connections"
},
{
"name": "DisableCompression",
"type": "bool",
"description": "Disable compression. If set to true then Compression field is ignored.",
"required": true,
"mapstructureTag": "disable_compression"
},
{
"name": "Compression",
"type": "string",
"description": "Compression method to use (gzip or zstd). Ignored if DisableCompression=true. If unspecified defaults to gzip.",
"required": true,
"mapstructureTag": "compression"
},
{
"name": "LogDetailedResponse",
"type": "bool",
"description": "Log detailed response from trace ingest.",
"required": true,
"mapstructureTag": "log_detailed_response"
},
{
"name": "TimeoutSettings",
"type": "exporterhelper.TimeoutConfig",
"description": "",
"required": true,
"mapstructureTag": ",squash"
},
{
"name": "QueueSettings",
"type": "exporterhelper.QueueBatchConfig",
"description": "",
"required": true,
"mapstructureTag": "sending_queue"
}
],
"imports": [
"errors",
"fmt",
"net/url",
"sapmclient \"github.com/signalfx/sapm-proto/client\"",
"go.opentelemetry.io/collector/config/configopaque",
"go.opentelemetry.io/collector/config/configretry",
"go.opentelemetry.io/collector/exporter/exporterhelper",
"github.com/open-telemetry/opentelemetry-collector-contrib/internal/splunk"
],
"packageName": "sapmexporter"
}