/*
See https://mflt.io/memfaultd.conf for information on the available
parameters.
*/
{
"persist_dir": "/media/memfault",
"tmp_dir": null,
"tmp_dir_min_headroom_kib": 10240,
"tmp_dir_min_inodes": 100,
"tmp_dir_max_usage_kib": 102400,
"upload_interval_seconds": 3600,
"heartbeat_interval_seconds": 3600,
"enable_data_collection": false,
"enable_dev_mode": false,
"project_key": "",
"base_url": "https://device.memfault.com",
"swupdate": {
"input_file": "/etc/swupdate.cfg",
"output_file": "/tmp/swupdate.cfg"
},
"reboot": {
"last_reboot_reason_file": "/media/last_reboot_reason",
"capture_pstore": false
},
"coredump": {
"coredump_max_size_kib": 96000,
"compression": "gzip",
"rate_limit_count": 5,
"rate_limit_duration_seconds": 3600,
"capture_strategy": {
"type": "threads",
"max_thread_size_kib": 32
},
"log_lines": 100
},
"http_server": {
"bind_address": "127.0.0.1:8787"
},
"fluent-bit": {
"extra_fluentd_attributes": [],
"bind_address": "127.0.0.1:5170",
"max_connections": 4
},
"logs": {
"compression_level": 1,
"max_lines_per_minute": 1000,
"rotate_size_kib": 10240,
"rotate_after_seconds": 3600,
"storage": "persist",
"source": "journald",
"level_mapping": {
"enable": false
},
"extra_attributes": [],
"max_buffered_lines": 1000
},
"mar": {
"mar_file_max_size_kib": 10240,
"mar_entry_max_age_seconds": 604800,
"mar_entry_max_count": 1000
},
"battery_monitor": null,
"metrics": {
"high_resolution_telemetry": {
"enable": true,
"max_samples_per_minute": 750
},
"enable_daily_heartbeats": false,
"system_metric_collection": {
"poll_interval_seconds": 10,
"enable": true
},
"statsd_server": {
"bind_address": "127.0.0.1:8125",
"legacy_gauge_aggregation": false,
"legacy_key_names": false
}
},
"custom_trace": {
"log_compression": "gzip",
"rate_limit_count": 5,
"rate_limit_duration_seconds": 3600
}
}