|
|
||
|---|---|---|
| .. | ||
| README.md | ||
| rollbar_webhooks.go | ||
| rollbar_webhooks_events.go | ||
| rollbar_webhooks_events_json_test.go | ||
| rollbar_webhooks_test.go | ||
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_namestring - 'environment' =
event.data.item.environmentstring - 'project_id =
event.data.item.project_idint - 'language' =
event.data.item.last_occurence.languagestring - 'level' =
event.data.item.last_occurence.levelstring
Fields:
- 'id' =
event.data.item.idint
occurrence event
Tags:
- 'event' =
event.event_namestring - 'environment' =
event.data.item.environmentstring - 'project_id =
event.data.item.project_idint - 'language' =
event.data.occurrence.languagestring - 'level' =
event.data.occurrence.levelstring
Fields:
- 'id' =
event.data.item.idint
deploy event
Tags:
- 'event' =
event.event_namestring - 'environment' =
event.data.deploy.environmentstring - 'project_id =
event.data.deploy.project_idint
Fields:
- 'id' =
event.data.item.idint