I’m trying to figure out how to properly configure my receivers for journald
. When I, naively, run otelcol --config=my-config.yaml
I’m getting
Error: failed to get config: cannot unmarshal the configuration: 1 error(s) decoding:
* error decoding 'receivers': unknown type: "journald" for id: "journald" (valid values: [prometheus zipkin nop otlp hostmetrics jaeger kafka opencensus])
My config looks something along the lines of:
...
receivers:
otlp:
protocols:
http:
endpoint: 127.0.0.1:4318
journald:
directory: /var/log/journal
priority: info
...