Use poll time for new measurements
This commit is contained in:
@@ -77,10 +77,7 @@ data:
|
||||
)
|
||||
SELECT
|
||||
event.event_id,
|
||||
COALESCE(
|
||||
NULLIF(measurement.value->>'updated_at', '')::timestamptz,
|
||||
event.observed_at
|
||||
),
|
||||
event.observed_at,
|
||||
event.source,
|
||||
event.collector_id,
|
||||
event.device_id,
|
||||
|
||||
@@ -13,6 +13,8 @@ spec:
|
||||
{{- include "thermo.writerSelectorLabels" . | nindent 6 }}
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
checksum/config: {{ include (print $.Template.BasePath "/writer-configmap.yaml") . | sha256sum }}
|
||||
labels:
|
||||
{{- include "thermo.writerSelectorLabels" . | nindent 8 }}
|
||||
spec:
|
||||
|
||||
Reference in New Issue
Block a user