Граф коммитов

1 Коммитов

Автор SHA1 Сообщение Дата
Hunter Gregory 74c0521de4
Efficient prometheus (#629)
* made ipset inventory metric more efficient for container insights scraping. Added metric for total ipset entries

* updated comment for GetVecValue

* changed prometheus metrics port number from 8000 to 10091 to be next to the node port used in CNS

* added cluster service for NPM Prometheus metrics (lets a scraper only scrape this service for node redundant metrics)

* separated node and cluster metrics into separate registries and HTTP endpoints

* separated functionality for getting IPSetInventory labels and made public

* updated initialization of IPSetInventory to have hash set label and changed ipsm tests to mirror this

* added two yaml options for configuring a prometheus server to scrape NPM efficiently. Removed generic prometheus annotations on NPM pod to prevent default scraping of NPM for a helm prometheus server, and added a specific annotation for the alternative prometheus server config

Co-authored-by: Hunter Gregory <t-hugreg@microsoft.com>
2020-08-05 11:21:29 -04:00