timescale / docs

Timescale product documentation 📖
https://docs.timescale.com/
48 stars 93 forks source link

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

Open geomat0101 opened 3 months ago

geomat0101 commented 3 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 3 months ago

Thank you for the report. We welcome documentation contributions!