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 new counter LDAP Client Sessions #1278

Merged
merged 6 commits into from
Sep 4, 2023
Merged

Add new counter LDAP Client Sessions #1278

merged 6 commits into from
Sep 4, 2023

Conversation

MarkDordoy
Copy link
Contributor

@MarkDordoy MarkDordoy commented Aug 30, 2023

A very handy metric to observe. If you hit your hard limit (5000 by default) connections start to drop off. Its a good indicator to know there is a bad LDAP Client connecting to your directory

@MarkDordoy MarkDordoy requested a review from a team as a code owner August 30, 2023 13:38
@MarkDordoy
Copy link
Contributor Author

First time contributing here, so please let me know what else is required.

Thanks

@MarkDordoy
Copy link
Contributor Author

@breed808 is there anything else required here?

Copy link
Contributor

@breed808 breed808 left a comment

Choose a reason for hiding this comment

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

Thanks for submitting this! I've left a couple comments, and the CI has picked up an error.

Have a look and let me know if you have any questions.

collector/ad.go Outdated Show resolved Hide resolved
collector/ad.go Outdated Show resolved Hide resolved
Signed-off-by: Mark Dordoy <mdordoy@palantir.com>
…antir.com>

Signed-off-by: Mark Dordoy <mdordoy@palantir.com>
Signed-off-by: Mark Dordoy <mdordoy@palantir.com>
Signed-off-by: Mark Dordoy <mdordoy@palantir.com>
Signed-off-by: Mark Dordoy <mdordoy@palantir.com>
Signed-off-by: Mark Dordoy <mdordoy@palantir.com>
@MarkDordoy
Copy link
Contributor Author

@breed808 updated based on comments. Think i've fixed linting, but will need workflows to run to confirm.

Copy link
Contributor

@breed808 breed808 left a comment

Choose a reason for hiding this comment

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

Looks good!

@breed808 breed808 merged commit 4e9fa4f into prometheus-community:master Sep 4, 2023
5 checks passed
@MarkDordoy
Copy link
Contributor Author

MarkDordoy commented Sep 4, 2023

Nice, thank you @breed808

Whats the process for this to make it to the next version of the grafana agent?

@MarkDordoy MarkDordoy deleted the md/add-new-counter branch September 4, 2023 20:22
@breed808
Copy link
Contributor

breed808 commented Sep 4, 2023

This change will be made available in the next windows_exporter release.

If the Grafana Agent is pinned to a particular windows_exporter version, the agent would need to update the dependency.

I'll aim to have a new release for the exporter done in the next week.

@MarkDordoy
Copy link
Contributor Author

Thanks @breed808

Looks like the agent needs an update, PR here: grafana/agent#5088

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants