GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - stackryze/stackryze-edge

BranchesTags
Open more actions menu

Latest commit

 

History

7 Commits
7 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
README.md
README.md
 
 
client.go
client.go
 
 
go.mod
go.mod
 
 
main.go
main.go
 
 
monitor.go
monitor.go
 
 

Repository files navigation

Stackryze Edge Agent

A lightweight monitoring agent you run on your own compute (a VM, container, or Kubernetes) in the regions you care about. It measures DNS resolution latency and target reachability for your Stackryze zones from that vantage point, then pushes only aggregated metrics to the Stackryze control plane. The analysis UI lives in the Stackryze dashboard (dns.stackryze.com).

your region (VM / pod)
        │
   stackryze-edge  ──resolve + dial──►  your zones' records
        │  aggregates locally (latency p50/p95, success %, targets up/down)
        ▼  Bearer token
   api-dns.stackryze.com/api/edge/metrics
        │
        ▼
   Stackryze dashboard → Edge monitoring

No raw queries ever leave your infrastructure — only per-window aggregates. Runs entirely on your compute, so it never touches Stackryze's serving path.

Configuration (env)

Variable Required Default Description
STACKRYZE_API_TOKEN yes — Token with write scope (Settings → API tokens)
STACKRYZE_API_URL no https://api-dns.stackryze.com/api API base
STACKRYZE_EDGE_REGION no default Vantage-point label shown in the UI (e.g. mumbai)
STACKRYZE_EDGE_AGENT_ID no <region>-<hostname> Stable agent identifier
STACKRYZE_EDGE_INTERVAL no 60 Seconds between cycles (min 15)
STACKRYZE_EDGE_ZONES no (all your zones) Comma list to monitor; empty = auto-discover
STACKRYZE_EDGE_RESOLVERS no 8.8.8.8,1.1.1.1,9.9.9.9 Resolver IPs to test against

Run

STACKRYZE_API_TOKEN=sk_dns_xxx \
STACKRYZE_EDGE_REGION=mumbai \
./stackryze-edge

Docker

docker run -d --name stackryze-edge \
  -e STACKRYZE_API_TOKEN=sk_dns_xxx \
  -e STACKRYZE_EDGE_REGION=mumbai \
  ghcr.io/stackryze/stackryze-edge:latest

Kubernetes (one agent per region)

apiVersion: apps/v1
kind: Deployment
metadata:
  name: stackryze-edge
spec:
  replicas: 1
  selector:
    matchLabels: { app: stackryze-edge }
  template:
    metadata:
      labels: { app: stackryze-edge }
    spec:
      containers:
        - name: agent
          image: ghcr.io/stackryze/stackryze-edge:latest
          env:
            - name: STACKRYZE_EDGE_REGION
              value: mumbai
            - name: STACKRYZE_API_TOKEN
              valueFrom:
                secretKeyRef: { name: stackryze-dns, key: token }

What it measures

Per zone, per cycle:

  • Resolution latency (p50/p95) resolving the apex across the configured resolvers.
  • Success rate of those lookups.
  • Target reachability — dials each resolved IP on :443 (up/down counts).

Build

Requires Go 1.22+. Pure standard library, no external dependencies.

go build -o stackryze-edge .

About

No description, website, or topics provided.

Resources

Readme
Activity
Custom properties

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.