Website uptime monitoring service.
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
Format a date string to another date string. For more examples on formatting, see the Sugar Date Format documentation.
Pulsetic API lets you monitor your websites and servers, sending notifications when downtime occurs or performance issues arise. With Pipedream, you can leverage this API to create powerful, automated workflows that respond to Pulsetic events in real-time. For instance, you can automate incident management by connecting Pulsetic to ticketing systems, trigger alerts in communication channels, or log performance data for analysis. Pipedream's zero-management data stores also allow you to keep track of incident history without needing a separate database.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pulsetic: {
type: "app",
app: "pulsetic",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.pulsetic.com/api/public/monitors`,
headers: {
"Authorization": `${this.pulsetic.$auth.api_token}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})