-
Notifications
You must be signed in to change notification settings - Fork 2.7k
opamp server connect multiple supervisor #37132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Not sure how to help you. Rather than trying to perform this approach, wouldn't it be more advisable to work on the supervisor to manage multiple clients? |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Component(s)
cmd/opampsupervisor
Describe the issue you're reporting
I want to manage multiple agents through opamp supervisor. However, I currently know that one supervisor can only run one agent. Supporting multiple agents is future work. So, I want to run one supervisor per agent and run multiple supervisors on one opamp server. I think then I can manage multiple agents. I would like to ask whether the opamp server can be connected to multiple supervisors.
opamp server : supervisor = 1 : N
supervisor : agent = 1 : 1
I modified the fixed instance ID
01942b7e-be22-7deb-8fe4-ad1dc54e0909
created by Supervisor toeffective.yaml
andpersistent_state.yaml
. and I ran additional Supervisor. the existing supervisor is connected to the opamp server.It seems that a websocket connection reset occurred with the opamp server, but when I connect to the client of the opamp server, the additional agent is registered. remote configure settings are also possible.
was the websocket connection established through retry after the Cannot read a message from WebSocket error occurred at first?
Another question, when I run supervisor, the settings in the effective.yaml file are always the same and fixed. Is it not possible to run it with the settings file I specified every time I run it for the first time?
I think that effective.yaml file by combining the files in templates https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/5ee95c6f8b886f24070b2938c3418d1cbbbeadd0/cmd/opampsupervisor/supervisor/templates. If I change the file in templates, the agent's effective.yaml file created when running suervisor will change, right?
The text was updated successfully, but these errors were encountered: