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

chore(otel): Open Telemetry metrics fixed and provided with demo example #3038

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

sw360cab
Copy link
Contributor

  • Redefine and cleanup Open Telemetry metrics types and usage
  • Rehauled demo example adding a minimal sample of RCP + Validator Node

@github-actions github-actions bot added 📦 🌐 tendermint v2 Issues or PRs tm2 related 📦 ⛰️ gno.land Issues or PRs gno.land package related labels Oct 28, 2024
Copy link

codecov bot commented Oct 28, 2024

Codecov Report

Attention: Patch coverage is 0% with 9 lines in your changes missing coverage. Please review.

Project coverage is 63.34%. Comparing base (2173b49) to head (7cd1546).

Files with missing lines Patch % Lines
tm2/pkg/telemetry/metrics/metrics.go 0.00% 9 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3038      +/-   ##
==========================================
- Coverage   63.34%   63.34%   -0.01%     
==========================================
  Files         548      548              
  Lines       78646    78621      -25     
==========================================
- Hits        49817    49801      -16     
+ Misses      25467    25458       -9     
  Partials     3362     3362              
Flag Coverage Δ
contribs/gnodev 61.11% <ø> (+0.62%) ⬆️
contribs/gnofaucet 15.77% <ø> (+0.94%) ⬆️
gno.land 67.33% <ø> (+0.14%) ⬆️
gnovm 67.88% <ø> (ø)
misc/genstd 79.72% <ø> (ø)
tm2 62.40% <0.00%> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@thehowl thehowl left a comment

Choose a reason for hiding this comment

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

LGTM for the tm2/gno.land part, haven't reviewed misc/telemetry.

gno.land/pkg/sdk/vm/handler.go Show resolved Hide resolved
@thehowl
Copy link
Member

thehowl commented Nov 6, 2024

maybe @zivkovicmilos can take a second look / merge.

@zivkovicmilos zivkovicmilos self-requested a review November 6, 2024 17:50
Copy link
Member

@zivkovicmilos zivkovicmilos left a comment

Choose a reason for hiding this comment

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

Looks good 💯

misc/telemetry/docker-compose.yml Show resolved Hide resolved
Comment on lines +51 to +54
gnoland genesis generate
gnoland genesis validator add -name val000 -address $(gnoland secrets get validator_key.address -raw) -pub-key $(gnoland secrets get validator_key.pub_key -raw)
gnoland genesis balances add -balance-sheet /gnoroot/gno.land/genesis/genesis_balances.txt
gnoland genesis txs add packages /gnoroot/examples/gno.land
Copy link
Member

Choose a reason for hiding this comment

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

I was about to merge it, but I guess this needs gnogenesis now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 🌐 tendermint v2 Issues or PRs tm2 related 📦 ⛰️ gno.land Issues or PRs gno.land package related
Projects
Status: In Progress
Status: In Review
Development

Successfully merging this pull request may close these issues.

3 participants