Skip to content

Commit

Permalink
Update client.go
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Childs <[email protected]>
  • Loading branch information
ben-childs-docusign committed Nov 1, 2024
1 parent 15c723f commit 4ea9abf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller/metrics/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func (m *K8sRequestsCountProvider) IncKubernetesRequest(resourceInfo kubeclientm
namespace := resourceInfo.Namespace
kind := resourceInfo.Kind
statusCode := strconv.Itoa(resourceInfo.StatusCode)
if resourceInfo.Verb == kubeclientmetrics.List || kind == "events" || kind == "replicasets" {
if resourceInfo.Verb == kubeclientmetrics.List || kind == "events" || kind == "replicasets" || kind == "analysisruns" || kind == "jobs" || kind == "experiments" {
name = "N/A"
}
if resourceInfo.Verb == kubeclientmetrics.Unknown {
Expand Down

0 comments on commit 4ea9abf

Please sign in to comment.