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

Add counter [SQLServer:Databases Percent Log Used] to enable monitoring for T-log utilization #4597

Closed
varun-dhawan opened this issue Aug 27, 2018 · 2 comments · Fixed by #4642
Labels
area/sqlserver feature request Requests for new plugin and for new features to existing plugins

Comments

@varun-dhawan
Copy link

Feature Request

Please add counter [SQLServer:Databases Percent Log Used] to enable monitoring for T-log utilization

Opening a feature request kicks off a discussion.

Proposal:

Please add counter [SQLServer:Databases Percent Log Used] to enable monitoring for T-log utilization

Current behavior:

Current dashboard monitors following counters

  • SQLServer:Databases Log File(s) Size (KB)
  • SQLServer:Databases Log File(s) Used Size (KB)

While these are good for getting trend of log usage, they aren't helpful in determining the % log used

Desired behavior:

  • Add counter [SQLServer:Databases Percent Log Used] that will easily expose the value of current T-log utilization and can be used to raise alwerts

Use case: [Why is this important (helps with prioritizing requests)]

  • Using Grafana dashboard for both monitoring (trending) and real-time alerting
  • Right in absence of counter [SQLServer:Databases Percent Log Used], we are using a custom PowerShell script to fetch and alert on T-log utilization
@danielnelson
Copy link
Contributor

Is it possible to compute the percentage at query time with used_size/size?

@danielnelson danielnelson added feature request Requests for new plugin and for new features to existing plugins area/sqlserver labels Aug 27, 2018
@varun-dhawan
Copy link
Author

@danielnelson I thought about doing it, however I have limited experience with Grafana. I'll still try and see if I can add a panel to dashboard to display Log Utilization %

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/sqlserver feature request Requests for new plugin and for new features to existing plugins
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants