with Airbrake and ProveSource?
The Airbrake API facilitates real-time error monitoring and automatic exception reporting for your web applications, giving you instant insight into issues as they arise. With this API, you can create custom notifications, analyze and aggregate error data, and manage your project's error trends. Leveraging Pipedream's capabilities, you can automate workflows that respond to these errors, connect with other services for enhanced issue resolution, and maintain a smooth operation within your development and production environments.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
airbrake: {
type: "app",
app: "airbrake",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.airbrake.io/api/v4/projects`,
params: {
key: `${this.airbrake.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
provesource: {
type: "app",
app: "provesource",
}
},
async run({steps, $}) {
const data = {
"email": `{{your_email}}`,
"name": `{{your_name}}`,
}
return await axios($, {
method: "POST",
url: `${this.provesource.$auth.webhook_url}`,
headers: {
"Content-Type": `application/json`,
},
data,
})
},
})