Skip to content
Snippets Groups Projects
Commit 9e789cc7 authored by Adam Niedzielski's avatar Adam Niedzielski
Browse files

Add continuous query for ETag caching events

parent 2eba4ee9
No related branches found
No related tags found
1 merge request!8Add continuous query for ETag caching events
CREATE CONTINUOUS QUERY etag_caching_per_endpoint_per_hour ON $DATABASE
BEGIN
SELECT sum(count) AS "count"
INTO year.etag_caching_per_endpoint_per_hour
FROM "$DEFAULT_RETENTION_POLICY".events
WHERE "event" =~ /^etag_caching_/
GROUP BY time(1h), event, endpoint
END
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment