Skip to content

Conversation

bhandras
Copy link
Member

This commit changes how we collect limbo balances to calculate summaries instead of separate series by channel, peer, status etc. Having just the summaries makes it possible to correctly select the last known total value which was previously not feasible when summarizing over longer periods due to values with channel/peer specific labels getting "stuck".

This commit changes how we collect limbo balances to calculate summaries
instead of separate series by channel, peer, status etc. Having just the
summaries makes it possible to correctly select the last known total
value which was previously not feasible when summarizing over longer
periods due to values with channel/peer specific labels getting "stuck".
@bhandras bhandras requested a review from guggero February 17, 2023 19:14
Copy link
Contributor

@guggero guggero left a comment

Choose a reason for hiding this comment

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

LGTM 🎉

tools/Dockerfile Outdated
&& go install -trimpath -tags=tools github.com/golangci/golangci-lint/cmd/golangci-lint \
&& chmod -R 777 /tmp/build/
&& chmod -R 777 /tmp/build/ \
&& git config --global --add safe.directory /build
Copy link
Contributor

Choose a reason for hiding this comment

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

We found the actual problem for the linter error (a Golang bug) and a fix that allows us to determine more easily if it's fixed in a future version. See https://github.com/lightninglabs/pool/blob/master/tools/Dockerfile#L6.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks, sound much better.

@bhandras bhandras force-pushed the limbo-balance-summary branch from 0727052 to 1aac677 Compare February 20, 2023 08:01
@bhandras bhandras merged commit 777eafa into lightninglabs:master Feb 20, 2023
@bhandras bhandras deleted the limbo-balance-summary branch February 20, 2023 08:06
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