google / google/ts-bridge

InfluxDB metric source - check that queries contain just 1 column

Open
#32 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
56
Forks
20
PR merge metrics
No merged PRs in 30d

Description

[InfluxDB metric source](https://github.com/google/ts-bridge/blob/master/influxdb/README.md#metric-source-influxdb) is configured by specifying a query, this query must have 1 column, so that it returns just 1 value.
We're not checking this in [validateQuery](https://github.com/google/ts-bridge/blob/master/influxdb/config.go) , as a result we throw errors that are not very intuitive (like "cannot create metric '': not an App Engine context "

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.