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

Measure total number of transactions #896

Closed
kamilsa opened this issue Mar 25, 2021 · 0 comments
Closed

Measure total number of transactions #896

kamilsa opened this issue Mar 25, 2021 · 0 comments
Assignees
Labels
1.2.x iroha1 The legacy version of Iroha. metrics

Comments

@kamilsa
Copy link
Contributor

kamilsa commented Mar 25, 2021

Return total number of applied transactions.
We can get total number of transactions when node starts and then update in cache its number whenever there is a new block

@kamilsa kamilsa changed the title Measure TPS Measure total number of transactions Mar 31, 2021
@kuvaldini kuvaldini mentioned this issue Apr 4, 2021
kuvaldini pushed a commit to kuvaldini/iroha that referenced this issue Apr 5, 2021
Closes hyperledger#896

Signed-off-by: Ivan Kuvaldin <kuvaldin@soramitsu.co.jp>
kuvaldini pushed a commit that referenced this issue Apr 8, 2021
Closes #896

Signed-off-by: Ivan Kuvaldin <kuvaldin@soramitsu.co.jp>
kuvaldini pushed a commit to kuvaldini/iroha that referenced this issue Apr 12, 2021
Closes hyperledger#896

Signed-off-by: Ivan Kuvaldin <kuvaldin@soramitsu.co.jp>
kuvaldini pushed a commit to kuvaldini/iroha that referenced this issue Apr 19, 2021
Closes hyperledger#896

Signed-off-by: Ivan Kuvaldin <kuvaldin@soramitsu.co.jp>
kuvaldini pushed a commit to kuvaldini/iroha that referenced this issue Apr 26, 2021
…#896 hyperledger#835

Integrate kOnBlock to storage_impl.cpp
Closes hyperledger#837 Add total number of blocks
Closes hyperledger#883 Number of domains
Closes hyperledger#919 Number of signatures in the last block
Closes hyperledger#896 Measure total number of transactions
Closes hyperledger#835 Total nodes/peers updated when kOnBlock
Should close hyperledger#835 no online/connected peers parameter in this commit.
Add CMake files to .clang-format-ignore
Disable prometheus-cpp logs
Extend WSV to countDomains(), countTransactions(), countPeers()
-fno-lto to link GCC-10 and clang with civetweb which was built with
GCC-9
Tests dependant on ametsuchi are linked against sync_subscription, not
async

Signed-off-by: Ivan 'kuvaldini' Kuvaldin <ivan@kuvaldini.pro>
kuvaldini pushed a commit to kuvaldini/iroha that referenced this issue Apr 28, 2021
…#896 hyperledger#835

Integrate kOnBlock to storage_impl.cpp
Closes hyperledger#837 Add total number of blocks
Closes hyperledger#883 Number of domains
Closes hyperledger#919 Number of signatures in the last block
Closes hyperledger#896 Measure total number of transactions
Closes hyperledger#835 Total nodes/peers updated when kOnBlock
Should close hyperledger#835 no online/connected peers parameter in this commit.
Add CMake files to .clang-format-ignore
Disable prometheus-cpp logs
Extend WSV to countDomains(), countTransactions(), countPeers()
-fno-lto to link GCC-10 and clang with civetweb which was built with
GCC-9
Tests dependant on ametsuchi are linked against sync_subscription, not
async
Closes hyperledger#966 Disable prometheus-cpp self-metrics

Signed-off-by: Ivan Kuvaldin <kuvaldin@soramitsu.co.jp>
kuvaldini pushed a commit to kuvaldini/iroha that referenced this issue Apr 28, 2021
…#896 hyperledger#835

