influxdata/telegraf

Auto create table in BigQuery

Open

#13.033 aberto em 4 de abr. de 2023

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)Go (4.161 forks)batch import
area/gcpfeature requesthelp wantedplugin/output

Métricas do repositório

Stars
 (9.892 stars)
Métricas de merge de PR
 (Mesclagem média 2d 12h) (136 fundiu PRs em 30d)

Description

Use Case

With some input plugins the metric names and formats are unknown on beforehand, the number of tags and fields can vary over time. Therefore it would be nice if the outputs.bigquery plugin could handle this in a way similar to the outputs.sql plugin.

Expected behavior

Telegraf creates the required table in BigQuery with all the corresponding metric fields and tags just as the sql

Actual behavior

Tables for metrics need to be created on beforehand in BigQuery.

Additional info

Here is a PoC which adds a new BigQuery field on the fly, proving it should be possible.

Guia do colaborador