mirror of
https://github.com/reonokiy/compose.git
synced 2025-06-15 13:12:54 +02:00
23 lines
632 B
TOML
23 lines
632 B
TOML
data_dir = "/var/lib/vector"
|
|
|
|
[api]
|
|
enabled = false
|
|
|
|
[sources.observe_nokiy_net_logs]
|
|
type = "docker_logs"
|
|
include_containers = ["openobserve"]
|
|
|
|
[sources.observe_nokiy_net_metrics]
|
|
type = "prometheus_scrape"
|
|
endpoints = ["http://openobserve:5080/metrics"]
|
|
|
|
[sinks.observe_nokiy_net]
|
|
type = "opentelemetry"
|
|
inputs = ["observe_nokiy_net_logs", "observe_nokiy_net_metrics"]
|
|
protocol.type = "http"
|
|
protocol.encoding.codec = "json"
|
|
protocol.uri = "${OTLP_URI}/api/default"
|
|
protocol.auth.strategy = "basic"
|
|
protocol.auth.user = "${OTLP_USER}"
|
|
protocol.auth.password = "${OTLP_PASSWORD}"
|
|
protocol.headers.stream-name = "observe_nokiy_net"
|