Skip to content

[receiver/sqlserver] Emit another metric for direct connection #39940

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

crobert-1
Copy link
Member

Description

Before this PR the sqlserver.page.life_expectancy metric was only available when running on Windows as it was scraped from perf counters directly. This change enables the metric to be emitted also from directly connecting to SQL Server instances.

Testing

Updated existing testing. #39930 adds this metric in the configureAllScraperMetrics, otherwise it would have needed to be added here.

Documentation

Removed documentation note that this metric was only available on Windows.

@crobert-1 crobert-1 requested a review from a team as a code owner May 7, 2025 23:27
@crobert-1 crobert-1 requested a review from dashpole May 7, 2025 23:27
@github-actions github-actions bot added receiver/sqlserver Run Windows Enable running windows test on a PR labels May 7, 2025
@github-actions github-actions bot requested review from sincejune and StefanKurek May 7, 2025 23:27
@atoulme
Copy link
Contributor

atoulme commented May 8, 2025

Please resolve conflicts.

@atoulme atoulme marked this pull request as draft May 8, 2025 01:06
@crobert-1 crobert-1 force-pushed the sqlserver_page_life_expectancy branch from 243e52d to 7fcdf3f Compare May 8, 2025 15:05
@crobert-1
Copy link
Member Author

Please resolve conflicts.

Done 👍

@crobert-1 crobert-1 marked this pull request as ready for review May 8, 2025 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
receiver/sqlserver Run Windows Enable running windows test on a PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants