Skip to content

Commit

Permalink
chore(*) fix misspellings
Browse files Browse the repository at this point in the history
  • Loading branch information
james-callahan committed Aug 10, 2018
1 parent 7360af1 commit cbc4ab5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kong/plugins/prometheus/exporter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ local function init()

prometheus = require("kong.plugins.prometheus.prometheus").init(shm, "kong_")

-- accross all services
-- across all services
metrics.connections = prometheus:gauge("nginx_http_current_connections",
"Number of HTTP connections",
{"state"})
Expand Down Expand Up @@ -96,7 +96,7 @@ local function collect()

if r.status ~= 200 then
ngx_log(WARN, "prometheus: failed to retrieve /nginx_status ",
"whlie processing /metrics endpoint")
"while processing /metrics endpoint")

else
local accepted, handled, total = select(3, find(r.body,
Expand Down

0 comments on commit cbc4ab5

Please sign in to comment.