Skip to content

Instantly share code, notes, and snippets.

@m-makuch
Last active December 4, 2022 17:56
Show Gist options
  • Select an option

  • Save m-makuch/dd43a53ffeb378ad0c5fb3070e5873ec to your computer and use it in GitHub Desktop.

Select an option

Save m-makuch/dd43a53ffeb378ad0c5fb3070e5873ec to your computer and use it in GitHub Desktop.
baselime shared template
version: 0.0.21
application: bar
description: coolest templates in the world
provider: aws
lambda-errors:
type: query
properties:
name: Events with LogLevel ERROR
description: Count of the number of events with LogLevel ERROR
parameters:
calculations:
- COUNT
datasets:
- logs
filters:
- LogLevel = ERROR
groupBy:
limit: 10
orderBy: COUNT
type: string
value: namespace
lambda-invocations-durations:
type: query
properties:
name: Duration of lambda invocations
description: Statistics on the duration of lambda invocations across the application
parameters:
calculations:
- MAX(@duration)
- P99(@duration)
datasets:
- logs
filters:
- "@type = REPORT"
groupBy:
limit: 5
orderBy: P99(@duration)
type: string
value: namespace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment