Skip to content

Add units to LATENCY_GAUGE #15

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

Merged
merged 2 commits into from
Jun 12, 2024
Merged

Conversation

2br-2b
Copy link
Contributor

@2br-2b 2br-2b commented Mar 10, 2024

No description provided.

@Apollo-Roboto
Copy link
Owner

Apollo-Roboto commented Jun 9, 2024

Apologies for not getting to this pull request sooner, it's difficult to understand your motives without a description.

Can you explain the reason you need to add this parameter, was there an issue without it?

@2br-2b
Copy link
Contributor Author

2br-2b commented Jun 10, 2024

Hey! Not a problem!

There isn't a problem. This works fine; this just adds a units flag to the Prometheus entry.

Thanks for the sample code btw! It's really helped up my bot's monitoring

@Apollo-Roboto
Copy link
Owner

All good, I'll be merging this.

The dashboard will need to be updated since this changes the metric name from discord_latency to discord_latency_seconds. That change will be in 0.2.0

@Apollo-Roboto Apollo-Roboto merged commit 435a01c into Apollo-Roboto:main Jun 12, 2024
0 of 4 checks passed
@Apollo-Roboto
Copy link
Owner

Version 0.2.0 is up with your changes, make sure to update your dashboards.

Thanks for the contribution!

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

Successfully merging this pull request may close these issues.

2 participants