Skip to content

chore(deps): upgrade nginx-lua-prometheus to 0.20220527#1592

Open
tkan145 wants to merge 1 commit into
3scale:masterfrom
tkan145:deps-metrics
Open

chore(deps): upgrade nginx-lua-prometheus to 0.20220527#1592
tkan145 wants to merge 1 commit into
3scale:masterfrom
tkan145:deps-metrics

Conversation

@tkan145

@tkan145 tkan145 commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

What

Bump nginx-lua-prometheus to 0.20220527.

Due to the library change, it's now requires to call init_worker, we need to refactor a bit of code as well.

Verification steps

  • Checkout this branch
  • Build new runtime image
make runtime-image IMAGE_NAME=apicast-test
  • Get inside dev env
cd dev-environments/plain-http-upstream
  • Update docker-compose.yaml as follow
diff --git a/dev-environments/plain-http-upstream/docker-compose.yml b/dev-environments/plain-http-upstream/docker-compose.yml
index ebf84ebc..ff120b35 100644
--- a/dev-environments/plain-http-upstream/docker-compose.yml
+++ b/dev-environments/plain-http-upstream/docker-compose.yml
@@ -18,9 +18,11 @@ services:
     expose:
       - "8080"
       - "8090"
+      - "9421"
     ports:
       - "8080:8080"
       - "8090:8090"
+      - "9421:9421"
     volumes:
       - ./apicast-config.json:/tmp/config.json
   example.com:
  • Send request to query metrics
curl --resolve get.example.com:9421:127.0.0.1 -v "http://get.example.com:9421/metrics"

You should see metrics response.

@tkan145 tkan145 requested a review from a team as a code owner June 29, 2026 07:59
@tkan145 tkan145 force-pushed the deps-metrics branch 4 times, most recently from 370f4ad to dfdfb02 Compare June 30, 2026 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant