Skip to content

Add a function that simulates players joining and leaving to generate metrics through query #35

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

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

samcsmith
Copy link

As stated, adds a function that simulates players joining and leaving to generate metrics through query.

@samcsmith samcsmith requested a review from a team as a code owner August 4, 2023 14:19
@samcsmith
Copy link
Author

Evidence:
Screenshot 2023-08-04 at 15 20 19

Copy link
Collaborator

@nweedon-u nweedon-u left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @samcsmith, thanks for the PR. Can I ask why this is needed? The app can currently drive the active players metrics by connecting to the game server via TCP. See the README:

Client simulation
A game client can be simulated by opening a TCP connection once the server is allocated
The server should be allocated first by invoking the server allocations API
A TCP connection can be opened with a netcat command: nc . Once the connection is opened, this connection represents a player - as such, the 'Concurrent Users' count will be updated in the dashboard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants