Conversation
Collaborator
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced May 12, 2025
f09c686 to
196f093
Compare
akshaydeo
reviewed
May 13, 2025
Contributor
akshaydeo
left a comment
There was a problem hiding this comment.
as discussed - allow adding custom tags for better slice and dice of the data
…ed_for_http_transport_tracking
Collaborator
Author
yes @akshaydeo I have added support for custom labels |
akshaydeo
approved these changes
May 13, 2025
akshaydeo
added a commit
that referenced
this pull request
Nov 17, 2025
# Add Prometheus Metrics and Docker Container Naming This PR adds Prometheus metrics tracking to the Bifrost HTTP service and improves Docker container configuration. The changes include: 1. Added Prometheus metrics collection for: - HTTP server metrics (request counts, latency, sizes) - Upstream provider metrics (request counts, latency, errors) 2. Implemented a Prometheus plugin that hooks into Bifrost's request lifecycle to track provider-specific metrics. 3. Added Docker Compose configuration for Prometheus and Grafana monitoring stack. 4. Refactored the codebase by moving account and configuration management to a dedicated `lib` package. 5. Updated the Docker run command in the README to include container naming (`--name bifrost-api`), making it easier to reference in monitoring configurations. 6. Improved code documentation with detailed comments explaining the purpose and functionality of each component. These changes enable comprehensive monitoring of the Bifrost API service, providing insights into both HTTP server performance and upstream provider metrics.
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 Prometheus Metrics and Docker Container Naming
This PR adds Prometheus metrics tracking to the Bifrost HTTP service and improves Docker container configuration. The changes include:
Added Prometheus metrics collection for:
Implemented a Prometheus plugin that hooks into Bifrost's request lifecycle to track provider-specific metrics.
Added Docker Compose configuration for Prometheus and Grafana monitoring stack.
Refactored the codebase by moving account and configuration management to a dedicated
libpackage.Updated the Docker run command in the README to include container naming (
--name bifrost-api), making it easier to reference in monitoring configurations.Improved code documentation with detailed comments explaining the purpose and functionality of each component.
These changes enable comprehensive monitoring of the Bifrost API service, providing insights into both HTTP server performance and upstream provider metrics.