influxdb: add meta / related_stations count
This commit is contained in:
parent
aaeb81a5d2
commit
4a2897c1f8
1 changed files with 8 additions and 0 deletions
|
@ -121,6 +121,14 @@ sub run {
|
|||
->hash->{count}
|
||||
)
|
||||
);
|
||||
push(
|
||||
@stations,
|
||||
query_to_influx(
|
||||
'meta',
|
||||
$db->select( 'related_stations', 'count(*) as count' )
|
||||
->hash->{count}
|
||||
)
|
||||
);
|
||||
|
||||
push(
|
||||
@traewelling,
|
||||
|
|
Loading…
Reference in a new issue