Skip to content

Instantly share code, notes, and snippets.

@mrueg
Created October 14, 2020 22:38
Show Gist options
  • Save mrueg/0d46b904af17032b9a9238da73e71156 to your computer and use it in GitHub Desktop.
Save mrueg/0d46b904af17032b9a9238da73e71156 to your computer and use it in GitHub Desktop.
rspamd-json-exporter.yml
- labels:
host: fancyhostname
name: rspamd_actions_add_header
path: "$.actions.add header"
- labels:
host: fancyhostname
name: rspamd_actions_no_action
path: "$.actions.no action"
- labels:
host: fancyhostname
name: rspamd_actions_rewrite_subject
path: "$.actions.rewrite subject"
- labels:
host: fancyhostname
name: rspamd_actions_soft_reject
path: "$.actions.soft reject"
- labels:
host: fancyhostname
name: rspamd_actions_greylist
path: "$.actions.greylist"
- labels:
host: fancyhostname
name: rspamd_actions_reject
path: "$.actions.reject"
- labels:
host: fancyhostname
name: rspamd_bytes_allocated
path: "$.bytes_allocated"
- labels:
host: fancyhostname
name: rspamd_chunks_allocated
path: "$.chunks_allocated"
- labels:
host: fancyhostname
name: rspamd_chunks_freed
path: "$.chunks_freed"
- labels:
host: fancyhostname
name: rspamd_chunks_oversized
path: "$.chunks_oversized"
- labels:
host: fancyhostname
name: rspamd_connections
path: "$.connections"
- labels:
host: fancyhostname
name: rspamd_control_connections
path: "$.control_connections"
- labels:
host: fancyhostname
name: rspamd_ham_count
path: "$.ham_count"
- labels:
host: fancyhostname
name: rspamd_learned
path: "$.learned"
- labels:
host: fancyhostname
name: rspamd_pools_allocated
path: "$.pools_allocated"
- labels:
host: fancyhostname
name: rspamd_pools_freed
path: "$.pools_freed"
- labels:
host: fancyhostname
name: rspamd_read_only
path: "$.read_only"
- labels:
host: fancyhostname
name: rspamd_scanned
path: "$.scanned"
- labels:
host: fancyhostname
name: rspamd_shared_chunks_allocated
path: "$.shared_chunks_allocated"
- labels:
host: fancyhostname
name: rspamd_spam_count
path: "$.spam_count"
- labels:
host: fancyhostname
name: rspamd_total_learns
path: "$.total_learns"
- labels:
host: fancyhostname
symbol: "$.symbol"
type: "$.type"
name: rspamd_statfiles
path: "$.statfiles[*]"
type: object
values:
languages: "$.languages"
revision: "$.revision"
size: "$.size"
total: "$.total"
used: "$.used"
users: "$.users"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment