cdfe7c2a47
Separated out the metadata about the agents and clients from the agentConnection and clientConnection objects. Now, the state does not need to be copied anymore when sending notifications.
...
The matchmaker uses copy on write every time a new agent or client connects or disconnects.
2024-08-15 22:08:24 +02:00
56ad9fbf03
concurrency for the expiry time
2024-08-15 21:25:30 +02:00
fd18a63360
now using maps of Guid to Agent/Client in the state, working towards the definitive solution.
...
Using LinkedMap that preserves insertion order for the implementation and also added unit tests for that.
2024-08-15 21:04:31 +02:00
98f6b414de
introdcution of typesafe ids.
2024-08-15 18:32:59 +02:00
5ff22f4b13
a bit more safety by copying the state when passing it to
...
the websessions and prometheus.
2024-08-14 11:36:36 +02:00
95fe8bb010
eliminated unused fields in State
...
Now preserving the lastState in prometheus.go in a State object instead
of in multiple values.
2024-08-14 11:26:31 +02:00
54165f83c7
renamed modukle name so that pkgsite will work.
2024-08-12 21:31:15 +02:00
28b95ff5db
Addes agent address and client address to the client and agent info.
2024-08-12 15:23:07 +02:00
69a8a1aad3
much more clean handling of concurrency in the converge server by separating the administration from the matchmaking by putting admin in a separate package.
2024-08-11 16:17:11 +02:00
fc92286998
Added agent uid to the client info so that client and agent can be correlated in prometheus/grafana.
2024-08-10 18:57:57 +02:00
7c387d5bb4
added environment info from the client.
2024-08-10 13:00:48 +02:00
7af8c2a09b
cumulative counters implemented.
2024-08-07 22:22:54 +02:00
21e91a700c
prometheus monitoring now more complete. Including a guid to uniquely identify agents and clients.
2024-08-07 21:16:11 +02:00
86535683fa
ClientId is now a string instead of an int.
2024-08-07 21:00:41 +02:00
68804761bf
public id is now shown on the sessions page since authorized keys are
...
used which is safer.
2024-08-06 22:50:24 +02:00
7af575119d
eliminated the username.
2024-08-06 22:38:59 +02:00
1b76add15b
Alternative contextpath is now supported.
...
This will simplify hosting in cases where you have no control over DNS but only over one domain.
2024-08-03 23:10:57 +02:00
91e1139881
work in progress:
...
* usage page now has more dynamic part where user
can enter id and publis ssh keys and the server will
generate the appropriate commmands to execute depending on the local and remote shell.
2024-08-03 12:54:32 +02:00
Erik Brakkee
2e12d0a9fd
Now displaying agent number instead of id.
...
Passing timezone to server side for rendering of time stamps
Configuration of preferred shells.
2024-08-01 19:16:00 +02:00
9a3618f06b
Live updates of the sessions.
...
V1 in ascii-art. To be improved.
2024-07-30 21:51:30 +02:00
bf5120aa5b
refactoring towards being able to send events from Admin to UI (websocket) without exposing connection info but only metadata.
2024-07-30 19:03:21 +02:00