salt.returners.sentry_return¶
Salt returner that report execution results back to sentry. The returner will inspect the payload to identify errors and flag them as such.
Pillar need something like:
raven:
servers:
- http://192.168.1.1
- https://sentry.example.com
public_key: deadbeefdeadbeefdeadbeefdeadbeef
secret_key: beefdeadbeefdeadbeefdeadbeefdead
project: 1
tags:
- os
- master
- saltversion
- cpuarch
and http://pypi.python.org/pypi/raven installed
The tags list (optional) specifies grains items that will be used as sentry tags, allowing tagging of events in the sentry ui.
-
salt.returners.sentry_return.
returner
(ret)¶ Log outcome to sentry. The returner tries to identify errors and report them as such. All other messages will be reported at info level.