Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ secrets/
__pycache__/
*.pyc
*.pyo
.worktrees/*
!.worktrees/.gitkeep
Empty file added .worktrees/.gitkeep
Empty file.
7 changes: 7 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,13 @@ Optional overrides (not required by `just start`):

- `PROMTAIL_HOST_LABEL` — overrides the `host` label Promtail attaches to log
streams. Defaults to the container's `$HOSTNAME`.
- `HOSTNAME` — Promtail's `promtail.yml` substitutes `${HOSTNAME:-hermes}` into
the Loki `host` label. The Promtail container inherits `HOSTNAME` from the
`hostname:` field set on the `promtail` service in `docker-compose.yml`. When
deploying on a new host, set `hostname:` in `docker-compose.yml` (or set the
`HOSTNAME` env var explicitly) so each host's logs are distinguishable in
Loki. If unset, Promtail falls back to the container's runtime ID, which
changes on every restart and is not human-readable.
- `CONTAINER_CMD` — runtime used by `scripts/backup.sh` and `scripts/restore.sh`.
Defaults to `docker` (auto-promoted to `podman` if `podman-compose` is on
`$PATH`). Justfile recipes pass `CONTAINER_CMD={{container_cmd}}`
Expand Down
2 changes: 1 addition & 1 deletion pixi.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[project]
[workspace]
name = "project-argus"
version = "0.2.0"
description = "Observability stack for the HomericIntelligence mesh"
Expand Down
3 changes: 2 additions & 1 deletion scripts/import-dashboards.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ fi
for f in "${files[@]}"; do
echo "Importing $(basename "$f") ..."
payload=$(jq -n --slurpfile dash "$f" '{"dashboard": $dash[0], "overwrite": true, "folderId": 0}')
http_code=$(curl -s -o /tmp/grafana_import_resp.json -w "%{http_code}" \
http_code=$(curl -s --connect-timeout 5 -m 10 \
-o /tmp/grafana_import_resp.json -w "%{http_code}" \
-u "$GRAFANA_AUTH" \
-H "Content-Type: application/json" \
-d "$payload" \
Expand Down
Loading