Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Optimize Prometheus queries formatting in block production dashboard #7352

Closed
wants to merge 1 commit into from

Conversation

crStiv
Copy link

@crStiv crStiv commented Jan 10, 2025

This PR improves the readability and efficiency of the Lodestar block production dashboard by:

  • Optimizing Prometheus query formatting by removing unnecessary line breaks between operators
  • Standardizing tooltip modes across panels for better UX consistency
  • Adding missing pluginVersion fields for better version control
  • Improving query readability by using consistent formatting patterns

These changes make the dashboard configuration more maintainable and slightly more efficient without affecting the actual functionality.

Technical changes:

  • Removed \n characters between rate() operators
  • Standardized tooltip mode to "multi" where applicable
  • Added missing pluginVersion fields
  • Optimized query formatting for better readability

No functional changes were made to the metrics or visualization logic.

@crStiv crStiv requested a review from a team as a code owner January 10, 2025 22:55
@CLAassistant
Copy link

CLAassistant commented Jan 10, 2025

CLA assistant check
All committers have signed the CLA.

@nflaig
Copy link
Member

nflaig commented Jan 11, 2025

the line breaks are added to improve readability when editing the panels in grafana

@nflaig nflaig closed this Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants