Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add metrics for store object types #2673
Adds metrics for most of the user-facing store object types. Allows the
Signed-off-by: Drew Erny email@example.com
- What I did
Many of the most pressing issues in swarmkit have been made more difficult to debug by the fact that there is insufficient cluster visibility.
To help alleviate this, I've added metrics for the total number of tasks, services, networks, secrets, and configs in the object store.
- How I did it
Updated the metrics collector package to include more metrics. Refactored some of the API and added some new code gen to make the code cleaner.
- How to test it
WIP, not sure yet.
- Description for the changelog
Added metrics values for total number of tasks, services, networks, secrets, and configs.
@@ Coverage Diff @@ ## master #2673 +/- ## ========================================== + Coverage 62.06% 62.29% +0.22% ========================================== Files 134 134 Lines 21740 21740 ========================================== + Hits 13494 13544 +50 + Misses 6794 6751 -43 + Partials 1452 1445 -7