Run multiple Grafana Agent processes#157
Conversation
Grafana Agent runs a gRPC server: https://grafana.com/docs/grafana-cloud/data-configuration/agent/#agent-ip-address Make the port configurable so we can run multiple agents.
|
@akoutmos seeking initial feedback Do you think it would be useful to add a How-To about running multiple agents? Wasn't quite ready to check the "I have added documentation box" after only documenting the new What do you think of adding a |
|
Just looked through the code. It looks good to me. While I don't think it is a very common use case to run multiple agents...some documentation would definitely be good. Emphasis on not double-using ports would also be nice :D. I am also ok with adding the |
|
@akoutmos done! |
Change description
-moption to generator to specify PromEx module nameThis allows us to configure multiple PromEx processes within our own application.
What problem does this solve?
We want to record metrics and publish dashboards to multiple sources (e.g. one for ops team, and one for biz team).
Example usage
Configure multiple PromEx processes and add them each to the supervisor:
Additional details and screenshots
Checklist