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 9 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.39%. Comparing base (d03581e) to head (e283640).

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.37%   63.39%   +0.01%     
==========================================
  Files         566      566              
  Lines       79490    79465      -25     
==========================================
- Hits        50374    50373       -1     
+ Misses      25727    25702      -25     
- Partials     3389     3390       +1     
Flag Coverage Δ
contribs/gnodev 60.57% <ø> (ø)
contribs/gnofaucet 14.82% <ø> (ø)
gno.land 67.60% <ø> (+0.22%) ⬆️
gnovm 67.87% <ø> (ø)
misc/genstd 79.72% <ø> (ø)
tm2 62.41% <0.00%> (+0.03%) ⬆️

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.

return res
}

// logQueryTelemetry logs the relevant VM query telemetry
func logQueryTelemetry(path string, isErr bool) {
Copy link
Member

Choose a reason for hiding this comment

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

why remove this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We removed that with @zivkovicmilos because so far we find out that collecting VM low-level info are not relevant in terms of telemetry.

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: Triage
Development

Successfully merging this pull request may close these issues.

2 participants