Integrate kOnBlock to storage_impl.cpp
Closes hyperledger#837 Add total number of blocks
Closes hyperledger#883 Number of domains
Closes hyperledger#919 Number of signatures in the last block
Closes hyperledger#896 Measure total number of transactions
Closes hyperledger#835 Total nodes/peers updated when kOnBlock
Should close hyperledger#835 no online/connected peers parameter in this commit.
Add CMake files to .clang-format-ignore
Disable prometheus-cpp logs
Extend WSV to countDomains(), countTransactions(), countPeers()
-fno-lto to link GCC-10 and clang with civetweb which was built with
GCC-9
Tests dependant on ametsuchi are linked against sync_subscription, not
async
Closes hyperledger#966 Disable prometheus-cpp self-metrics

Signed-off-by: Ivan Kuvaldin <kuvaldin@soramitsu.co.jp>
kuvaldini pushed a commit to kuvaldini/iroha that referenced this issue Apr 28, 2021
…#896 hyperledger#835

Integrate kOnBlock to storage_impl.cpp
Closes hyperledger#837 Add total number of blocks
Closes hyperledger#883 Number of domains
Closes hyperledger#919 Number of signatures in the last block
Closes hyperledger#896 Measure total number of transactions
Closes hyperledger#835 Total nodes/peers updated when kOnBlock
Should close hyperledger#835 no online/connected peers parameter in this commit.
Add CMake files to .clang-format-ignore
Disable prometheus-cpp logs
Extend WSV to countDomains(), countTransactions(), countPeers()
-fno-lto to link GCC-10 and clang with civetweb which was built with
GCC-9
Tests dependant on ametsuchi are linked against sync_subscription, not
async
Closes hyperledger#966 Disable prometheus-cpp self-metrics

Signed-off-by: Ivan Kuvaldin <kuvaldin@soramitsu.co.jp>
kuvaldini pushed a commit to kuvaldini/iroha that referenced this issue Apr 28, 2021
…#896 hyperledger#835

Integrate kOnBlock to storage_impl.cpp
Closes hyperledger#837 Add total number of blocks
Closes hyperledger#883 Number of domains
Closes hyperledger#919 Number of signatures in the last block
Closes hyperledger#896 Measure total number of transactions
Closes hyperledger#835 Total nodes/peers updated when kOnBlock
Should close hyperledger#835 no online/connected peers parameter in this commit.
Add CMake files to .clang-format-ignore
Disable prometheus-cpp logs
Extend WSV to countDomains(), countTransactions(), countPeers()
-fno-lto to link GCC-10 and clang with civetweb which was built with
GCC-9
Tests dependant on ametsuchi are linked against sync_subscription, not
async
Closes hyperledger#966 Disable prometheus-cpp self-metrics

Signed-off-by: Ivan Kuvaldin <kuvaldin@soramitsu.co.jp>
kuvaldini pushed a commit to kuvaldini/iroha that referenced this issue Apr 28, 2021
…#896 hyperledger#835

Integrate kOnBlock to storage_impl.cpp
Closes hyperledger#837 Add total number of blocks
Closes hyperledger#883 Number of domains
Closes hyperledger#919 Number of signatures in the last block
Closes hyperledger#896 Measure total number of transactions
Closes hyperledger#835 Total nodes/peers updated when kOnBlock
Should close hyperledger#835 no online/connected peers parameter in this commit.
Add CMake files to .clang-format-ignore
Disable prometheus-cpp logs
Extend WSV to countDomains(), countTransactions(), countPeers()
-fno-lto to link GCC-10 and clang with civetweb which was built with
GCC-9
Tests dependant on ametsuchi are linked against sync_subscription, not
async
Closes hyperledger#966 Disable prometheus-cpp self-metrics

Signed-off-by: Ivan Kuvaldin <kuvaldin@soramitsu.co.jp>
kuvaldini pushed a commit to kuvaldini/iroha that referenced this issue Apr 29, 2021
…#896 hyperledger#835

