Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collect nginx ingress controller metrics related to request and response sizes #17509

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

rgs
Copy link

@rgs rgs commented May 3, 2024

What does this PR do?

It adds two histogram metrics to the nginx ingress controller integration: request size and response size, in bytes.

Motivation

I find them pretty useful to get an idea of the distribution of sizes of responses for API endpoints. I also added request size mostly for symmetry, but I don't think it will be as useful (for me at least).

Additional Notes

These two metrics are described in the ingress-nginx documentation here:
https://github.com/kubernetes/ingress-nginx/blob/main/docs/user-guide/monitoring.md

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Changelog entries must be created for modifications to shipped code
  • Add the qa/skip-qa label if the PR doesn't need to be tested during QA.
  • If you need to backport this PR to another branch, you can add the backport/<branch-name> label to the PR and it will automatically open a backport PR once this one is merged

Copy link

github-actions bot commented May 3, 2024

Test Results

3 tests   1 ✅  0s ⏱️
1 suites  1 💤
1 files    1 ❌

For more details on these failures, see this check.

Results for commit 6089209.

Copy link

codecov bot commented May 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.55%. Comparing base (2a6ec26) to head (d2dca3c).
Report is 99 commits behind head on master.

Additional details and impacted files
Flag Coverage Δ
active_directory ?
activemq_xml ?
aerospike ?
airflow ?
amazon_msk ?
ambari ?
arangodb ?
avi_vantage ?
azure_iot_edge ?
ceph ?
cisco_aci ?
citrix_hypervisor ?
clickhouse ?
cloudera ?
cockroachdb ?
couch ?
couchbase ?
crio ?
datadog_checks_base ?
datadog_checks_downloader ?
datadog_cluster_agent ?
dcgm ?
ddev ?
dns_check ?
dotnetclr ?
druid ?
ecs_fargate ?
elastic ?
envoy ?
exchange_server ?
external_dns ?
gearmand ?
gitlab_runner ?
glusterfs ?
gunicorn ?
haproxy ?
harbor ?
http_check ?
ibm_db2 ?
ibm_was ?
iis ?
karpenter ?
kong ?
kube_apiserver_metrics ?
kube_controller_manager ?
kube_dns ?
kube_metrics_server ?
kube_proxy ?
kube_scheduler ?
kubernetes_state ?
kyototycoon ?
linux_proc_extras ?
mapr ?
marathon ?
marklogic ?
mcache ?
mesos_slave ?
nagios ?
network ?
nfsstat ?
nginx ?
nginx_ingress_controller 98.55% <100.00%> (+0.19%) ⬆️
nvidia_triton ?
openmetrics ?
oracle ?
pdh_check ?
pgbouncer ?
php_fpm ?
postfix ?
postgres ?
process ?
prometheus ?
rabbitmq ?
ray ?
redisdb ?
riakcs ?
sap_hana ?
scylla ?
silk ?
snmp ?
snowflake ?
sonarqube ?
spark ?
sqlserver ?
ssh_check ?
statsd ?
strimzi ?
system_core ?
system_swap ?
tcp_check ?
teamcity ?
tekton ?
temporal ?
twemproxy ?
twistlock ?
varnish ?
vault ?
vertica ?
voltdb ?
vsphere ?
weaviate ?
win32_event_log ?
windows_performance_counters ?
zk ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant