Skip to content
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

CRD values for Aggregate Player Tracking #1551

Merged
merged 1 commit into from May 15, 2020

Conversation

markmandel
Copy link
Member

What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:

/kind breaking
/kind bug
/kind cleanup
/kind documentation

/kind feature

/kind hotfix

What this PR does / Why we need it:
This PR is only the structure to store aggregate values for player tracking data across Fleets and GameServerSets.

Which issue(s) this PR fixes:

Work on #1033

Special notes for your reviewer:

Later PRs will implement the logic.

@markmandel markmandel added kind/feature New features for Agones area/user-experience Pertaining to developers trying to use Agones, e.g. SDK, installation, etc labels May 14, 2020
@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: bf9a4f9a-671b-42f5-901f-217429db43b5

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/GoogleCloudPlatform/agones.git pull/1551/head:pr_1551 && git checkout pr_1551
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.6.0-5bd6739

@@ -35,6 +35,12 @@ const (
ErrContainerNameInvalid = "Container must be empty or the name of a container in the pod template"
)

// AggregatePlayerStatus stores total player tracking values
type AggregatePlayerStatus struct {
Copy link
Collaborator

Choose a reason for hiding this comment

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

s/Aggregate/Aggregated?

Copy link
Member Author

Choose a reason for hiding this comment

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

Aggregated works for me. Changed.

// [FeatureFlag:PlayerTracking]
// Players are the current total player capacity and count for this Fleet
// +optional
Players *AggregatePlayerStatus `json:"players"`
Copy link
Collaborator

Choose a reason for hiding this comment

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

omitempty

// [FeatureFlag:PlayerTracking]
// Players are the current total player capacity and count for this GameServerSet
// +optional
Players *AggregatePlayerStatus `json:"players"`
Copy link
Collaborator

Choose a reason for hiding this comment

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

omitempty

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah yes! Nice!

This PR is only the structure to store aggregate values for player
tracking data across Fleets and GameServerSets.

Later PRs will implement the logic.

Work on googleforgames#1033
@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: markmandel, pooneh-m

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [markmandel,pooneh-m]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@pooneh-m
Copy link
Collaborator

Nice!

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: eff3391a-0372-4003-8d62-6ccfddda4b85

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/GoogleCloudPlatform/agones.git pull/1551/head:pr_1551 && git checkout pr_1551
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.6.0-413ddc2

@pooneh-m pooneh-m merged commit f7cf180 into googleforgames:master May 15, 2020
@markmandel markmandel deleted the feature/fleet-aggregate branch May 15, 2020 17:39
@markmandel markmandel added this to the 1.6.0 milestone May 15, 2020
ilkercelikyilmaz pushed a commit to ilkercelikyilmaz/agones that referenced this pull request Oct 23, 2020
This PR is only the structure to store aggregate values for player
tracking data across Fleets and GameServerSets.

Later PRs will implement the logic.

Work on googleforgames#1033
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved area/user-experience Pertaining to developers trying to use Agones, e.g. SDK, installation, etc kind/feature New features for Agones lgtm size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants