Skip to content

fix(prometheus-metrics): Fix metric type of DNS request latency#4

Merged
hayk96 merged 3 commits into
mainfrom
fix/metric-dns-lookup-latency
Jun 8, 2025
Merged

fix(prometheus-metrics): Fix metric type of DNS request latency#4
hayk96 merged 3 commits into
mainfrom
fix/metric-dns-lookup-latency

Conversation

@hayk96

@hayk96 hayk96 commented Jun 8, 2025

Copy link
Copy Markdown
Owner

1. What this PR does / why we need it:

  • Changed metric type of the kubebridge_dns_lookup_time_seconds from Gauge to Summay as Summary is one of the best options for calculating latencies
  • The metric kubebridge_dns_requests has been removed as the kubebridge_dns_lookup_time_seconds with type Summary already exports the counts (a Counter) to eliminate high cardinality of the exported metrics
  • Bump app and chart version to 0.2.1

2. Make sure that you've checked the boxes below before you submit PR:

  • DCO signed
  • No conflict with the main branch.
  • Version updated in code, docs, and metadata.

hayk96 added 3 commits June 9, 2025 00:52
… DNS latency calculation

Signed-off-by: hayk96 <hayko5999@gmail.com>
…y type already provides

Signed-off-by: hayk96 <hayko5999@gmail.com>
Signed-off-by: hayk96 <hayko5999@gmail.com>
@hayk96 hayk96 self-assigned this Jun 8, 2025
@hayk96 hayk96 added the bug Something isn't working label Jun 8, 2025
@hayk96 hayk96 linked an issue Jun 8, 2025 that may be closed by this pull request
@hayk96 hayk96 merged commit d726f81 into main Jun 8, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Metric DNS lookup time seconds does not get null

1 participant