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

Remove node_name label from allocation metrics #2433

Merged

Conversation

yoshd
Copy link
Contributor

@yoshd yoshd commented Jan 18, 2022

What type of PR is this?

Uncomment only one /kind <> line, press 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:

Remove the node_name label from agones_gameserver_allocations_duration.

Which issue(s) this PR fixes: #2424

Special notes for your reviewer:

This is the response before the /metrics API was fixed:

# on my local minikube
agones_gameserver_allocations_duration_seconds_bucket{cluster_name="none",fleet_name="simple-game-server",is_multicluster="false",node_name="minikube",scheduling_strategy="Packed",status="Allocated",le="0.01"} 0
...
agones_gameserver_allocations_duration_seconds_bucket{cluster_name="none",fleet_name="simple-game-server",is_multicluster="false",node_name="minikube",scheduling_strategy="Packed",status="Allocated",le="+Inf"} 2
agones_gameserver_allocations_duration_seconds_sum{cluster_name="none",fleet_name="simple-game-server",is_multicluster="false",node_name="minikube",scheduling_strategy="Packed",status="Allocated"} 0.594067538
agones_gameserver_allocations_duration_seconds_count{cluster_name="none",fleet_name="simple-game-server",is_multicluster="false",node_name="minikube",scheduling_strategy="Packed",status="Allocated"} 2

After:

# on my local minikube
agones_gameserver_allocations_duration_seconds_bucket{cluster_name="none",fleet_name="simple-game-server",is_multicluster="false",scheduling_strategy="Packed",status="Allocated",le="0.01"} 0
...
agones_gameserver_allocations_duration_seconds_bucket{cluster_name="none",fleet_name="simple-game-server",is_multicluster="false",scheduling_strategy="Packed",status="Allocated",le="+Inf"} 1
agones_gameserver_allocations_duration_seconds_sum{cluster_name="none",fleet_name="simple-game-server",is_multicluster="false",scheduling_strategy="Packed",status="Allocated"} 0.512152551
agones_gameserver_allocations_duration_seconds_count{cluster_name="none",fleet_name="simple-game-server",is_multicluster="false",scheduling_strategy="Packed",status="Allocated"} 1

The "Allocations rate per node" graph in the Grafana dashboard used to use the node_name label, but I removed it because I don't think this graph is very useful.

@yoshd
Copy link
Contributor Author

yoshd commented Jan 18, 2022

/assign @pooneh-m

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 5331cb0e-71ac-495a-8970-c0700b87821c

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@markmandel
Copy link
Member

One day we will resolve the flake in make run-sdk-conformance-test-cpp

@markmandel
Copy link
Member

Oh nice, you did the grafana one too. I'll find some time to spin up the new dashboards and confirm, and we'll get this in the new release 👍🏻

@markmandel markmandel added area/operations Installation, updating, metrics etc kind/breaking Breaking change labels Jan 21, 2022
@markmandel markmandel added kind/bug These are bugs. and removed kind/bug These are bugs. labels Jan 27, 2022
@google-oss-prow
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: markmandel, yoshd

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:

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

@markmandel
Copy link
Member

Had a look at the grafana dashboard, all looks good 👍🏻

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 9fff4bf5-e228-4b6b-915c-f6e97eae53b2

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 3558a321-a8a0-4190-bb5d-f0ed46d7b33d

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/googleforgames/agones.git pull/2433/head:pr_2433 && git checkout pr_2433
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.21.0-851a1ff

@markmandel markmandel merged commit 0dbaaff into googleforgames:main Jan 28, 2022
@SaitejaTamma SaitejaTamma added this to the 1.21.0 milestone Feb 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved area/operations Installation, updating, metrics etc kind/breaking Breaking change lgtm size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants