timescale / docs

Timescale product documentation 📖
https://docs.timescale.com/
53 stars 99 forks source link

[Feedback] Page: /use-timescale/latest/integrations/data-ingest/telegraf/ #3224

Open geomat0101 opened 6 months ago

geomat0101 commented 6 months ago

Is it easy to find the information you need?

None

Are the instructions clear?

No

How could we improve the Timescale documentation site?

This is the correct Telegraf.conf syntax for table creation:


  ## Templated statements to execute when creating a new table.
  create_templates = [
      '''CREATE TABLE IF NOT EXISTS {{ .table }}({{ .columns }}); SELECT create_hypertable('{{ .table }}',by_range('time', INTERVAL '1 week'),if_not_exists := true);''',
  ]
github-actions[bot] commented 6 months ago

Thank you for the report. We welcome documentation contributions!

default-student commented 1 month ago

This is critical for setting up Telegraf with Timescaledb! Thank you so much