Commit graph

13 commits

Author SHA1 Message Date
febux
85db70887d Fix Vector config and OpenObserve auth for live E2E verification
Ticket 10 verification surfaced runtime issues that static validation
missed; all verified against running Docker stack (Vector 0.43 + OO 0.92.2):

- Rewrite VRL for Vector 0.43: no coalesce/default funcs, merge!/replace!
  for guarded fallible calls, no two-value parse_json destructuring
- Quote env-interpolated sink credentials (empty env left a bare YAML null)
- Fix logs sink URI: OO needs /api/{org}/{stream}/_json (stream segment
  was missing, causing 404); logs now land in contract_check stream
- Replace OPENOBSERVE_AUTH_TOKEN with root email/password Basic auth:
  prometheus_remote_write ignores request.headers, so remote-write got 401
- Update .env.example, DEPLOY.md, ARCHITECTURE.md, ticket 05 accordingly

Verified live: logs with service + correlation_id searchable in
OpenObserve; contract_check_* metrics queryable via its Prometheus API;
no outbound port 4318 connections from app containers.
2026-09-06 19:41:04 +03:00
febux
b279d6c61a Switch observability to passive collection: remove OTLP push, Vector replaces otel-collector
- core/telemetry.py is now a no-op (no opentelemetry imports); entrypoints
  no longer call setup/shutdown telemetry
- Remove all opentelemetry-* deps from pyproject groups; regenerate uv.lock
- Drop otel_exporter_otlp_endpoint/otel_service_name settings; sentry and
  auth use "contract-check" instead
- Stop publishing worker metrics ports; bind API metrics to 127.0.0.1 by
  default via API_METRICS_BIND_HOST
- Replace otel-collector with Vector in observer profile (docker_logs +
  prometheus_scrape -> OpenObserve); add deploy/observability/vector-config.yaml
- Update .env.example, docs (ARCHITECTURE, DEPLOY), README, Makefile
- Rewrite tests/unit/test_telemetry.py for the no-op implementation
2026-09-06 19:17:08 +03:00
febux
a1e119ce6e M1: bot webhook delivery - secret-token aiohttp server, /healthz, mode switch, TLS-edge routing (#001, #002) 2026-09-06 14:53:22 +03:00
febux
8da39ebae1 Bot setup was fixed with service profile and update docs. 2026-09-05 00:25:25 +03:00
febux
b45274e01b TG bot was separated as service with envs. 2026-09-05 00:08:26 +03:00
febux
1dee1ef0c4 OTEL collector service was configured. 2026-09-04 00:45:31 +03:00
febux
1e051f3730 Grafana stack was added. Update docs. 2026-09-02 23:32:47 +03:00
febux
f25bedad7c User profile with billing base was added. 2026-08-25 20:52:50 +03:00
febux
c70ac6e310 certbot init without certificates was fixed. 2026-08-21 18:47:00 +03:00
febux
49d3242987 Nginx template was added. Update docs. 2026-08-17 22:07:09 +03:00
febux
3828b46985 Admin panel was added. TG bot commands were extended. 2026-08-14 00:30:39 +03:00
febux
8265c62fa9 Pre-commit and Github workflows were added. 2026-08-12 21:41:31 +03:00
febux
5073d89033 Init commit 2026-08-12 21:29:36 +03:00