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

Metric Type for UDP Total Sessions #1253

Closed
tienhuynh5312 opened this issue May 24, 2024 · 1 comment
Closed

Metric Type for UDP Total Sessions #1253

tienhuynh5312 opened this issue May 24, 2024 · 1 comment

Comments

@tienhuynh5312
Copy link

totalUDPSessions = prometheus.NewGauge(prometheus.GaugeOpts{

^ UDP Total Session: Gauge Type

prometheus.CounterOpts{

^ TCP Total Session: Counter Type

Usually, total indicates counter type. Is there a specific reason for this difference?

@DevinCarr
Copy link
Contributor

I actually noticed this issue earlier this week too and I addressed it back to a counter. I'm pretty sure I just did a copy-paste typo with the introduction of the metric originally.

This should be fixed here: 44e6d1a

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

No branches or pull requests

2 participants