Skip to content

Commit dc9f68e

Browse files
obs task
1 parent 8f306c2 commit dc9f68e

File tree

3 files changed

+20
-23
lines changed

3 files changed

+20
-23
lines changed

README.md

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -21,25 +21,16 @@ This project uses [Task](https://taskfile.dev/) to common development workflows,
2121
task local:setup
2222
task local:start
2323

24-
🧊 Tilt UI: http://localhost:10350
25-
🔧 Items Service: http://localhost:8081
26-
- Health: http://localhost:8081/v1/health
27-
- API Docs: http://localhost:8081/docs
28-
- Metrics: http://localhost:8081/metrics
29-
🌐 Website App: http://localhost:8082
30-
- Health: http://localhost:8082/health
31-
👁️ Headlamp (Read-Only): http://localhost:8084
32-
📊 Jaeger UI: http://localhost:16686
33-
📦 PostgreSQL: localhost:5432
24+
Tilt UI: http://localhost:10350
25+
26+
Jaeger UI: http://localhost:16686
27+
PostgreSQL: localhost:5432
3428
- Connection: psql postgresql://{.env.POSTGRES_USER}:{.env.POSTGRES_PASSWORD}@localhost:5432/
3529
```
3630

37-
## Production URLs
31+
## Production Links
3832

3933
- **Website**: https://roussev.com
40-
- **Headlamp (Read-Only)**: https://kube.roussev.com
41-
- **Items API**: https://app.roussev.com/items
42-
- Health: https://app.roussev.com/items/v1/health
43-
- Docs: https://app.roussev.com/items/docs
44-
- Metrics: https://app.roussev.com/items/metrics
45-
- **Jaeger Tracing**: https://app.roussev.com/jaeger
34+
- **Monitoring and services**: https://app.roussev.com/
35+
- **Items service**: https://app.roussev.com/items/docs
36+
- **Semantic Cache service**: https://app.roussev.com/semcache/docs

Taskfile.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ tasks:
7070
cmds:
7171
- bun install && bun run dev
7272

73+
dev:observability-app:
74+
dir: apps/observability-app
75+
cmds:
76+
- http-server
77+
7378
dev:semcache-service:
7479
desc: Run semcache-service locally with Air + K8s PostgreSQL (auto port-forwards)
7580
dir: apps/semcache-service

apps/observability-app/public/index.html

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@
9595
<a href="https://roussev.com">/root</a>
9696
</div>
9797

98+
<h2>Tools</h2>
9899
<article class="profile-content">
99-
<h1>Observability</h1>
100100

101-
<p>This is an Observability experiment using Bun, Postgre, OpenTelemetry and even more cool tech below 👇</p>
101+
<p><strong>Observability</strong> experiments using Bun, Postgre, OpenTelemetry and more 👇</p>
102102

103103
<p>
104104
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/grafana/grafana-original.svg" class="link-icon" alt="Grafana">
@@ -131,7 +131,7 @@ <h1>Observability</h1>
131131
<path d="M10.9 2.1l-7.2 4.2v8.4l7.2 4.2 7.2-4.2V6.3L10.9 2.1zm5.5 11.8l-5.5 3.2-5.5-3.2V7.5l5.5-3.2 5.5 3.2v6.4z" fill="#326CE5"/>
132132
<circle cx="10.9" cy="10.9" r="2.5" fill="#326CE5"/>
133133
</svg>
134-
<a href="https://kube.roussev.com" target="_blank">Headlamp</a> - k8s UI (copy token 👉 for login)
134+
<a href="https://kube.roussev.com" target="_blank">Headlamp</a> - copy token 👉 for login
135135
<span class="token-box">
136136
<input
137137
type="text"
@@ -140,14 +140,15 @@ <h1>Observability</h1>
140140
value="eyJhbGciOiJSUzI1NiIsImtpZCI6IkYwNnVfdXZvVDdvbHhYZnVrTGhHLWg1ZEhZN1hoMHNCczEyWjBOUm5GU1EifQ.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJrdWJlLXN5c3RlbSIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VjcmV0Lm5hbWUiOiJoZWFkbGFtcC1yZWFkb25seSIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJoZWFkbGFtcC1yZWFkb25seSIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50LnVpZCI6ImE0ZDg0ZGU4LWRmNTctNDg2ZC1hZjJkLWYyZTlhYTkxMGFlNiIsInN1YiI6InN5c3RlbTpzZXJ2aWNlYWNjb3VudDprdWJlLXN5c3RlbTpoZWFkbGFtcC1yZWFkb25seSJ9.Sr1CZT5gAXBtT6ERnbTEPsvuUxuhQ9HtqqykIHpnoWoSNSU363p4Hs4FJGQorEgen8ne0hH_cOOIhthy7djqFxN16ctHGEpzmGPmooOswK5fA0pSKBC6NWyfxiTjmvJVar6W7K7-unX7rIp6uPLI0ULZmPwqBx7ZgAbEbhBmNC0bxUFi2W7EqttRRhIeWcFIdfr9ww5M-1LJOLCb9Usnz6pPhW8QAIhZZ2looXEWT5zclRQc0JpkWpzWpoyG0pB2HRVMl-xlGytz1QMpD4kHuBC3gAcr5pZUco0DUIgpm8_7_yNuQ7mc9WWCJC8mEwaos1352a2cE_DwsOdhMdSIXQ"
141141
readonly
142142
/>
143-
<button class="copy-btn" onclick="copyToken()">Copy</button>
143+
<button class="copy-btn" onclick="copyToken()">Copy</button> <i>(read only access)</i>
144144
</span>
145145
</p>
146146

147-
<p><strong>Swagger docs:</strong></p>
147+
<p><strong>Items service:</strong></p>
148148
<p>
149149
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/swagger/swagger-original.svg" class="link-icon" alt="Swagger">
150-
<a href="/items/docs" target="_blank">Open API</a> of the monitored service
150+
<a href="/items/docs" target="_blank">Open API</a>,
151+
<a href="/items/v1/health" target="_blank">/health</a>
151152
</p>
152153

153154
<div class="architecture-diagram">

0 commit comments

Comments
 (0)