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

Add a new optional graph description #264

Merged
merged 2 commits into from
Feb 15, 2025
Merged

Add a new optional graph description #264

merged 2 commits into from
Feb 15, 2025

Conversation

rjuju
Copy link
Member

@rjuju rjuju commented Feb 9, 2025

Graph() accepts a new optional "desc" parameter. If provided, it will be included in the hover help before the per-metric description.

As an example, the "Backend age" graphs now mention that autovacuum worker are included in the graph as this should be modified soon.

Graph() accepts a new optional "desc" parameter.  If provided, it will be
included in the hover help before the per-metric description.

As an example, the "Backend age" graphs now mention that autovacuum worker are
included in the graph as this should be modified soon.
@pgiraud
Copy link
Member

pgiraud commented Feb 10, 2025

What do you think about this layout?

Screenshot from 2025-02-10 09-05-07

@rjuju
Copy link
Member Author

rjuju commented Feb 14, 2025

I'm fine with it. Do you want to apply extra change on this PR? I'm also interested in a review of the changes themselves outside of what CSS style to apply. I literally know nothing about the new dependencies so I just made random changes until it looked like it worked.

@pgiraud
Copy link
Member

pgiraud commented Feb 15, 2025

I just added a fixup commit. Please squash commits and merge if it suits you.

@rjuju
Copy link
Member Author

rjuju commented Feb 15, 2025

Thanks!

@rjuju rjuju merged commit 5b4b135 into master Feb 15, 2025
2 checks passed
@rjuju rjuju deleted the graph_desc branch February 15, 2025 23:59
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.

2 participants