Integrate kOnBlock to storage_impl.cpp
Closes hyperledger#837 Add total number of blocks
Closes hyperledger#883 Number of domains
Closes hyperledger#919 Number of signatures in the last block
Closes hyperledger#896 Measure total number of transactions
Closes hyperledger#835 Total nodes/peers updated when kOnBlock
Should close hyperledger#835 no online/connected peers parameter in this commit.
Add CMake files to .clang-format-ignore
Disable prometheus-cpp logs
Extend WSV to countDomains(), countTransactions(), countPeers()
-fno-lto to link GCC-10 and clang with civetweb which was built with
GCC-9
Tests dependant on ametsuchi are linked against sync_subscription, not
async
Closes hyperledger#966 Disable prometheus-cpp self-metrics

Signed-off-by: Ivan Kuvaldin <kuvaldin@soramitsu.co.jp>
kuvaldini pushed a commit to kuvaldini/iroha that referenced this issue Apr 30, 2021
…#896 hyperledger#835

Integrate kOnBlock to storage_impl.cpp
Closes hyperledger#837 Add total number of blocks
Closes hyperledger#883 Number of domains
Closes hyperledger#919 Number of signatures in the last block
Closes hyperledger#896 Measure total number of transactions
Closes hyperledger#835 Total nodes/peers updated when kOnBlock
Should close hyperledger#835 no online/connected peers parameter in this commit.
Add CMake files to .clang-format-ignore
Disable prometheus-cpp logs
Extend WSV to countDomains(), countTransactions(), countPeers()
-fno-lto to link GCC-10 and clang with civetweb which was built with
GCC-9
Tests dependant on ametsuchi are linked against sync_subscription, not
async
Closes hyperledger#966 Disable prometheus-cpp self-metrics

Signed-off-by: kuvaldini <ivan@kuvaldini.pro>
kuvaldini pushed a commit to kuvaldini/iroha that referenced this issue Apr 30, 2021
…#896 hyperledger#835

Integrate kOnBlock to storage_impl.cpp
Closes hyperledger#837 Add total number of blocks
Closes hyperledger#883 Number of domains
Closes hyperledger#919 Number of signatures in the last block
Closes hyperledger#896 Measure total number of transactions
Closes hyperledger#835 Total nodes/peers updated when kOnBlock
Should close hyperledger#835 no online/connected peers parameter in this commit.
Add CMake files to .clang-format-ignore
Disable prometheus-cpp logs
Extend WSV to countDomains(), countTransactions(), countPeers()
-fno-lto to link GCC-10 and clang with civetweb which was built with
GCC-9
Tests dependant on ametsuchi are linked against sync_subscription, not
async
Closes hyperledger#966 Disable prometheus-cpp self-metrics

Signed-off-by: kuvaldini <ivan@kuvaldini.pro>
kuvaldini pushed a commit to kuvaldini/iroha that referenced this issue Apr 30, 2021
…#896 hyperledger#835

Integrate kOnBlock to storage_impl.cpp
Closes hyperledger#837 Add total number of blocks
Closes hyperledger#883 Number of domains
Closes hyperledger#919 Number of signatures in the last block
Closes hyperledger#896 Measure total number of transactions
Closes hyperledger#835 Total nodes/peers updated when kOnBlock
Should close hyperledger#835 no online/connected peers parameter in this commit.
Add CMake files to .clang-format-ignore
Disable prometheus-cpp logs
Extend WSV to countDomains(), countTransactions(), countPeers()
-fno-lto to link GCC-10 and clang with civetweb which was built with
GCC-9
Tests dependant on ametsuchi are linked against sync_subscription, not
async
Closes hyperledger#966 Disable prometheus-cpp self-metrics

Signed-off-by: Ivan Kuvaldin kuvaldin@soramitsu.co.jp
kuvaldini added a commit to kuvaldini/iroha that referenced this issue May 1, 2021
…#896 hyperledger#835

Integrate kOnBlock to storage_impl.cpp
Closes hyperledger#837 Add total number of blocks
Closes hyperledger#883 Number of domains
Closes hyperledger#919 Number of signatures in the last block
Closes hyperledger#896 Measure total number of transactions
Closes hyperledger#835 Total nodes/peers updated when kOnBlock
Should close hyperledger#835 no online/connected peers parameter in this commit.
Add CMake files to .clang-format-ignore
Disable prometheus-cpp logs
Extend WSV to countDomains(), countTransactions(), countPeers()
-fno-lto to link GCC-10 and clang with civetweb which was built with
GCC-9
Tests dependant on ametsuchi are linked against sync_subscription, not
async
Closes hyperledger#966 Disable prometheus-cpp self-metrics

Signed-off-by: Ivan 'kuvaldini' Kuvaldin <ivan@kuvaldini.pro>
kuvaldini added a commit to kuvaldini/iroha that referenced this issue May 8, 2021
…#896 hyperledger#835

Integrate kOnBlock to storage_impl.cpp
Closes hyperledger#837 Add total number of blocks
Closes hyperledger#883 Number of domains
Closes hyperledger#919 Number of signatures in the last block
Closes hyperledger#896 Measure total number of transactions
Closes hyperledger#835 Total nodes/peers updated when kOnBlock
Should close hyperledger#835 no online/connected peers parameter in this commit.
Add CMake files to .clang-format-ignore
Disable prometheus-cpp logs
Extend WSV to countDomains(), countTransactions(), countPeers()
-fno-lto to link GCC-10 and clang with civetweb which was built with
GCC-9
Tests dependant on ametsuchi are linked against sync_subscription, not
async
Closes hyperledger#966 Disable prometheus-cpp self-metrics

Signed-off-by: Ivan 'kuvaldini' Kuvaldin <ivan@kuvaldini.pro>
kuvaldini added a commit to kuvaldini/iroha that referenced this issue May 20, 2021
…#896 hyperledger#835

Integrate kOnBlock to storage_impl.cpp
Closes hyperledger#837 Add total number of blocks
Closes hyperledger#883 Number of domains
Closes hyperledger#919 Number of signatures in the last block
Closes hyperledger#896 Measure total number of transactions
Closes hyperledger#835 Total nodes/peers updated when kOnBlock
Should close hyperledger#835 no online/connected peers parameter in this commit.
Add CMake files to .clang-format-ignore
Disable prometheus-cpp logs
Extend WSV to countDomains(), countTransactions(), countPeers()
-fno-lto to link GCC-10 and clang with civetweb which was built with
GCC-9
Tests dependant on ametsuchi are linked against sync_subscription, not
async
Closes hyperledger#966 Disable prometheus-cpp self-metrics

Signed-off-by: Ivan 'kuvaldini' Kuvaldin <ivan@kuvaldini.pro>
kuvaldini added a commit to kuvaldini/iroha that referenced this issue Jun 4, 2021
…#896 hyperledger#835

Integrate kOnBlock to storage_impl.cpp
Closes hyperledger#837 Add total number of blocks
Closes hyperledger#883 Number of domains
Closes hyperledger#919 Number of signatures in the last block
Closes hyperledger#896 Measure total number of transactions
Closes hyperledger#835 Total nodes/peers updated when kOnBlock
Should close hyperledger#835 no online/connected peers parameter in this commit.
Add CMake files to .clang-format-ignore
Disable prometheus-cpp logs
Extend WSV to countDomains(), countTransactions(), countPeers()
-fno-lto to link GCC-10 and clang with civetweb which was built with
GCC-9
Tests dependant on ametsuchi are linked against sync_subscription, not
async
Closes hyperledger#966 Disable prometheus-cpp self-metrics

Signed-off-by: Ivan 'kuvaldini' Kuvaldin <ivan@kuvaldini.pro>
kuvaldini added a commit to kuvaldini/iroha that referenced this issue Jun 10, 2021
…#896 hyperledger#835

