Prometheus Exporter for Vultr Status
A Prometheus Exporter for Vultr Server Status JSON Endpoints
Metrics
Metrics are prefixed vultr_status_
Name |
Type |
Description |
vultr_exporter_build_info |
Counter |
A metric with a constant '1' value labeled by OS version, Go version, and the Git commit of the exporter |
vultr_exporter_start_time |
Gauge |
Exporter start time in Unix epoch seconds |
vultr_status_infrastructure |
Gauge |
Vultr Infrastructure status |
vultr_status_service_alert |
Counter |
Vultr Service Alerts |
Installation
Go
go install github.com/DazWilkin/vultr-status-exporter@latest
Container
PORT="8080"
podman run \
--interactive --tty \
--publish=${PORT}:${PORT} \
ghcr.io/dazwilkin/vultr-status-exporter:fbe83c8dfc1abdaf8c61635c9affdd6dab92c5b4
Kubernetes
NAMESPACE="exporter"
kubectl create namespace ${NAMESPACE}
# Apply Deployment|Service
kubectl apply \
--filename=./kubernetes.yaml \
--namespace=${NAMESPACE}
# Get Service NodePort
NODE_PORT=$(\
kubectl get service/vultr-status-exporter \
--namespace=${NAMESPACE} \
--output=jsonpath="{.spec.ports[?(@.name==\"metrics\")].nodePort}") && echo ${NODE_PORT}
Browse: localhost:${NODE_PORT}
Sigstore
`vultr-status-exporter`` container images are being signed by Sigstore and may be verified:
cosign verify \
--key=./cosign.pub \
ghcr.io/dazwilkin/vultr-status-exporter:fbe83c8dfc1abdaf8c61635c9affdd6dab92c5b4
NOTE cosign.pub
may be downloaded here
To install cosign
, e.g.:
go install github.com/sigstore/cosign/cmd/cosign@latest
Similar Exporters