Merged
Conversation
- Added OpenTelemetry support for metrics collection and monitoring across services. - Implemented Prometheus metrics exporter and configured HTTP handlers for metrics exposure. - Updated Docker Compose to include Prometheus and OpenTelemetry Collector services for observability. - Enhanced middleware to record HTTP metrics, including request counts and durations. - Introduced telemetry context management for better integration with existing services. - Updated service configurations to enable metrics collection and reporting.
- Removed legacy metric implementations in favor of a centralized telemetry package for better consistency. - Updated middleware and handlers to utilize new telemetry metrics for HTTP requests and consumer durations. - Improved error handling and logging for telemetry events, ensuring better observability. - Adjusted service configurations to reflect new metric definitions and enhance monitoring capabilities.
- Introduced a new `PublishedAt` field in the `RequestPayload` struct to track message publication time. - Implemented consumer lag telemetry to measure the time difference between message publication and processing start. - Enhanced tests to validate the handling of the new `PublishedAt` field and its impact on consumer lag metrics. - Updated telemetry metrics to include `PubSubConsumerLagSeconds` for improved observability of processing delays.
…synchronization - Added telemetry metrics for task consumer processing, including total processing, success, and failure counts. - Integrated memory store activity duration tracking to monitor refresh performance. - Updated middleware to utilize new metrics for improved observability of task handling. - Refactored logging to include more detailed context during memory store synchronization.
- Added new Grafana dashboards for backoffice, pubsub, and task services to enhance monitoring capabilities. - Removed legacy dashboard files and replaced them with updated JSON configurations for better performance and usability. - Updated deployment scripts to support the new dashboard structure and ensure proper import into Grafana. - Integrated PostgreSQL exporter for improved metrics collection related to database performance.
- Replaced the publisher data file with specific event payloads for pubsub and task services. - Added new JSON files for pubsub and task event payloads to standardize event data structure. - Created a new task consumer configuration file to define the consumer behavior for the 'payment.charged' event. - Updated simulation scripts to utilize the new event payload files for testing purposes.
- Updated Go toolchain version from 1.25.7 to 1.26.1 in go.mod and CI workflows. - Added a new queries.txt file containing useful PostgreSQL queries for monitoring and performance analysis.
- Introduced a comprehensive metrics manual for gqueue, detailing metrics exposed via OpenTelemetry in Prometheus format. - Documented service-specific metrics endpoints, usage instructions for starting the observability stack, and load simulation commands. - Included a reference section for metrics categorized by service (Backoffice, PubSub, Task) to enhance monitoring and observability.
IsaacDSC
commented
Mar 8, 2026
IsaacDSC
commented
Mar 8, 2026
IsaacDSC
commented
Mar 8, 2026
IsaacDSC
commented
Mar 8, 2026
IsaacDSC
commented
Mar 8, 2026
IsaacDSC
commented
Mar 8, 2026
IsaacDSC
commented
Mar 8, 2026
- Deleted the backup.dashboard.grafana.json file as it was no longer needed. - Removed the queries.txt file containing PostgreSQL queries to streamline the project and eliminate outdated documentation. - Updated related configurations to reflect these deletions and maintain project cleanliness.
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.
Add metrics using otel with collector prometheus
Backoffice Metrics
PubSub Metrics
Task Metrics
More information
Overview