Skip to content

Quality sprint: consolidate datasources, user-service metrics, sim client coverage#154

Merged
kenahrens merged 3 commits into
masterfrom
fix/quality-sprint-s12002
Jun 10, 2026
Merged

Quality sprint: consolidate datasources, user-service metrics, sim client coverage#154
kenahrens merged 3 commits into
masterfrom
fix/quality-sprint-s12002

Conversation

@kenahrens

Copy link
Copy Markdown
Member

Problem

Demo has several observability gaps: duplicate Prometheus datasources confuse the Grafana UI, user-service has no metrics endpoint (Prometheus scrape silently fails), and the sim client only exercises 12 of 15 available API endpoints.

Solution

  • Remove duplicate "Prometheus (App)" datasource — both UIDs pointed to the same instance
  • Add prometheus-net to user-service so /actuator/prometheus serves real metrics
  • Remove user-service from Spring Boot dashboard template variables (different metric naming)
  • Sim client now calls getAccountById, getAccountTransactions, and getTransaction

Part of S-12002.

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

kenahrens and others added 3 commits June 10, 2026 16:10
…sim client coverage

Remove duplicate "Prometheus (App)" datasource — both pointed to the same
Prometheus instance. All dashboards now use uid "prometheus". Remove user-service
from Spring Boot metric template variables since it emits prometheus-net metrics
(different naming convention). Add prometheus-net to user-service so /actuator/prometheus
actually serves metrics. Expand sim client to exercise getAccountById,
getAccountTransactions, and getTransaction endpoints.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ck endpoints

Exercise 5 previously uncovered endpoints: POST deposit/withdraw/transfer
(dedicated variants), GET check-username, GET check-email. New users check
availability before registering. 30% of transactions use the dedicated
endpoint instead of the generic create path.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Error Rate by Service chart and Errors by Endpoint table now link to
Jaeger Explore filtered by service name with error=true tag. Supports
the demo flow: see error spike → click service → view traces.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kenahrens kenahrens merged commit 9dd05b6 into master Jun 10, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant