Skip to content

Instantly share code, notes, and snippets.

@GrantBirki
Last active April 9, 2021 05:56
Show Gist options
  • Save GrantBirki/5b468098ec9d4592bb5c41ea48264247 to your computer and use it in GitHub Desktop.
Save GrantBirki/5b468098ec9d4592bb5c41ea48264247 to your computer and use it in GitHub Desktop.
Fastly-to-Insights NRQL
SELECT average(status_2xx) FROM FastlyLogAggregate since 30 minutes ago TIMESERIES 15 minutes facet service
SELECT average(status_3xx) FROM FastlyLogAggregate since 30 minutes ago TIMESERIES 15 minutes facet service
SELECT average(status_4xx) FROM FastlyLogAggregate since 30 minutes ago TIMESERIES 15 minutes facet service
SELECT average(status_5xx) FROM FastlyLogAggregate since 30 minutes ago TIMESERIES 15 minutes facet service
SELECT average(hits) FROM FastlyLogAggregate since 30 minutes ago TIMESERIES 15 minutes facet service
SELECT average(miss) FROM FastlyLogAggregate since 30 minutes ago TIMESERIES 15 minutes facet service
SELECT average(miss_time) FROM FastlyLogAggregate since 30 minutes ago TIMESERIES 15 minutes facet service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment