GitHub user CritasWang added a comment to the discussion: 无法通过1.36.1版本的Telegraf 采集数据到 2.0.5版本的IoTDB数据库中
<img width="3038" height="462" alt="image" src="https://github.com/user-attachments/assets/dc19fcf4-e40b-4d31-8ea5-677ff41c0766" /> 我这边用 1.35.4 和 2.0.5 写入成功了 这是我的配置 ``` [global_tags] [agent] interval = "10s" round_interval = true metric_batch_size = 1000 metric_buffer_limit = 10000 collection_jitter = "0s" flush_interval = "10s" flush_jitter = "0s" precision = "0s" # Save metrics to an IoTDB Database [[outputs.iotdb]] ## Configuration of IoTDB server connection host = "127.0.0.1" port = "6667" ## Configuration of authentication # user = "root" # password = "root" timestamp_precision = "millisecond" sanitize_tag = "1.3" # Read metrics about cpu usage [[inputs.cpu]] ## Whether to report per-cpu stats or not percpu = true ## Whether to report total system cpu stats or not totalcpu = true ## If true, collect raw CPU time metrics collect_cpu_time = false ## If true, compute and report the sum of all non-idle CPU states ## NOTE: The resulting 'time_active' field INCLUDES 'iowait'! report_active = false ## If true and the info is available then add core_id and physical_id tags core_tags = false name_override = "root.demo.telegraf.cpu" ``` GitHub link: https://github.com/apache/iotdb/discussions/16521#discussioncomment-14540956 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
