Skip to content

Commit

Permalink
fix: google cloud filter in README to use regex
Browse files Browse the repository at this point in the history
  • Loading branch information
regeter authored Feb 6, 2025
1 parent 5d3b20b commit 6ccafcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ We also have demo data for:
-- On-demand trips
resource.type="fleetengine.googleapis.com/Fleet"
AND (labels.vehicle_id="YOUR_VEHICLE_ID" OR
labels.trip_id=("TRIP_ID_1" "TRIP_ID_2"))
labels.trip_id=~"(TRIP_ID_1|TRIP_ID_2)")
AND timestamp >= "START_TIME" -- ISO 8601 format (YYYY-MM-DDTHH:MM:SS)
AND timestamp <= "END_TIME" -- ISO 8601 format (YYYY-MM-DDTHH:MM:SS)
AND (
Expand All @@ -35,7 +35,7 @@ AND (
-- Scheduled tasks
resource.type="fleetengine.googleapis.com/DeliveryFleet"
AND (labels.delivery_vehicle_id="YOUR_VEHICLE_ID" OR
labels.task_id=("TASK_ID_1" "TASK_ID_2"))
labels.task_id=~"(TASK_ID_1|TASK_ID_2)")
AND timestamp >= "START_TIME" -- ISO 8601 format (YYYY-MM-DDTHH:MM:SS)
AND timestamp <= "END_TIME" -- ISO 8601 format (YYYY-MM-DDTHH:MM:SS)
AND (
Expand Down

0 comments on commit 6ccafcd

Please sign in to comment.