diff --git a/README.md b/README.md index a34e1b0..9d1cfbd 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,9 @@ app/ ## Связанные репозитории - **[app-crewai-cluster](https://github.com/justgithubaccount/app-crewai-cluster)** — CrewAI агенты для инфраструктуры -- **[app-release](https://github.com/justgithubaccount/app-release)** — Helm charts и GitOps манифесты +- **[app-poly-gitops-helm](https://github.com/justgithubaccount/app-poly-gitops-helm)** — Helm-чарт этого сервиса +- **[app-poly-gitops-k8s](https://github.com/justgithubaccount/app-poly-gitops-k8s)** — ArgoCD-манифесты и GitOps +- **[app-mono-gitops](https://github.com/justgithubaccount/app-mono-gitops)** — монорепа, из которой выделен сервис (архив) ## Разработка @@ -125,12 +127,6 @@ GitHub Actions (`.github/workflows/`): - **OpenRouter** (LLM provider) - **uv** (package manager) -## Дополнительно - -Контекст и документация в `misc/`: -- `misc/context/` — справочные материалы -- `misc/README-*.md` — концепция и задачи - ## License MIT diff --git a/app/observability/tracing.py b/app/observability/tracing.py index 123ff2c..19a1123 100644 --- a/app/observability/tracing.py +++ b/app/observability/tracing.py @@ -48,10 +48,11 @@ def setup_tracing(app) -> None: "k8s.pod.uid": os.getenv("K8S_POD_UID", "unknown"), }) - # OTLP endpoint - в production используем collector sidecar + # OTLP endpoint. По умолчанию localhost, чтобы сервис поднимался вне кластера; + # в кластере адрес коллектора приходит через OTEL_EXPORTER_OTLP_ENDPOINT. otlp_endpoint = os.getenv( "OTEL_EXPORTER_OTLP_ENDPOINT", - "http://otel-collector.observability.svc.cluster.local:4318" + "http://localhost:4318" ) # Для HTTP протокола добавляем правильные пути