Sha256: b7c888decd9a40c444d40da4a6709fb4e9a60086dd864a21f99fbb5d96a3d3b0
Contents?: true
Size: 1.67 KB
Versions: 61
Compression:
Stored size: 1.67 KB
Contents
## # DataDog [Notifier] # notify_by DataDog do |datadog| datadog.on_success = true datadog.on_warning = true datadog.on_failure = true datadog.api_key = 'my_api_key' ## # Optional # # Override Default Title # Default is: "Backup #{:label}" # datadog.title = "Backup #{:status}" # # Override Default Text # Default is "Backup Notification for #{:label}" # datadog.text = "Backup #{:status} - #{:message}" # # Provide a hostname to associate this backup to # Default is nil # datadog.host = 'db.example.com' # # Add Tags to the Event # Default is nil # valid option is an Array # datadog.tags = ['backup', 'env:production'] # # Override the Alert Type # Default is based on the :status of the backup: # :success => 'success' # :warning => 'warning' # :failure => 'error' # valid options are: 'info', 'success', 'warning', 'error' # datadog.alert_type = 'info' # # Add a Source Type # Default is nil # see api docs for valid source_type_names # datadog.source_type_name = 'my apps' # # Override the Priority Level # Default is 'normal' # valid options are: 'normal' or 'low' # datadog.priority = 'low' # # Override the Event Time (must be a unix Timestamp) # Default is Time.now.to_i # datadog.date_happened = Time.now.to_i # # Add an Aggregation Key # Default is nil # max length allowed is 100 characters # datadog.aggregation_key = 'my_aggregation' end
Version data entries
61 entries across 61 versions & 10 rubygems