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

Proposal for Prometheus Metric to Monitor Dropped Packets #641

Closed
misaki-kawakami opened this issue Mar 8, 2024 · 3 comments
Closed

Proposal for Prometheus Metric to Monitor Dropped Packets #641

misaki-kawakami opened this issue Mar 8, 2024 · 3 comments
Labels
enhancement New feature or request feature request
Milestone

Comments

@misaki-kawakami
Copy link

Is your feature request related to a problem? Please describe.
At present, we lack an easy way to monitor number of dropped packets by a logger when the buffer is full. A a new Prometheus metric would improve our monitoring capabilities, allowing us to trigger alerts if a significant number of packets are being dropped.

Describe the solution you'd like
A new Prometheus metric that can indicate the number of dropped packets per logger/collector. This metric provides insight into the number of dropped packets, eliminating the need to search through logs.

Describe alternatives you've considered
Checking dns-collector logs every now and then but with large number of instances, this method is becoming impractical.

@dmachard dmachard added enhancement New feature or request feature request labels Mar 8, 2024
@dmachard
Copy link
Owner

Good idea, I think adding global metrics to DNScollector would be the right way to expose this type of information.

@dmachard dmachard mentioned this issue Jun 1, 2024
11 tasks
@dmachard dmachard added this to the v0.46.0 milestone Jun 9, 2024
@dmachard
Copy link
Owner

dmachard commented Jun 9, 2024

The following new metric will be available in next release.

# HELP dnscollector_exporter_worker_discarded_traffic_total Discarded traffic associated to each worker
# TYPE dnscollector_exporter_worker_discarded_traffic_total counter
dnscollector_exporter_worker_discarded_traffic_total{worker="console"} 0
dnscollector_exporter_worker_discarded_traffic_total{worker="tap"} 0

@dmachard
Copy link
Owner

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature request
Projects
None yet
Development

No branches or pull requests

2 participants