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

aj/fix fd max metric #535

Merged
merged 9 commits into from
Jan 31, 2025
Merged

aj/fix fd max metric #535

merged 9 commits into from
Jan 31, 2025

Conversation

astuyve
Copy link
Contributor

@astuyve astuyve commented Jan 30, 2025

the early return here while mapping through the PID list means if a PID dies, we immediately stop reporting metrics from the rest.

This change just trace-level logs that and moves on.

In the future, we should rescan the pid list occasionally

before:
image

after:
image

@astuyve astuyve requested a review from a team as a code owner January 30, 2025 02:35
@@ -49,7 +49,7 @@ const FUNCTION_TAGS_KEY: &str = "_dd.tags.function";
// TODO(astuyve) decide what to do with the version
const EXTENSION_VERSION_KEY: &str = "dd_extension_version";
// TODO(duncanista) figure out a better way to not hardcode this
const EXTENSION_VERSION: &str = "68-next";
const EXTENSION_VERSION: &str = "69-next";
Copy link
Contributor

Choose a reason for hiding this comment

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

is it a good idea to change the version in this PR?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

whoops, removing

@astuyve astuyve merged commit 3d4776c into main Jan 31, 2025
23 checks passed
@astuyve astuyve deleted the aj/fix-fd-max-metric branch January 31, 2025 12:39
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