Zum Hauptinhalt springen
Windows Tipps & SecurityRadiooooo: So entdecken Sie Musik aus aller Welt und jeder Zeit(19.10.2026 um 08:00 Uhr)
•
Windows Tipps & SecurityWindows 11: Update KB5127648 stört Smart App Control - BornCity(19.10.2026 um 08:03 Uhr)
•
Unix & Linux Server7 Tips to Make GitHub CLI (gh) Faster for Linux Automation(19.10.2026 um 07:47 Uhr)
•
Sichere ProgrammierungZyklus-Apps im Check: 4 von 17 wollen den Standort tracken(19.10.2026 um 07:00 Uhr)
•
Sichere ProgrammierungThe One Growth Lever Still Sitting Unused After Two Months(19.10.2026 um 08:18 Uhr)
•••
Sichere ProgrammierungKeep three percentage denominators visible in a signal cross-tab(19.10.2026 um 08:19 Uhr)
•
Sichere ProgrammierungAWS RDS MySQL kill transaction by ID (without thread_id)(19.10.2026 um 08:19 Uhr)
••
Windows Tipps & SecurityRadiooooo: So entdecken Sie Musik aus aller Welt und jeder Zeit(19.10.2026 um 08:00 Uhr)
•
Windows Tipps & SecurityWindows 11: Update KB5127648 stört Smart App Control - BornCity(19.10.2026 um 08:03 Uhr)
•
Unix & Linux Server7 Tips to Make GitHub CLI (gh) Faster for Linux Automation(19.10.2026 um 07:47 Uhr)
•
Sichere ProgrammierungZyklus-Apps im Check: 4 von 17 wollen den Standort tracken(19.10.2026 um 07:00 Uhr)
•
Sichere ProgrammierungThe One Growth Lever Still Sitting Unused After Two Months(19.10.2026 um 08:18 Uhr)
•••
Sichere ProgrammierungKeep three percentage denominators visible in a signal cross-tab(19.10.2026 um 08:19 Uhr)
•
Sichere ProgrammierungAWS RDS MySQL kill transaction by ID (without thread_id)(19.10.2026 um 08:19 Uhr)
••
Intelligence View
⚡ tsecurity.de Intelligence

Making a Totally Free Uptime Monitor using a Worker Runtime and OpenTelemetry

Table of Contents What is an Uptime Monitor and When to Use One? Traditional Options Using a Worker Runtime and OpenTelemetry The High-Level Solution The…

Beitrag
0
Seite
0
↗ Quelle (dev.to)
Social ReaktionenReagiere als Erste:r — dein Feedback zählt!




Table of Contents




  • What is an Uptime Monitor and When to Use One?

  • Traditional Options


  • Using a Worker Runtime and OpenTelemetry


    • The High-Level Solution

    • The High-Level Setup Steps

    • Comparison to the Other Options





  • Takeaway






What is an Uptime Monitor and When to Use One?



An uptime monitor is a tool that periodically (e.g. every minute) checks your application or API to gauge if it’s up and healthy.



If you have true observability and are using SLOs effectively you probably don’t need to use one. But if you’re not at that level yet, an uptime monitor can be a valuable information source regarding the reliability of your application or API.






Traditional Options



There are a number of ways to run an uptime monitor. For example,




  • Running a cron job on a server/VM and using bash, curl, and webhooks

  • Setting up an Eventbridge cron with Container/Lambda targets and webhooks

  • Paying for a 3rd party service (e.g. Pingdom)



Each of them comes with their own downsides though




  • Maintenance (e.g. security patching, keeping away from end-of-life states)

  • Complexity (e.g. setting up IaC, CI/CD)

  • Cost



Is there an option that avoids these downsides?






Using a Worker Runtime and OpenTelemetry



I contend there is using a worker runtime and OpenTelemetry.






The High-Level Solution



The solution maps out at a high-level as follows




  1. Use a cron from a worker runtime

  2. Have the worker hit the application or API endpoint

  3. Gather instrumentation about the network call with OpenTelemetry

  4. Send that OpenTelemetry instrumentation to an observability backend

  5. Use the observability backend to alert on unhealthy traffic






The High-Level Setup Steps



These steps will use Cloudflare Workers for the worker runtime, but something similar can be done with Deno Deploy as well.




  1. Create a free Cloudflare account


  2. Create a worker with the following code and the Node.js compatibility flag


    import { instrument } from '@microlabs/otel-cf-workers'

    const handler = {
    async scheduled(event, env, ctx) {
    await fetch(env.ENDPOINT_TO_MONITOR)
    }
    }

    const config = (env, _trigger) => {
    return {
    exporter: {
    url: 'https://api.honeycomb.io/v1/traces',
    headers: { 'x-honeycomb-team': env.HONEYCOMB_API_KEY },
    },
    service: { name: env.ENDPOINT_NAME },
    }
    }

    export default instrument(handler, config)



  3. Add an environment variable named “ENDPOINT_TO_MONITOR” with the endpoint to check and add another environment variable named “ENDPOINT_NAME” with a friendly name for the endpoint


  4. Create a free Honeycomb account


  5. Create an environment named “Uptime Monitors” and create an ingest key


  6. Back in Cloudflare, take that ingest key and copy-paste it into a Cloudflare Workers secret named “HONEYCOMB_API_KEY”


  7. Add a cron of “* * * * *” to the worker


  8. (Confirm that traces are appearing every minute in Honeycomb)



  9. In Honeycomb, create a trigger (alert) based on the query


    COUNT > 0 where http.response.status_code >= 400 



  10. Route the trigger’s notifications as needed (e.g. to Slack)




You should now have a functioning uptime monitor for your endpoint.






Comparison to the Other Options



Compared to the other options outlined before, this solution has




  • Minimal maintenance (just a single npm package and its dependencies to monitor for security vulnerabilities)

  • Minimal complexity (just the steps outlined above)

  • Totally free (the usage is very much within the Cloudflare Workers free tier and Honeycomb free tier)






Takeaway



Paying for an uptime monitor service is probably preferable to this (if you’re able to).



The real takeaway is that there is this newer form of compute (worker runtimes) with a cost model that can be taken advantage of for situations similar to this.

🔍 CTI & Forensik

Cyber Threat Intelligence & Forensik

ATT&CK-Navigator · IoC-Radar · Exploit-Belege
MITRE ATT&CK Matrix Navigator
1 belegte Technik
T1053TA0003 · Persistence
Scheduled Task/Job
Mitigation: M1026 Privileged Account Management
Quelle: Kontext-Klassifikation des Artikeltextes
Persistence
CTI Threat Relationship Graph
Akteure · Techniken · Beziehungen
3 Knoten · 2 Relationen
CVE / Incident Threat Actor Software MITRE ATT&CK CWE Weakness IoC
Intelligence Digest — kostenlos Täglich die wichtigsten Security-News · jederzeit abbestellbar
Community Rating & Social Proof
⭐ Leser-Wertung
–
Ø / 5.0
Noch keine Leser-Bewertungen
War diese Seite hilfreich?
0
Jetzt Bewertung abgeben
🟢 Niedrig (1-3.9) 🟡 Mittel (4.0-6.9) 🔴 Hoch (7.0-8.9) Kritisch (9.0-10.0)

Verwandte Story-Cluster & Quellen (Vektor-KI)

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Making a Totally Free Uptime Monitor using a Worker Runtime and OpenTelemetry

Thematisch verwandte Begriffe: Making, Totally, Free, Uptime · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

💬 Kommentare werden geladen…
Zum Aktualisieren ziehen
Nächster Beitrag