Sentry

Sentry offers self-hosted and cloud-based application performance monitoring & error tracking that helps software teams see clearer, solve quicker, & learn continuously.

Integrate the Sentry API with the Go API

Setup the Sentry API trigger to run a workflow which integrates with the Go API. Pipedream's integration platform allows you to integrate Sentry and Go remarkably fast. Free for developers.

Run Go Code with Go API on New Issue Event (Instant) from Sentry API
Sentry + Go
 
Try it
New Issue Event (Instant) from the Sentry API

Emit new events for issues that have been created or updated.

 
Try it
List Issue Events with the Sentry API

Return a list of events bound to an issue. See the docs here

 
Try it
Run Go Code with the Go API

Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.

 
Try it
List Project Events. with the Sentry API

Return a list of events bound to a project. See the docs here

 
Try it
List Project Issues. with the Sentry API

Return a list of issues bound to a project. See the docs here

 
Try it
Update Issue. with the Sentry API

Updates an individual issue's attributes. Only the attributes submitted are modified.See the docs here

 
Try it

Overview of Sentry

Sentry is an error tracking and monitoring platform that can be used to detect
and debug problems with applications. With the Sentry API, developers and
system administrators can build custom tools and applications using the Sentry
platform.

Using the Sentry API, here are some examples of the kinds of custom tools and
applications that can be built:

  • Debugging tool to detect and troubleshoot errors
  • Application monitoring dashboard
  • Alert system to send notifications when an error occurs
  • Anomaly detection system to identify potential issues
  • Automated testing system to quickly identify and correct bugs
  • Event logging system to track system metrics and usage data
  • Visualization tool to track the progress and performance over time of the
    application or system

Connect Sentry

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    sentry: {
      type: "app",
      app: "sentry",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://sentry.io/api/0/`,
      headers: {
        Authorization: `Bearer ${this.sentry.$auth.auth_token}`,
      },
    })
  },
})

Connect Go

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package main

import (
	"fmt"

	pd "github.com/PipedreamHQ/pipedream-go"
)

func main() {
	// Access previous step data using pd.Steps
	fmt.Println(pd.Steps)

	// Export data using pd.Export
	data := make(map[string]interface{})
	data["name"] = "Luke"
	pd.Export("data", data)
}