Repository navigation
feat(backend): JWT authentication, gas monitoring, and log aggregation - #1430
Merged
joelpeace48-cell merged 1 commit intoOct 20, 2026
Merged
joelpeace48-cell merged 1 commit into
joelpeace48-cell merged 1 commit into
Conversation
Implements four backend features for improved security, observability, and monitoring: 1. JWT Authentication Service for Operator Portal (FinesseStudioLab#1253) - JWT token creation with 15-min access, 7-day refresh token - HTTP-only cookie-based refresh token rotation - Middleware for protected routes - New endpoints: POST /operator/login|refresh|logout, GET /operator/profile 2. OpenTelemetry Tracing Instrumentation (FinesseStudioLab#1265) - Already implemented in tracing.js, integrated into startup - HTTP, Express, and custom span instrumentation - OTLP exporter for Jaeger/Zipkin - W3C Trace Context propagation 3. On-Chain Transaction Gas Cost Monitoring Worker (FinesseStudioLab#1266) - Record and aggregate XLM gas fees by contract/method - Database schema with SQLite/PostgreSQL support - Configurable retention and aggregation periods - Tracing integration for observability 4. Centralized Log Aggregation with Loki/Promtail (FinesseStudioLab#1346) - Docker Compose stack with Loki, Promtail, Grafana - Fire-and-forget log push middleware - Query and statistics endpoints - Health check monitoring All implementations use minimal viable functionality as requested.
|
@Jayy4rl Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
| /** | ||
| * GET /operator/profile - Get operator profile (protected) | ||
| */ | ||
| app.get('/operator/profile', jwtMiddleware, (req, res) => { |
joelpeace48-cell
merged commit Oct 20, 2026
75abe8d
into
FinesseStudioLab:main
8 of 27 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements four backend features for improved security, observability, and monitoring:
JWT Authentication Service for Operator Portal (Closes feat(backend): JWT authentication service for operator portal with refresh token rotation #1253)
OpenTelemetry Tracing Instrumentation (Closes feat(backend): Add OpenTelemetry tracing instrumentation across HTTP routes #1265)
On-Chain Transaction Gas Cost Monitoring Worker (Closes feat(backend): On-chain transaction gas cost monitoring worker #1266)
Centralized Log Aggregation with Loki/Promtail (Closes infra(logs): Centralized log aggregation with Loki and Promtail #1346)
All implementations use minimal viable functionality as requested.