alpha
Login
or
Join now
xeiaso.net
/
objgit
Star
10
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Git backed by object storage because you can't stop me
git
object-storage
kefka
Star
10
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
objgit
/
docs
/
at
32a717eebb802cf902a7faf96f87005695edf5fb
3 folders
Xe Iaso
feat(metrics): add Prometheus instrumentation and a /metrics endpoint
7w ago
a300ea49
plans
feat(metrics): add Prometheus instrumentation and a /metrics endpoint Instrument the three things an operator needs to see and serve them on a dedicated listener (-metrics-bind, default :9090; empty disables): - s3fs: count + latency per S3 API operation (GetObject, PutObject, …) via a process-level observer set with s3fs.SetMetricsObserver, keeping s3fs free of any prometheus import. - git ops: count + latency + in-flight gauge per protocol+service+status, wrapped once per transport handler (http/git/ssh). - auth: count + latency per transport+operation+decision, routed through a new (*daemon).authorize chokepoint that all three transports now call. Extras: push-hook runs (ok/error/timeout) with latency, repos auto-created counter, and the default registry's Go-runtime + process collectors. Per the operator's call there is no repo label (unbounded cardinality); git ops are keyed by protocol+service+status only. All vectors live in internal/metrics via promauto on the default registry, exposed by promhttp.Handler under the existing errgroup Serve/Shutdown idiom.
1 month ago
reference
feat(s3fs): add optional Unix-metadata storage as S3 user metadata Store POSIX file attributes (uid, gid, mode, mtime) as x-amz-meta-* headers on S3 objects so POSIX filesystems layered on Tigris can round-trip ownership and permissions instead of always reporting mode 0666 with no owner. The feature is opt-in and off by default: NewS3FS takes functional options, and without WithUnixMetadata the filesystem behaves exactly as before. Callers opt in by passing WithUnixMetadata(uid, gid, umask) and resolve any name strings to numeric IDs themselves. New unixmeta package implements Encode/Decode and PosixMode/GoFileMode conversion; the wire format is documented in docs/reference. Assisted-by: Claude Opus 4.7 via Claude Code Signed-off-by: Xe Iaso <me@xeiaso.net>
1 month ago
usage
test(http): tidy parity-test literals and stale comment
1 month ago