Replies: 1 comment 2 replies
-
The agent fundamentally uses the same code base as normal Prometheus (just slightly different functionality), so there isn't really a way to build an agent-only binary per se. But, you can reduce binary size by using service discovery plugins, which allow you to eliminate unused service discovery methods, which take up most of the binary. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello
I was wondering is there any way to compile a separate binary containing only agent, so we don't have to carry a whole ~117MB Prometheus just to use agent.
Beta Was this translation helpful? Give feedback.
All reactions