Integrate kOnBlock to storage_impl.cpp
Closes hyperledger#837 Add total number of blocks
Closes hyperledger#883 Number of domains
Closes hyperledger#919 Number of signatures in the last block
Closes hyperledger#896 Measure total number of transactions
Closes hyperledger#835 Total nodes/peers updated when kOnBlock
Should close hyperledger#835 no online/connected peers parameter in this commit.
Add CMake files to .clang-format-ignore
Disable prometheus-cpp logs
Extend WSV to countDomains(), countTransactions(), countPeers()
-fno-lto to link GCC-10 and clang with civetweb which was built with
GCC-9
Tests dependant on ametsuchi are linked against sync_subscription, not
async
Closes hyperledger#966 Disable prometheus-cpp self-metrics

Signed-off-by: Ivan 'kuvaldini' Kuvaldin <ivan@kuvaldini.pro>
kuvaldini added a commit to kuvaldini/iroha that referenced this issue Jun 15, 2021
…#896 hyperledger#835

Integrate kOnBlock to storage_impl.cpp
Closes hyperledger#837 Add total number of blocks
Closes hyperledger#883 Number of domains
Closes hyperledger#919 Number of signatures in the last block
Closes hyperledger#896 Measure total number of transactions
Closes hyperledger#835 Total nodes/peers updated when kOnBlock
Should close hyperledger#835 no online/connected peers parameter in this commit.
Add CMake files to .clang-format-ignore
Disable prometheus-cpp logs
Extend WSV to countDomains(), countTransactions(), countPeers()
-fno-lto to link GCC-10 and clang with civetweb which was built with
GCC-9
Tests dependant on ametsuchi are linked against sync_subscription, not
async
Closes hyperledger#966 Disable prometheus-cpp self-metrics

Signed-off-by: Ivan 'kuvaldini' Kuvaldin <ivan@kuvaldini.pro>
kuvaldini added a commit that referenced this issue Jun 16, 2021
[Metrics] #837 #883 #919 #896 #835

Integrate kOnBlock to storage_impl.cpp
Closes #837 Add total number of blocks
Closes #883 Number of domains
Closes #919 Number of signatures in the last block
Closes #896 Measure total number of transactions
Closes #835 Total nodes/peers updated when kOnBlock
Should close #835 no online/connected peers parameter in this commit.
Add CMake files to .clang-format-ignore
Disable prometheus-cpp logs
Extend WSV to countDomains(), countTransactions(), countPeers()
-fno-lto to link GCC-10 and clang with civetweb which was built with
GCC-9
Tests dependant on ametsuchi are linked against sync_subscription, not
async
Closes #966 Disable prometheus-cpp self-metrics

Signed-off-by: Ivan 'kuvaldini' Kuvaldin <ivan@kuvaldini.pro>
kuvaldini added a commit that referenced this issue Jul 12, 2021
[Metrics] #837 #883 #919 #896 #835

Integrate kOnBlock to storage_impl.cpp
Closes #837 Add total number of blocks
Closes #883 Number of domains
Closes #919 Number of signatures in the last block
Closes #896 Measure total number of transactions
Closes #835 Total nodes/peers updated when kOnBlock
Should close #835 no online/connected peers parameter in this commit.
Add CMake files to .clang-format-ignore
Disable prometheus-cpp logs
Extend WSV to countDomains(), countTransactions(), countPeers()
-fno-lto to link GCC-10 and clang with civetweb which was built with
GCC-9
Tests dependant on ametsuchi are linked against sync_subscription, not
async
Closes #966 Disable prometheus-cpp self-metrics

Signed-off-by: Ivan 'kuvaldini' Kuvaldin <ivan@kuvaldini.pro>
kuvaldini added a commit that referenced this issue Jul 14, 2021
[Metrics] #837 #883 #919 #896 #835

