-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add Initial Prom Metrics For Load Balancer Count #166
Add Initial Prom Metrics For Load Balancer Count #166
Conversation
Signed-off-by: Dejon Gill <[email protected]>
internal/srv/prom.go
Outdated
prometheus.GaugeOpts{ | ||
Subsystem: subsystem, | ||
Name: "load_balancers_count", | ||
Help: "Total count of currently deployed load balancers", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On restart this would get reset to zero and it looks like you only increment when creating a new load balancer. So this could actually end up becoming a negative number. Unless I'm missing something. Might be better to add a counter for created load balancers and deleted load balancers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So this could actually end up becoming a negative number. Unless I'm missing something. Might be better to add a counter for created load balancers and deleted load balancers.
🤦 I think 7783e21 handles this bit.
On restart this would get reset to zero
I'm actually not sure about how to address this
Signed-off-by: Dejon Gill <[email protected]>
Signed-off-by: Matt Siwiec <[email protected]>
Signed-off-by: Matt Siwiec <[email protected]>
…locations (infratographer#170) * √√ on create deployment if lb location is in operator watched locations Signed-off-by: Matt Siwiec <[email protected]> * changes test needs location Signed-off-by: Matt Siwiec <[email protected]> --------- Signed-off-by: Matt Siwiec <[email protected]>
* publish metering event Signed-off-by: Stephen Hwang <[email protected]> * use changeset instead of eventtype Signed-off-by: Stephen Hwang <[email protected]> * use EventMessage Signed-off-by: Stephen Hwang <[email protected]> * remove extraneous config, add warn Signed-off-by: Stephen Hwang <[email protected]> * bump go Signed-off-by: Stephen Hwang <[email protected]> * Update Dockerfile Signed-off-by: sthwang-metal <[email protected]> * Update Dockerfile Signed-off-by: sthwang-metal <[email protected]> * Update Dockerfile Signed-off-by: sthwang-metal <[email protected]> --------- Signed-off-by: Stephen Hwang <[email protected]> Signed-off-by: sthwang-metal <[email protected]>
Signed-off-by: Dejon Gill <[email protected]>
Signed-off-by: Dejon Gill <[email protected]>
/metrics
endpoint