• 0 Posts
  • 127 Comments
Joined 2 years ago
cake
Cake day: June 19th, 2023

help-circle


  • So this whole Gemini thing is a tactic to push people to upgrade their phones again right? They gave up on the whole “your phone is 6 months old and therefore won’t be getting security updates anymore so you need to buy a new phone with identical specs otherwise hackers are going to break into your bank account and set your dog on fire” because regulators were starting to get twitchy, so now it’s "your phone is brand new but you didn’t spend enough money on it so you better buy a new phone or you won’t be able to have a sentient assistant to help you do your job and manage your life and you’ll be passed over for promotion by a 16 year old AI Native and never get a date and your family will be angry at you because Aunt Mildred doesn’t like fish and you booked family dinner at the wrong restaurant "





    • https://github.com/prometheus/node_exporter?tab=readme-ov-file#textfile-collector - which makes node exporter watch a specific directory for files that contain metrics, then re-export them back to the central Prometheus server
    • Some systems have their own metrics endpoints - instead of getting Prometheus to scrape these directly I set up a Cron job to curl these into files for node exporter - this means I don’t need extra config in Prometheus to find the endpoints, and don’t need to mess with firewall rules
    • Other systems don’t directly expose metrics in a format Prometheus can use - in this case I will write/find a script that can do the conversation, then either set it up to write the metrics file directly and run it on a Cron, or run it as a service and another Cron job to do the scrape





  • Depends on what you need:

    • As cheap as possible, but actually want a VM: OCI free tier will be way bigger than you will probably need
    • Happy paying money but still want to learn about Linux things: I’ve had good experiences with Scaleway
    • I just want something I can set up and not think about: don’t use a VPS. Architect your site as a pure-static site, stick it in an S3 bucket. You’ll probably be within the free tier unless you do absolutely bonkers traffic, and once it’s running you can leave it alone for literal years without worrying about patches or upgrades