rollbar

package
v1.32.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2024 License: MIT Imports: 9 Imported by: 14

README

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_occurrence.language string
  • 'level' = event.data.item.last_occurrence.level string

Fields:

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

Tags:

  • 'event' = event.event_name string
  • 'environment' = event.data.item.environment string
  • 'project_id = event.data.item.project_id int
  • 'language' = event.data.occurrence.language string
  • 'level' = event.data.occurrence.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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEvent

func NewEvent(dummyEvent *dummyEvent, data []byte) (event, error)

Types

type RollbarWebhook

type RollbarWebhook struct {
	Path string

	auth.BasicAuth
	// contains filtered or unexported fields
}

func (*RollbarWebhook) Register

func (rb *RollbarWebhook) Register(router *mux.Router, acc telegraf.Accumulator, log telegraf.Logger)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL