Skip to content

Commit

Permalink
fix metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
lucky-sideburn committed Jan 2, 2023
1 parent 8579530 commit 2352cc9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nginx/KubeInvaders.conf
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ server {
metric = "deleted_namespace_pods_count{namespace=\"".. namespace .."\"}"
ngx.say(metric .. " " .. red:get(res))

else
ngx.say(res .. " " .. red:get(res))
end
end
}
Expand Down

0 comments on commit 2352cc9

Please sign in to comment.