diff --git a/README.md b/README.md index 1b85942..5b2248e 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,7 @@ For ease of installation and operation, run Fleet Telemetry on Kubernetes or a s "json_log_enable": bool, "namespace": string - kafka topic prefix, "reliable_ack": bool - for use with reliable datastores, recommend setting to true with kafka, + "transmit_decoded_records": bool - if true, transmit JSON to dispatchers instead of proto. "monitoring": { "prometheus_metrics_port": int, "profiler_port": int, diff --git a/config/config.go b/config/config.go index af9bedb..cde3262 100644 --- a/config/config.go +++ b/config/config.go @@ -90,6 +90,7 @@ type Config struct { Records map[string][]telemetry.Dispatcher `json:"records,omitempty"` // TransmitDecodedRecords if true decodes proto message before dispatching it to supported datastores + // when vehicle configuration has prefer_typed set to true, enum fields will have a prefix TransmitDecodedRecords bool `json:"transmit_decoded_records,omitempty"` // MetricCollector collects metrics for the application