mirror of
https://github.com/derf/travelynx
synced 2024-11-10 06:54:17 +00:00
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}
|
->hash->{count}
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
push(
|
||||||
|
@stations,
|
||||||
|
query_to_influx(
|
||||||
|
'meta',
|
||||||
|
$db->select( 'related_stations', 'count(*) as count' )
|
||||||
|
->hash->{count}
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
push(
|
push(
|
||||||
@traewelling,
|
@traewelling,
|
||||||
|
|
Loading…
Reference in a new issue