closes #1289 Signed-off-by: François de Metz <francois@stormz.me> Signed-off-by: Cyril Duez <cyril@stormz.me> Rename internals struct. Signed-off-by: François de Metz <francois@stormz.me> Signed-off-by: Cyril Duez <cyril@stormz.me> Update changelog. Signed-off-by: François de Metz <francois@stormz.me> Signed-off-by: Cyril Duez <cyril@stormz.me> Update READMEs and CHANGELOG. Signed-off-by: François de Metz <francois@stormz.me> Signed-off-by: Cyril Duez <cyril@stormz.me> Update SampleConfig. Update the config format. Update telegraf config. Update the webhooks README. Update changelog. Update the changelog with an upgrade path. Update default ports. Fix indent. Check for nil value on AvailableWebhooks. Check for CanInterface.
39 lines
1.3 KiB
Markdown
39 lines
1.3 KiB
Markdown
# 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](https://rollbar.com/docs/webhooks/)
|
|
|
|
#### `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
|