Skip to content

Instantly share code, notes, and snippets.

@matsimitsu
Created December 13, 2018 11:57
Show Gist options
  • Save matsimitsu/ea2fa1d6c4bec5faaf5e58d105188ae7 to your computer and use it in GitHub Desktop.
Save matsimitsu/ea2fa1d6c4bec5faaf5e58d105188ae7 to your computer and use it in GitHub Desktop.
-
title: 'Heroku Postres'
graphs:
-
title: Connections
kind: gauge
format: number
draw_null_as_zero: false
fields:
- active_connections
- waiting_connections
tags:
source: '*'
addon: '*'
-
title: 'Cache hit rates'
kind: gauge
format: number
draw_null_as_zero: false
fields:
- table_cache_hit_rate
- index_cache_hit_rate
tags:
source: '*'
addon: '*'
-
title: 'DB Size'
kind: gauge
format: size
format_input: byte
draw_null_as_zero: false
fields:
- db_size
tags:
source: '*'
addon: '*'
-
title: Tables
kind: gauge
format: number
draw_null_as_zero: false
fields:
- tables
tags:
source: '*'
addon: '*'
-
title: I/O
kind: gauge
format: number
fields:
- read_iops
- write_iops
tags:
source: '*'
addon: '*'
-
title: Memory
line_label: 'Memory - %state%'
kind: gauge
format: size
draw_null_as_zero: false
fields:
- memory
tags:
source: '*'
addon: '*'
state: '*'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment