[PR #495] [MERGED] feat: OpenTelemetry tracing and metrics (#262) #756

Closed
opened 2025-10-07 00:21:49 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pocket-id/pocket-id/pull/495
Author: @daenney
Created: 4/30/2025
Status: Merged
Merged: 5/5/2025
Merged by: @stonith404

Base: mainHead: otel


📝 Commits (1)

  • ddfddab feat: OpenTelemetry tracing and metrics (#262)

📊 Changes

11 files changed (+293 additions, -43 deletions)

View changed files

📝 Dockerfile (+2 -0)
📝 backend/go.mod (+45 -7)
📝 backend/go.sum (+93 -24)
📝 backend/internal/bootstrap/bootstrap.go (+9 -3)
backend/internal/bootstrap/otel_boostrap.go (+107 -0)
📝 backend/internal/bootstrap/router_bootstrap.go (+5 -0)
📝 backend/internal/bootstrap/services_bootstrap.go (+4 -3)
📝 backend/internal/common/env_config.go (+11 -0)
backend/internal/common/version.go (+6 -0)
📝 backend/internal/service/geolite_service.go (+6 -3)
📝 backend/internal/service/ldap_service.go (+5 -3)

📄 Description

I haven't tested this yet, and the tracing exporter needs some additional work to be configurable so that folks can use the gRPC based exporter as well. But this should be the gist of it.

https://github.com/pocket-id/pocket-id/pull/495#issuecomment-2843412297

Fixes: https://github.com/pocket-id/pocket-id/issues/262


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/pocket-id/pocket-id/pull/495 **Author:** [@daenney](https://github.com/daenney) **Created:** 4/30/2025 **Status:** ✅ Merged **Merged:** 5/5/2025 **Merged by:** [@stonith404](https://github.com/stonith404) **Base:** `main` ← **Head:** `otel` --- ### 📝 Commits (1) - [`ddfddab`](https://github.com/pocket-id/pocket-id/commit/ddfddabd044e192e5e4ca80aa64629a9017fde3f) feat: OpenTelemetry tracing and metrics (#262) ### 📊 Changes **11 files changed** (+293 additions, -43 deletions) <details> <summary>View changed files</summary> 📝 `Dockerfile` (+2 -0) 📝 `backend/go.mod` (+45 -7) 📝 `backend/go.sum` (+93 -24) 📝 `backend/internal/bootstrap/bootstrap.go` (+9 -3) ➕ `backend/internal/bootstrap/otel_boostrap.go` (+107 -0) 📝 `backend/internal/bootstrap/router_bootstrap.go` (+5 -0) 📝 `backend/internal/bootstrap/services_bootstrap.go` (+4 -3) 📝 `backend/internal/common/env_config.go` (+11 -0) ➕ `backend/internal/common/version.go` (+6 -0) 📝 `backend/internal/service/geolite_service.go` (+6 -3) 📝 `backend/internal/service/ldap_service.go` (+5 -3) </details> ### 📄 Description ~~I haven't tested this yet, and the tracing exporter needs some additional work to be configurable so that folks can use the gRPC based exporter as well. But this should be the gist of it.~~ https://github.com/pocket-id/pocket-id/pull/495#issuecomment-2843412297 Fixes: https://github.com/pocket-id/pocket-id/issues/262 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2025-10-07 00:21:49 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id#756