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

[discovery] Enable discovery mode for SQL Server receiver #5109

Merged
merged 8 commits into from
Jul 29, 2024

Conversation

crobert-1
Copy link
Contributor

Description:

This changes enables automatic detection of SQL Server instances running in a host, docker, or kubernetes environment. The configuration is set up to automatically discover host and port, but requires username and password for connecting to SQL server. Also, the default metrics need to be updated to no longer match upstream.

Testing:
Tested in k8s env:

Discovering for next 10s...
Successfully discovered "sqlserver" using "k8s_observer" endpoint "k8s_observer/0ba5f848-8bbe-4008-8d61-3e46696f096e/(1433)".
Discovery complete.

Also pulled up OOTB dashboards, updated metrics to match OTEL naming, and they were populated properly with data from my k8s environment.

@crobert-1 crobert-1 requested review from a team as code owners July 16, 2024 21:50
CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: jvoravong <47871238+jvoravong@users.noreply.github.com>
@jvoravong
Copy link
Contributor

Once all comments are addressed and the only tests failing are for TestExpandedDollarSignsViaStandardEnvVar, then feel free to merge. We are in the process of addressing these specific tests in a separate effort.

Copy link
Contributor

@dmitryax dmitryax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My comment can be addressed separately

@crobert-1 crobert-1 merged commit 07d294a into signalfx:main Jul 29, 2024
132 checks passed
@crobert-1 crobert-1 deleted the sqlserver_auto_discovery branch July 29, 2024 18:13
@github-actions github-actions bot locked and limited conversation to collaborators Jul 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants