Skip to content

Telegraf Integration with ArcadeDB TimeSeries — Seeking Guidance on InfluxDB Line Protocol Configuration #3820

@lvca

Description

@lvca

Discussed in #3819

Originally posted by ppenmeth9 April 11, 2026
I'm exploring ArcadeDB's TimeSeries capabilities and trying to integrate it with Telegraf for ingesting system and infrastructure metrics. I understand ArcadeDB supports the InfluxDB line protocol, but I'm running into some challenges getting the data flowing correctly.
Environment:

  • ArcadeDB version: 26.3.2
  • Deployment: Docker container
  • Telegraf version: latest

What I've done so far:

  1. Created a database and TimeSeries type:
CREATE DATABASE metrics_db

CREATE TIMESERIES TYPE Metrics
  TIMESTAMP ts
  SHARDS 8
  RETENTION 90 DAYS
  COMPACTION_INTERVAL 1 HOURS
  1. Confirmed the database and type exist via the REST API. The schema shows the Metrics type with 8 shards, retention of 90 days, and ts as the timestamp column (LONG type).
  2. Attempted Telegraf integration using the http output plugin:
[[outputs.http]]
  url = "http://<host>:2480/api/v1/ts/metrics_db/write"
  method = "POST"
  username = "root"
  password = "<password>"
  data_format = "influx"
  timeout = "5s"

Telegraf logs show successful writes (Wrote batch of 1 metrics), but no data appears in the database.

  1. Attempted Telegraf integration using the http output plugin:
[[outputs.influxdb]]
  urls = ["http://<host>:2480/api/v1/ts/metrics_db"]
  username = "root"
  password = "<password>"
  skip_database_creation = true

ERROR logs on ArcadeDB:

2026-04-11 21:48:57.718 WARNI [PostTimeSeriesQueryHandler] <arcadedb-vm01> Error parsing request payload: Invalid JSON object format: q=CREATE+DATABASE+%22telegraf%22
2026-04-11 21:50:03.371 WARNI [LineProtocolParser] <arcadedb-vm01> Skipping malformed line protocol line: '�???????�T�QN�0'

Any guidance on the correct configuration would be greatly appreciated. Happy to provide additional logs or details if needed.

As per the Doc, below is the example... but it is throwing an error on PRECISION and COMPACTION? are these options no longer supported... it works after removing them.

CREATE TIMESERIES TYPE SensorReading
  TIMESTAMP ts PRECISION NANOSECOND
  TAGS (
    sensor_id STRING,
    location  STRING,
    floor     STRING
  )
  FIELDS (
    temperature DOUBLE,
    humidity    DOUBLE,
    pressure    DOUBLE
  )
  SHARDS 16
  RETENTION 90 DAYS
  COMPACTION INTERVAL 30s

Looks like we need to create TIMESERIES TYPE for each measurement from Telegraf... after i created the below, i can see the data being ingested.

CREATE TIMESERIES TYPE cpu
  TIMESTAMP ts
  TAGS (
    host STRING,
    cpu STRING,
    category STRING
  )
  FIELDS (
    time_user DOUBLE,
    time_idle DOUBLE,
    time_nice DOUBLE,
    time_iowait DOUBLE,
    time_softirq DOUBLE,
    time_guest_nice DOUBLE,
    time_system DOUBLE,
    time_irq DOUBLE,
    time_steal DOUBLE,
    time_guest DOUBLE,
    time_active DOUBLE,
    usage_guest_nice DOUBLE,
    usage_active DOUBLE,
    usage_user DOUBLE,
    usage_nice DOUBLE,
    usage_iowait DOUBLE,
    usage_steal DOUBLE,
    usage_system DOUBLE,
    usage_idle DOUBLE,
    usage_irq DOUBLE,
    usage_softirq DOUBLE,
    usage_guest DOUBLE
  )
  SHARDS 8
  RETENTION 90 DAYS
  COMPACTION_INTERVAL 1 HOURS

Telegraf input/output config: (below one is working)

[[inputs.cpu]]
interval = "120s"
percpu = false
totalcpu = true
collect_cpu_time = true
report_active = true
core_tags = false
tags = {category = "host_os_metrics"}

[[outputs.http]]
url = "http://localhost:2480/api/v1/ts/metrics_db/write?precision=ns"
method = "POST"
username = "root"
password = "abcd1234"
data_format = "influx"
timeout = "5s"
[outputs.http.tagpass]
category = ["host_os_metrics"]

Is influxdb output plugin is not supported ?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions