telegraf/plugins/inputs/webhooks/rollbar
Cameron Sparr c7834209d2 Major Logging Overhaul
in this commit:

- centralize logging output handler.
- set global Info/Debug/Error log levels based on config file or flags.
- remove per-plugin debug arg handling.
- add a I!, D!, or E! to every log message.
- add configuration option to specify where to send logs.

closes #1786
2016-10-03 17:13:03 +01:00
..
README.md Add new webhooks plugin that superseed github and rollbar plugins. 2016-06-22 17:18:14 +01:00
rollbar_webhooks.go Major Logging Overhaul 2016-10-03 17:13:03 +01:00
rollbar_webhooks_events.go Add new webhooks plugin that superseed github and rollbar plugins. 2016-06-22 17:18:14 +01:00
rollbar_webhooks_events_json_test.go Add new webhooks plugin that superseed github and rollbar plugins. 2016-06-22 17:18:14 +01:00
rollbar_webhooks_test.go Add new webhooks plugin that superseed github and rollbar plugins. 2016-06-22 17:18:14 +01:00

README.md

rollbar webhooks

You should configure your Rollbar's Webhooks to point at the webhooks service. To do this go to rollbar.com/ and click Settings > Notifications > Webhook. In the resulting page set URL to http://<my_ip>:1619/rollbar, and click on Enable Webhook Integration.

Events

The titles of the following sections are links to the full payloads and details for each event. The body contains what information from the event is persisted. The format is as follows:

# TAGS
* 'tagKey' = `tagValue` type
# FIELDS
* 'fieldKey' = `fieldValue` type

The tag values and field values show the place on the incoming JSON object where the data is sourced from.

See webhook doc

new_item event

Tags:

  • 'event' = event.event_name string
  • 'environment' = event.data.item.environment string
  • 'project_id = event.data.item.project_id int
  • 'language' = event.data.item.last_occurence.language string
  • 'level' = event.data.item.last_occurence.level string

Fields:

  • 'id' = event.data.item.id int

deploy event

Tags:

  • 'event' = event.event_name string
  • 'environment' = event.data.deploy.environment string
  • 'project_id = event.data.deploy.project_id int

Fields:

  • 'id' = event.data.item.id int