feat: Push-based metrics using vector for IC Nodes
(Mostly) a mirror of https://github.com/dfinity/ic/pull/2237.
PR #2070 rebased with https://github.com/dfinity/ic/pull/2221 with requested changes
Hey @rawmind0, I've pused 26c37c4aa6cdcfbd5f11e20252c8dd43642b305d to fix pre-commit if you'd like to check it out. We'll also need to handle merging the base image changes separately, but I can take care of that when we're ready to merge.
How would you recommend we go about testing this? Do you have any notes around:
A test enviroment based on containers has been built to run elasticsearch, victoriametrics and a reverse proxy to manage mTLS auth from the simulated nodes.
Hey @Bownairo , i made all the tests using a dockerized test environment. Here you have all the technical details and the configs used for it, generate tls certs, nginx configuration to act as mtls endpoint and docker-compose for mtls-endpoint, victoriametrics and elasticsearch. The nodes where instantiated using qemu within a docker also to allow network communication. Let me know if i may help you with this.
Here is also the published video with the demo, https://www.youtube.com/watch?v=ZG1-IJtHBzk