Online Retailer using DDD
Reading materials
- https://www.inanzzz.com/index.php/post/2qdl/event-listener-and-dispatcher-example-with-golang
- https://christiangiacomi.com/posts/unit-of-work-in-go/
- https://dev.to/gretro/unit-of-work-pattern-in-go-i6l
- https://stephenafamo.com/blog/posts/implementing-an-event-driven-system-in-go
Logging
- https://pkg.go.dev/github.com/hertz-contrib/obs-opentelemetry/logging/zerolog
- https://blog.mi.hdm-stuttgart.de/index.php/2024/02/29/combining-zerolog-loki/
- https://github.com/hertz-contrib/obs-opentelemetry
- https://github.com/agoda-com/opentelemetry-logs-go
- https://betterstack.com/community/guides/logging/zerolog/#centralizing-and-monitoring-your-logs
- https://www.elastic.co/guide/en/ecs-logging/go-zerolog/current/intro.html
- https://github.com/rs/zerolog
- https://github.com/grafana/loki
- https://betterstack.com/community/comparisons/open-source-log-managament/
- https://betterstack.com/community/guides/logging/best-golang-logging-libraries/
- https://dwarvesf.hashnode.dev/go-1-21-release-slog-with-benchmarks-zerolog-and-zap
- https://github.com/phuslu/log
Loki
Open Telemetry
- https://opentelemetry.io/docs/languages/go/
- https://opentelemetry.io/docs/languages/go/instrumentation/
- https://opentelemetry.io/docs/languages/go/exporters/
- https://opentelemetry.io/docs/languages/go/getting-started/
- https://github.com/open-telemetry/opentelemetry-go
- https://opentelemetry.io/docs/languages/go/exporters/
- https://github.com/open-telemetry/opentelemetry-go/tree/main/example
- https://www.youtube.com/watch?v=ZIN7H00ulQw
Prometheus
- https://prometheus.io/docs/guides/go-application/
- https://github.com/prometheus/client_golang
- https://prometheus.io/docs/tutorials/instrumenting_http_server_in_go/
- https://github.com/open-telemetry/opentelemetry-go/blob/main/example/prometheus/main.go
- https://dev.to/eminetto/using-prometheus-to-collect-metrics-from-golang-applications-35gc
- https://www.oreilly.com/library/view/prometheus-up/9781098131135/
- https://mxulises.medium.com/simple-prometheus-setup-on-docker-compose-f702d5f98579
- https://github.com/mx-ulises/puar-golang/blob/main/ch2/docker-compose.yaml
- https://github.com/vegasbrianc/prometheus/blob/master/docker-compose.yml
- https://github.com/deanwilson/docker-compose-prometheus
- https://www.youtube.com/watch?v=WUBjlJzI2a0
- https://www.youtube.com/watch?v=LKBl6lN6ENk
- https://www.youtube.com/watch?v=h4Sl21AKiDg
Sentry
- https://gist.github.com/asdine/f821abe6189a04250ae61b77a3048bd9
- https://blog.sentry.io/logging-go-errors/
- https://github.com/getsentry/sentry-go
- https://docs.sentry.io/platforms/go/
SigNoz
- https://signoz.io/blog/monitoring-your-go-application-with-signoz/
- https://github.com/SigNoz/sample-golang-app/blob/master/metrics/metrics.go
- https://signoz.io/docs/instrumentation/golang/
- https://signoz.io/blog/elk-alternative-open-source/
Monitoring
Web (Fiber)
JWT & Authorization