Skip to content

Commit

Permalink
Merge branch 'main' into fix-vsr-route-validation
Browse files Browse the repository at this point in the history
  • Loading branch information
haywoodsh committed Feb 6, 2024
2 parents 75f4d21 + fb60fb6 commit 046ab97
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cmd/nginx-ingress/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -699,10 +699,8 @@ func createPlusAndLatencyCollectors(

serverZoneVariableLabels := []string{"resource_type", "resource_name", "resource_namespace"}
streamServerZoneVariableLabels := []string{"resource_type", "resource_name", "resource_namespace"}
cacheZoneLabels := []string{"resource_type", "resource_name", "resource_namespace"}
workerPIDVariableLabels := []string{"resource_type", "resource_name", "resource_namespace"}
variableLabelNames := nginxCollector.NewVariableLabelNames(upstreamServerVariableLabels, serverZoneVariableLabels, upstreamServerPeerVariableLabelNames,
streamUpstreamServerVariableLabels, streamServerZoneVariableLabels, streamUpstreamServerPeerVariableLabelNames, cacheZoneLabels, workerPIDVariableLabels)
streamUpstreamServerVariableLabels, streamServerZoneVariableLabels, streamUpstreamServerPeerVariableLabelNames, nil, nil)
promlogConfig := &promlog.Config{}
logger := promlog.New(promlogConfig)
plusCollector = nginxCollector.NewNginxPlusCollector(plusClient, "nginx_ingress_nginxplus", variableLabelNames, constLabels, logger)
Expand Down

0 comments on commit 046ab97

Please sign in to comment.