Skip to content

Instantly share code, notes, and snippets.

View nrnw's full-sized avatar

Niuru nrnw

View GitHub Profile
@nrnw
nrnw / prometheus-ecosystem.md
Created February 17, 2026 08:38
Prometheus Monitoring Tools Overview
Tool / Exporter What it Does How it Helps
Prometheus Core monitoring system & time-series database Collects and stores metrics from all your services, servers, and apps; acts as the central brain for monitoring
Alertmanager Handles alerts from Prometheus Sends notifications (email, Slack, PagerDuty) when issues occur, so teams can respond quickly and avoid downtime
Blackbox Exporter Tests endpoints (HTTP, DNS, TCP, ICMP) Monitors external services, APIs, and websites; ensures uptime and performance of services you depend on
Consul Exporter Exposes metrics from HashiCorp Consul Monitors service discovery, health of microservices, and Consul itself; helps avoid misconfigured or down services
Graphite Exporter Bridges Prometheus with Graphite metrics Allows companies with legacy Graphite dashboards to integrate data into Prometheus, avoiding data silos
Memcached Exporter
@nrnw
nrnw / cleanup_vscode_remote.sh
Created February 6, 2026 10:35
VS Code Remote can leave stuff running on your server. This script cleans up leftover VS Code server processes and files.
#!/usr/bin/env bash
set -euo pipefail
echo "Stopping VS Code Remote Server processes..."
# Kill only VS Code server-related node processes
pkill -f ".vscode-server" || true
pkill -f "vscode-server" || true
echo "Removing VS Code server directories..."
@nrnw
nrnw / Exchange rate APIs.md
Last active January 7, 2025 15:48
Exchange rate APIs
@nrnw
nrnw / gist:524a6cd7b00ff27f12740d699db7ebdf
Created March 30, 2024 16:40
backdoor vulnerablity check for xz-utils
#!/bin/bash
#Check xz-utils installed
if ! command -v xz &> /dev/null
then
echo "xz-utils is not installed on this system."
exit 1
fi
# Get the version of xz-utils