You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-28Lines changed: 13 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# keepup
2
2
3
-
A lightweight Prometheus exporter that collects infrastructure inventory pushed by remote agents - OS releases, package versions (with end-of-life enrichment), and Kubernetes/Helm deployments - and exposes it as metrics.
3
+
A lightweight Prometheus exporter that collects infrastructure inventory pushed by remote agents - package versions (with end-of-life enrichment) and Kubernetes/Helm deployments - and exposes it as metrics.
4
4
5
5
`keepup` holds no state of its own: Redis is both the write buffer and the read source. Agents `PUT` JSON, `keepup` validates and stores it with a TTL, and Prometheus scrapes `/metrics` on demand.
6
6
@@ -10,7 +10,6 @@ A lightweight Prometheus exporter that collects infrastructure inventory pushed
10
10
-[Quick start](#quick-start)
11
11
-[Configuration](#configuration)
12
12
-[API](#api)
13
-
-[`PUT /os-release`](#put-os-release)
14
13
-[`PUT /package-version`](#put-package-version)
15
14
-[`PUT /helm-cluster`](#put-helm-cluster)
16
15
-[Metrics](#metrics)
@@ -22,18 +21,16 @@ A lightweight Prometheus exporter that collects infrastructure inventory pushed
22
21
23
22
```
24
23
agent(s) keepup Prometheus
25
-
┌─────────┐ PUT + token ┌───────────────────┐ scrape ┌────────────┐
There are no unit tests - only an end-to-end shell script that exercises all three endpoints against a running server:
123
+
Unit tests cover the handler package against an in-process fake Redis ([`miniredis`](https://github.com/alicebob/miniredis)) - no external services required:
124
+
125
+
```bash
126
+
go test ./...
127
+
```
128
+
129
+
An end-to-end shell script also exercises both endpoints against a running server:
0 commit comments