Commit Graph

15 Commits

Author SHA1 Message Date
Ben Marsh
e0f52d9dde Horde: Enable code style warnings in "Analyze" configuration for Horde.Agent and Horde.Agent.TrayApp, and fix current violations.
[CL 27801345 by Ben Marsh in ue5-main branch]
2023-09-12 14:30:37 -04:00
Ben Marsh
c4f39dc646 Horde: Ensure that all cases where the server transitions an agent to the "stopped" state exits the lease handler.
[CL 27377836 by Ben Marsh in ue5-main branch]
2023-08-25 11:27:16 -04:00
Ben Marsh
49cbf0f36d Horde: Move AgentId into EpicGames.Horde, and support rendering them as custom log values.
[CL 27205038 by Ben Marsh in ue5-main branch]
2023-08-18 11:57:46 -04:00
carl bystrom
cf97829932 Horde: Support ephemeral agents
When an agent is registered as ephemeral, it will not persist any records on the server after it disconnects. This is ideal for short-lived agents that are auto-scaled, joining and leaving as workload fluctuates.

[CL 27200601 by carl bystrom in ue5-main branch]
2023-08-18 09:16:51 -04:00
Ben Marsh
f42a738d6a Horde: Fix some IDE warnings.
[CL 27026370 by Ben Marsh in ue5-main branch]
2023-08-11 09:40:42 -04:00
Ben Marsh
21b0dff8ef Horde: Add a more direct error message when an agent is already executing a new session.
[CL 26303997 by Ben Marsh in ue5-main branch]
2023-06-28 21:04:03 -04:00
carl bystrom
e47dd50a49 Horde: Rethrow any exception from UpdateSession to ensure gRPC stream is closed
[CL 26284706 by carl bystrom in ue5-main branch]
2023-06-28 10:28:16 -04:00
Ben Marsh
e6b94aecb3 Horde: Add a setting for whether to enable new agents in the farm by default.
We can either gate the addition of new agents to the farm by securing the ability to create new agents altogether, or let any machine join but disable them by default.

#preflight none

[CL 25532596 by Ben Marsh in ue5-main branch]
2023-05-18 15:59:30 -04:00
Ben Marsh
71c95f7dad Horde: Another attempt to suppress cancellation exceptions during UpdateSession calls.
#preflight none

[CL 25414465 by Ben Marsh in ue5-main branch]
2023-05-10 15:46:00 -04:00
Ben Marsh
267a5d92e1 Horde: Disable logging of cancellation exceptions from UpdateSession calls.
#preflight none
#fyi Carl.Bystrom

[CL 25408041 by Ben Marsh in ue5-main branch]
2023-05-10 12:41:22 -04:00
Ben Marsh
623324cafb Horde: Add a separate step for creating an agent before starting a session.
- Creating an agent returns a token that the agent can use for creating sessions in the future.
- Token is saved to the user application directory for future use.

#preflight none

[CL 25374936 by Ben Marsh in ue5-main branch]
2023-05-08 15:03:44 -04:00
carl bystrom
90c05c5c58 Horde: Log unhandled event types for ClickHouseTelemetrySink
Also lower the metric sending interval from Horde server to ClickHouse.

#preflight none

[CL 25318438 by carl bystrom in ue5-main branch]
2023-05-03 12:04:58 -04:00
Ben Marsh
f779f2f24c Horde: Use a struct that wraps a string to represent ACL actions, rather than an enum. This allows more flexibility and extensibility in where ACL actions can be defined.
#preflight none
#fyi Joakim.Lindqvist

[CL 25086472 by Ben Marsh in ue5-main branch]
2023-04-18 10:53:15 -04:00
carl bystrom
816683c237 Horde: Add support for multiple telemetry sinks
Including support for ClickHouse.
#preflight 64393f56a35280ed4f19c1f5

[CL 25038541 by carl bystrom in ue5-main branch]
2023-04-14 08:05:14 -04:00
Ben Marsh
637187c618 Horde: Rename the Horde.Build project to Horde.Server.
#preflight none

[CL 24688228 by Ben Marsh in ue5-main branch]
2023-03-17 09:50:40 -04:00