influxdata/telegraf

run postgres_extensible query across multiple databases

Open

#3 219 ouverte le 11 sept. 2017

Voir sur GitHub
 (6 commentaires) (0 réactions) (0 assignés)Go (4 161 forks)batch import
area/postgresqlfeature requesthelp wantedsize/l

Métriques du dépôt

Stars
 (9 892 stars)
Métriques de merge PR
 (Merge moyen 2j 12h) (136 PRs mergées en 30 j)

Description

Feature Request

Opening a feature request kicks off a discussion.

Proposal:

The postgres_extensible plugin should support a way of running the same query across multiple databases. The configuration should allow running across all discovered databases, or a filtered list.

Current behavior:

No such feature

Desired behavior:

Such a feature

Use case: [Why is this important (helps with prioritizing requests)]

Postgres provides a lot of data though what it calls "system catalogs", which are really tables within each database. Thus to use them you have to connect to that database. Instead of having to know which databases are present, and then having to hard-code those databases in the telegraf config on each server, it would be nice if we could push out the same telegraf config to all servers.

Guide contributeur