Integrate kOnBlock to storage_impl.cpp
Closes #837 Add total number of blocks
Closes #883 Number of domains
Closes #919 Number of signatures in the last block
Closes #896 Measure total number of transactions
Closes #835 Total nodes/peers updated when kOnBlock
Should close #835 no online/connected peers parameter in this commit.
Add CMake files to .clang-format-ignore
Disable prometheus-cpp logs
Extend WSV to countDomains(), countTransactions(), countPeers()
-fno-lto to link GCC-10 and clang with civetweb which was built with
GCC-9
Tests dependant on ametsuchi are linked against sync_subscription, not
async
Closes #966 Disable prometheus-cpp self-metrics

Signed-off-by: Ivan 'kuvaldini' Kuvaldin <ivan@kuvaldini.pro>
kuvaldini added a commit that referenced this issue Jul 14, 2021
[Metrics] #837 #883 #919 #896 #835

Integrate kOnBlock to storage_impl.cpp
Closes #837 Add total number of blocks
Closes #883 Number of domains
Closes #919 Number of signatures in the last block
Closes #896 Measure total number of transactions
Closes #835 Total nodes/peers updated when kOnBlock
Should close #835 no online/connected peers parameter in this commit.
Add CMake files to .clang-format-ignore
Disable prometheus-cpp logs
Extend WSV to countDomains(), countTransactions(), countPeers()
-fno-lto to link GCC-10 and clang with civetweb which was built with
GCC-9
Tests dependant on ametsuchi are linked against sync_subscription, not
async
Closes #966 Disable prometheus-cpp self-metrics

Signed-off-by: Ivan 'kuvaldini' Kuvaldin <ivan@kuvaldini.pro>
kuvaldini added a commit that referenced this issue Jul 30, 2021
[Metrics] #837 #883 #919 #896 #835

Integrate kOnBlock to storage_impl.cpp
Closes #837 Add total number of blocks
Closes #883 Number of domains
Closes #919 Number of signatures in the last block
Closes #896 Measure total number of transactions
Closes #835 Total nodes/peers updated when kOnBlock
Should close #835 no online/connected peers parameter in this commit.
Add CMake files to .clang-format-ignore
Disable prometheus-cpp logs
Extend WSV to countDomains(), countTransactions(), countPeers()
-fno-lto to link GCC-10 and clang with civetweb which was built with
GCC-9
Tests dependant on ametsuchi are linked against sync_subscription, not
async
Closes #966 Disable prometheus-cpp self-metrics

Signed-off-by: Ivan 'kuvaldini' Kuvaldin <ivan@kuvaldini.pro>
Signed-off-by: kuvaldini <ivan@kuvaldini.pro>
kuvaldini added a commit that referenced this issue Jul 30, 2021
[Metrics] #837 #883 #919 #896 #835

Integrate kOnBlock to storage_impl.cpp
Closes #837 Add total number of blocks
Closes #883 Number of domains
Closes #919 Number of signatures in the last block
Closes #896 Measure total number of transactions
Closes #835 Total nodes/peers updated when kOnBlock
Should close #835 no online/connected peers parameter in this commit.
Add CMake files to .clang-format-ignore
Disable prometheus-cpp logs
Extend WSV to countDomains(), countTransactions(), countPeers()
-fno-lto to link GCC-10 and clang with civetweb which was built with
GCC-9
Tests dependant on ametsuchi are linked against sync_subscription, not
async
Closes #966 Disable prometheus-cpp self-metrics

Signed-off-by: Ivan 'kuvaldini' Kuvaldin <ivan@kuvaldini.pro>
Signed-off-by: kuvaldini <ivan@kuvaldini.pro>
@kamilsa kamilsa closed this as completed in 930c4fb Sep 2, 2021
@nxsaken nxsaken added the iroha1 The legacy version of Iroha. label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.2.x iroha1 The legacy version of Iroha. metrics
Projects
None yet
Development

No branches or pull requests

3 participants