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

analyzer/runtime: limit total_{received,sent} to native denomination #679

Merged
merged 1 commit into from
Mar 30, 2024

Conversation

mitjat
Copy link
Contributor

@mitjat mitjat commented Mar 27, 2024

pontusx is the first runtime where this makes a difference because it uses two separate SDK denominations. Before this PR, their stats got conflated in the total_received and total_sent metrics (i.e. the metric was a sum of the two SDK tokens, EUROe and TEST).

This PR is a no-op for other existing runtimes because the only SDK denomination they use is the native denomination.

@mitjat mitjat changed the title WIP: mitjat/total-received-native-only2; created to obtain a PR number analyzer/runtime: limit total_{received,sent} to native denomination Mar 27, 2024
@mitjat mitjat force-pushed the mitjat/total-received-native-only2 branch 3 times, most recently from a6ee31c to 45189e2 Compare March 28, 2024 05:30
@mitjat mitjat marked this pull request as ready for review March 28, 2024 05:31
@mitjat mitjat force-pushed the mitjat/total-received-native-only2 branch 3 times, most recently from 2594c86 to 757f0e3 Compare March 28, 2024 23:17
@@ -14,7 +14,7 @@ staged_fragments="$(git diff --cached --name-only -- .changelog/*.md)"
# Re-wraps file $1 to 80 characters per line, using prettier, in-place.
rewrap() {
# Suppress the output of prettier, as it's overly verbose. Show only on errors.
prettier --no-config --no-editorconfig --prose-wrap always --print-width 80 --write "$f" >/tmp/prettier.out \
prettier --no-config --no-editorconfig --prose-wrap always --print-width 78 --write "$f" >/tmp/prettier.out \
Copy link
Contributor Author

Choose a reason for hiding this comment

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

unrelated, brings the autoformatter in line with the linter config

@mitjat mitjat force-pushed the mitjat/total-received-native-only2 branch from 757f0e3 to 22006dd Compare March 30, 2024 03:19
@mitjat mitjat enabled auto-merge March 30, 2024 03:19
@mitjat mitjat merged commit 261dc90 into main Mar 30, 2024
14 checks passed
@mitjat mitjat deleted the mitjat/total-received-native-only2 branch March 30, 2024 03:24
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