Jacek Nykis
61e699267c
Improve HTTP method label handling in prometheus metrics
...
## What this PR does / why we need it:
This PR addresses #10208 by checking whether the request method is valid.
For invalid methods we set `method="invalid_method"` label so that operators
can stil see traffic in the metrics but without unbound label value.
## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [x] Bug fix (non-breaking change which addresses an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] CVE Report (Scanner found CVE and adding report)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Documentation only
## How Has This Been Tested?
I tested by building the image locally using `make build && make image`
and running the image in minikube.
The change has a fairly narrow scope so should be low risk.
## Checklist:
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [x] I've read the [CONTRIBUTION](https://github.com/kubernetes/ingress-nginx/blob/main/CONTRIBUTING.md ) guide
- [x] I have added unit and/or e2e tests to cover my changes.
- [x] All new and existing tests passed.
2025-01-20 22:45:22 +00:00
mhf42
5b142ed7c4
NGINX: Bump OpenTelemetry. ( #12371 )
2025-01-06 21:52:30 +01:00
dependabot[bot]
2429e9d005
Bump github.com/onsi/ginkgo/v2 from 2.22.1 to 2.22.2 ( #12627 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-06 20:12:30 +01:00
Elizabeth Martin Campos
c8ab89c021
NGINX: Remove unused substitutions module. ( #12449 )
2025-01-03 02:08:13 +01:00
Marco Ebert
cb53d76a16
Release controller v1.12.0/v1.11.4/v1.10.6 & chart v4.12.0/v4.11.4/v4.10.6. ( #12619 )
2025-01-03 01:44:14 +01:00
Marco Ebert
29513e8564
Chart: Bump Kube Webhook CertGen. ( #12602 )
2024-12-25 20:28:11 +01:00
Marco Ebert
ce1ad4b283
Tests & Docs: Bump images. ( #12601 )
2024-12-25 20:04:10 +01:00
Marco Ebert
227de50117
Images: Trigger other builds (2/2). ( #12594 )
2024-12-25 15:10:16 +01:00
Marco Ebert
30e1eee243
Images: Trigger other builds (1/2). ( #12593 )
2024-12-25 14:35:00 +01:00
Marco Ebert
efa41b7aaf
Tests: Bump e2e-test-runner
to v20241224-68ed4e7b. ( #12589 )
2024-12-25 02:11:18 +01:00
Marco Ebert
68ed4e7b65
Images: Trigger test-runner
build. ( #12585 )
2024-12-25 00:07:28 +01:00
Marco Ebert
0ef18ba7fb
Images: Bump NGINX_BASE
to v1.1.0. ( #12580 )
2024-12-24 01:50:09 +01:00
Marco Ebert
ba4166fe4a
Images: Trigger NGINX build. ( #12576 )
2024-12-23 23:15:56 +01:00
Marco Ebert
453160de3d
Go: Clean go.work.sum
. ( #12572 )
2024-12-23 23:14:45 +01:00
James Strong
bd3ee3ed3f
Repository: Update owners. ( #12519 )
2024-12-21 23:36:09 +01:00
dependabot[bot]
6ed962f12a
Bump k8s.io/apiextensions-apiserver from 0.31.3 to 0.32.0 ( #12564 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-21 19:38:09 +01:00
Marco Ebert
1b596fbdb8
Images: Bump gcb-docker-gcloud
to v20241217-ff46a068cd. ( #12554 )
2024-12-21 18:02:10 +01:00
Marco Ebert
62b97c7b99
CI: Update KIND images. ( #12553 )
2024-12-21 17:58:09 +01:00
dependabot[bot]
c4cd70e32c
Bump github.com/onsi/ginkgo/v2 from 2.22.0 to 2.22.1 ( #12531 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marco Ebert <marco_ebert@icloud.com>
2024-12-21 13:52:09 +01:00
dependabot[bot]
e26755dc94
Bump k8s.io/code-generator from 0.31.3 to 0.32.0 ( #12533 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-21 04:56:10 +01:00
dependabot[bot]
c1d7082fd1
Bump k8s.io/cli-runtime from 0.31.3 to 0.32.0 ( #12534 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-21 03:56:09 +01:00
dependabot[bot]
225deafe5a
Bump k8s.io/apiserver from 0.31.3 to 0.32.0 ( #12536 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-21 02:58:09 +01:00
dependabot[bot]
e62e043f36
Bump the actions group with 2 updates ( #12537 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-21 01:10:09 +01:00
dependabot[bot]
f93b94fdc9
Bump google.golang.org/grpc from 1.68.1 to 1.69.2 ( #12535 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-21 01:08:09 +01:00
Marco Ebert
c160bfff69
Images: Bump Alpine to v3.21. ( #12481 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-20 18:04:10 +01:00
Motte
94e39e32cf
Docs: Add guide on how to set a Maintenance Page. ( #12524 )
2024-12-20 13:40:08 +01:00
Marco Ebert
57b4a14af5
rikatz is stepping down ( #12515 )
2024-12-16 20:37:26 +01:00
dependabot[bot]
beae4c8cab
Bump k8s.io/client-go from 0.31.3 to 0.32.0 ( #12498 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-16 20:18:53 +01:00
dependabot[bot]
35e0ca6dc9
Bump github.com/opencontainers/runc from 1.2.2 to 1.2.3 in the go group across 1 directory ( #12490 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-16 13:10:52 +01:00
dependabot[bot]
031bb8f14b
Bump the actions group with 3 updates ( #12489 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-16 12:58:51 +01:00
dependabot[bot]
87588e0e04
Bump k8s.io/kube-aggregator from 0.31.3 to 0.32.0 in /images/kube-webhook-certgen/rootfs ( #12492 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-16 12:16:51 +01:00
dependabot[bot]
9cea5dee69
Bump k8s.io/apimachinery from 0.31.3 to 0.32.0 in /images/ext-auth-example-authsvc/rootfs ( #12491 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-16 12:10:52 +01:00
Ricardo Katz
8318affbb4
rikatz is stepping down ( #12486 )
2024-12-15 18:42:43 +01:00
Marco Ebert
53ca6e2921
Go: Bump to v1.23.4. ( #12482 )
2024-12-14 15:38:42 +01:00
dependabot[bot]
8ad3ddc309
Bump golang.org/x/crypto from 0.30.0 to 0.31.0 ( #12474 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-12 12:00:25 +01:00
dependabot[bot]
e9979b4cb3
Bump golang.org/x/crypto from 0.21.0 to 0.31.0 in /magefiles ( #12470 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-12 11:00:25 +01:00
dependabot[bot]
c6a2d9afb3
Bump github.com/prometheus/common from 0.60.1 to 0.61.0 ( #12454 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-09 16:56:04 +00:00
dependabot[bot]
b583946ad2
Bump github/codeql-action from 3.27.5 to 3.27.6 in the actions group ( #12457 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-09 15:42:01 +00:00
dependabot[bot]
ff9fc5cc8d
Bump the go group across 1 directory with 2 updates ( #12453 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-09 15:40:04 +00:00
Boris Kreitchman
d1dc3e827f
Config/Annotations: Add proxy-busy-buffers-size
. ( #12433 )
2024-12-05 18:10:00 +00:00
James Strong
5ae018e5df
Plugin: Bump goreleaser
to v2. ( #12439 )
...
Signed-off-by: James Strong <strong.james.e@gmail.com>
2024-12-04 21:01:06 +00:00
Long Wu Yuan
52fce52493
Bump github.com/onsi/ginkgo/v2 from 2.21.0 to 2.22.0 ( #12423 )
2024-11-27 17:02:57 +00:00
dependabot[bot]
2088e37c99
Bump github.com/stretchr/testify from 1.9.0 to 1.10.0 ( #12409 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-25 13:40:56 +00:00
dependabot[bot]
b4bd5af7bf
Bump the go group across 3 directories with 10 updates ( #12407 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-25 12:46:56 +00:00
dependabot[bot]
1a52f3fbbc
Bump the actions group with 3 updates ( #12406 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-25 11:56:55 +00:00
Elizabeth Martin Campos
0a927b65af
Allow CORS Access-Control-Allow-Origin: null
( #12402 )
2024-11-24 17:32:55 +00:00
Johannes Rudolph
a5cd15d74a
Controller: Fail annotation parsing fast and report errors. ( #11740 )
2024-11-21 00:54:39 +01:00
liyang
6ceccbd67b
GitHub: Fix exec
in issue template. ( #12386 )
2024-11-19 10:28:56 +00:00
dependabot[bot]
6f868cbc4e
Bump github.com/opencontainers/runc from 1.2.1 to 1.2.2 in the go group across 1 directory ( #12377 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-18 19:24:55 +00:00
dependabot[bot]
9c7266f5db
Bump github/codeql-action from 3.27.1 to 3.27.4 in the actions group ( #12372 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-15 21:56:52 +00:00