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

feat: new metrics - deployment dashboard #2464

Merged
merged 19 commits into from
Jul 26, 2023
Merged

feat: new metrics - deployment dashboard #2464

merged 19 commits into from
Jul 26, 2023

Conversation

tty47
Copy link
Contributor

@tty47 tty47 commented Jul 12, 2023

hello team!

I've added these changes to the code to expose some new metrics via Prometheus client to create the deployment dashboard in Grafana, this new dashboard will include info related to the chains, such as branches/tags, number of nodes, URLs, etc...
I'm using the values generated by the ldflags

The dashboard will look like this:

Screenshot 2023-07-12 at 13 07 12

Pending adding the consensus info, it will contain more info

Please, check the code and let me know if you find something to improve, I'll gladly do it 😊

Thanks in advance! 🚀

Jose Ramon Mañes

closes: https://github.com/celestiaorg/devops/issues/401

tty47 added 9 commits July 10, 2023 14:59
Signed-off-by: Jose Ramon Mañes <jose@celestia.org>
Signed-off-by: Jose Ramon Mañes <jose@celestia.org>
Signed-off-by: Jose Ramon Mañes <jose@celestia.org>
Signed-off-by: Jose Ramon Mañes <jose@celestia.org>
Signed-off-by: Jose Ramon Mañes <jose@celestia.org>
Signed-off-by: Jose Ramon Mañes <jose@celestia.org>
Signed-off-by: Jose Ramon Mañes <jose@celestia.org>
Signed-off-by: Jose Ramon Mañes <jose@celestia.org>
Signed-off-by: Jose Ramon Mañes <jose@celestia.org>
@tty47 tty47 requested review from sysrex, Bidon15 and smuu July 12, 2023 11:15
@tty47 tty47 self-assigned this Jul 12, 2023
@github-actions github-actions bot added the external Issues created by non node team members label Jul 12, 2023
@tty47 tty47 added enhancement New feature or request area:metrics Related to measuring/collecting node metrics and removed external Issues created by non node team members labels Jul 12, 2023
Signed-off-by: Jose Ramon Mañes <jose@celestia.org>
@codecov-commenter
Copy link

codecov-commenter commented Jul 12, 2023

Codecov Report

Merging #2464 (095b7a6) into main (8a06f31) will increase coverage by 0.06%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2464      +/-   ##
==========================================
+ Coverage   52.48%   52.54%   +0.06%     
==========================================
  Files         156      156              
  Lines        9995     9995              
==========================================
+ Hits         5246     5252       +6     
+ Misses       4283     4278       -5     
+ Partials      466      465       -1     

see 6 files with indirect coverage changes

tty47 and others added 4 commits July 14, 2023 11:07
Signed-off-by: Jose Ramon Mañes <jose@celestia.org>
Signed-off-by: Jose Ramon Mañes <jose@celestia.org>
Signed-off-by: Jose Ramon Mañes <jose@celestia.org>
Signed-off-by: Jose Ramon Mañes <jose@celestia.org>
@Bidon15
Copy link
Member

Bidon15 commented Jul 17, 2023

@jrmanes please add kind:misc so the label checker CI passes 🙏

@tty47 tty47 added the kind:misc Attached to miscellaneous PRs label Jul 17, 2023
Signed-off-by: Jose Ramon Mañes <jose@celestia.org>
Copy link
Member

@walldiss walldiss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@tty47 tty47 requested review from walldiss and Bidon15 July 18, 2023 10:18
Copy link
Member

@Bidon15 Bidon15 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. 🪨

@Bidon15
Copy link
Member

Bidon15 commented Jul 18, 2023

@jrmanes please rebase 🙏

@Wondertan Wondertan merged commit 6a7275d into celestiaorg:main Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:metrics Related to measuring/collecting node metrics enhancement New feature or request kind:misc Attached to miscellaneous PRs
Projects
Development

Successfully merging this pull request may close these issues.

5 participants