hyperdx/docker/ingestor/http-sinks.toml
2024-11-21 21:44:33 -08:00

36 lines
1.1 KiB
TOML

# --------------------------------------------------------------------------------
# --------------------------------- Sinks ----------------------------------------
# --------------------------------------------------------------------------------
[sinks.go_parser]
type = "http"
uri = "${GO_PARSER_API_URL}"
inputs = ["go_spans"] # only send spans for now
compression = "gzip"
encoding.codec = "json"
batch.max_bytes = 10485760 # 10MB, required for rrweb payloads
batch.max_events = 100
batch.timeout_secs = 1
[sinks.dev_hdx_aggregator]
type = "http"
uri = "${AGGREGATOR_API_URL}"
inputs = ["post_spans", "post_logs"]
compression = "gzip"
encoding.codec = "json"
batch.max_bytes = 10485760 # 10MB, required for rrweb payloads
batch.max_events = 100
batch.timeout_secs = 1
[sinks.dev_hdx_metrics_aggregator]
type = "http"
uri = "${AGGREGATOR_API_URL}?telemetry=metric"
inputs = ["metrics"]
compression = "gzip"
encoding.codec = "json"
batch.max_bytes = 100000
batch.max_events = 100
batch.timeout_secs = 1
# --------------------------------------------------------------------------------