Skip to content

feat(inputs.procstat): Add child level tag #16105

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

Merged
merged 29 commits into from
Mar 7, 2025

Conversation

tguenneguez
Copy link
Contributor

@tguenneguez tguenneguez commented Oct 29, 2024

Summary

Add tag for children process to be able to have information by level

Checklist

  • No AI generated code was used in this PR

Related issues

resolves #16104

@telegraf-tiger telegraf-tiger bot added area/procstat feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins labels Oct 29, 2024
Copy link
Member

@mstrandboge mstrandboge 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 the PR! I have one code question, but also does this close issue #16104? If so could you update the PR description to close the issue? Thanks!

@mstrandboge mstrandboge self-assigned this Oct 29, 2024
@tguenneguez
Copy link
Contributor Author

Thanks for the PR! I have one code question, but also does this close issue #16104?

Yes it's the same. The issue is in the PR description.

What do you understand exactly by :

If so could you update the PR description to close the issue? Thanks!

@srebhan
Copy link
Member

srebhan commented Dec 9, 2024

@tguenneguez the error means that the sample.conf file does not match what is in the README.md.

You need to add the option documentation to sample.conf and then run make docs to embed that sample.conf file into the README.md. This is done to ensure that the config options documented in the README do match the ones in the example config produced by Telegraf...

@tguenneguez
Copy link
Contributor Author

tguenneguez commented Dec 9, 2024

@tguenneguez the error means that the sample.conf file does not match what is in the README.md.

You need to add the option documentation to sample.conf and then run make docs to embed that sample.conf file into the README.md. This is done to ensure that the config options documented in the README do match the ones in the example config produced by Telegraf...

Thank you very much, I don't know how you found the cause, if you can tell me I will be more independent next time ;-)

@tguenneguez
Copy link
Contributor Author

I understand my error ;-)
tag_with is for procstat metric and not for procstat_lookup metrics
Also, the level is not internal information for process, but additionnal information of grouping procstat_lookup...

So I thing it will be great to have possibility to generate "procstat_lookup" for different level...

Copy link
Member

@srebhan srebhan left a comment

Choose a reason for hiding this comment

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

@tguenneguez thanks for the update. I do have some comments. The most important one is to only add the child_level tag if the option is actually set. The code adds it unconditionally still.

@mstrandboge mstrandboge assigned srebhan and unassigned mstrandboge Jan 29, 2025
@mstrandboge mstrandboge added the waiting for response waiting for response from contributor label Jan 29, 2025
@telegraf-tiger
Copy link
Contributor

Hello! I am closing this issue due to inactivity. I hope you were able to resolve your problem, if not please try posting this question in our Community Slack or Community Forums or provide additional details in this issue and reqeust that it be re-opened. Thank you!

@telegraf-tiger telegraf-tiger bot closed this Feb 13, 2025
Copy link
Contributor

@Hipska Hipska left a comment

Choose a reason for hiding this comment

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

For readability:

@tguenneguez
Copy link
Contributor Author

For readability:

@srebhan ask me to remove space : #16105 (review)

What must I do ?

tguenneguez and others added 2 commits February 21, 2025 19:20
Co-authored-by: Thomas Casteleyn <thomas.casteleyn@me.com>
@Hipska
Copy link
Contributor

Hipska commented Feb 21, 2025

No, he asked to revert. (Not in these exact words)

tguenneguez and others added 2 commits February 24, 2025 09:21
Co-authored-by: Thomas Casteleyn <thomas.casteleyn@me.com>
Co-authored-by: Thomas Casteleyn <thomas.casteleyn@me.com>
@Hipska
Copy link
Contributor

Hipska commented Feb 24, 2025

Great, now it looks only a make docs and make fmt needs to be done to fix the linter issues.

Copy link
Member

@srebhan srebhan left a comment

Choose a reason for hiding this comment

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

@tguenneguez thanks for the update and sorry for not being clear on the intend! I have one question and a request. The request is to also add a metric for level zero i.e. the uppermost processes returned!

The question is about also adding the level tag to the actual procstat process metrics. What do you think?

@tguenneguez
Copy link
Contributor Author

tguenneguez commented Feb 25, 2025

@srebhan

thanks for the update and sorry for not being clear on the intend!

No problem

I have one question and a request. The request is to also add a metric for level zero i.e. the uppermost processes returned!

I don't see where is the problem

The question is about also adding the level tag to the actual procstat process metrics. What do you think?

It's done ?
https://github.com/influxdata/telegraf/pull/16105/files#diff-cc14c88f3221cbdf2142e6f2519dfbea11c8974a3ad070ee74775ab632a996f2R401

@srebhan
Copy link
Member

srebhan commented Mar 3, 2025

I have one question and a request. The request is to also add a metric for level zero i.e. the uppermost processes returned!

I don't see where is the problem

I think I missed the fact that in line 183 of filter.go the level is not set. However due to the default being zero there is no issue. Sorry for the noise!

The question is about also adding the level tag to the actual procstat process metrics. What do you think?

It's done ? https://github.com/influxdata/telegraf/pull/16105/files#diff-cc14c88f3221cbdf2142e6f2519dfbea11c8974a3ad070ee74775ab632a996f2R401

What I mean is also adding the level tag to each individual process metric. Not a must, we can still do it later.

To fix the CircleCI issues, please run make fmt and commit the fixed files!

@tguenneguez
Copy link
Contributor Author

I try to run make fmt, but no file change ...
With debug I have :

[root@dv44oag00b00008 telegraf]# make fmt -d
GNU Make 3.82
Built for x86_64-redhat-linux-gnu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Reading makefiles...
Reading makefile Makefile'... Updating makefiles.... Considering target file Makefile'.
Looking for an implicit rule for Makefile'. Trying pattern rule with stem Makefile'.
Trying implicit prerequisite Makefile.o'. Trying pattern rule with stem Makefile'.
Trying implicit prerequisite Makefile.c'. Trying pattern rule with stem Makefile'.
Trying implicit prerequisite Makefile.cc'. Trying pattern rule with stem Makefile'.
Trying implicit prerequisite Makefile.C'. Trying pattern rule with stem Makefile'.
Trying implicit prerequisite Makefile.cpp'. Trying pattern rule with stem Makefile'.
Trying implicit prerequisite Makefile.p'. Trying pattern rule with stem Makefile'.
Trying implicit prerequisite Makefile.f'. Trying pattern rule with stem Makefile'.
Trying implicit prerequisite Makefile.F'. Trying pattern rule with stem Makefile'.
Trying implicit prerequisite Makefile.m'. Trying pattern rule with stem Makefile'.
Trying implicit prerequisite Makefile.r'. Trying pattern rule with stem Makefile'.
Trying implicit prerequisite Makefile.s'. Trying pattern rule with stem Makefile'.
Trying implicit prerequisite Makefile.S'. Trying pattern rule with stem Makefile'.
Trying implicit prerequisite Makefile.mod'. Trying pattern rule with stem Makefile'.
Trying implicit prerequisite Makefile.sh'. Trying pattern rule with stem Makefile'.
Trying implicit prerequisite Makefile,v'. Trying pattern rule with stem Makefile'.
Trying implicit prerequisite RCS/Makefile,v'. Trying pattern rule with stem Makefile'.
Trying implicit prerequisite RCS/Makefile'. Trying pattern rule with stem Makefile'.
Trying implicit prerequisite s.Makefile'. Trying pattern rule with stem Makefile'.
Trying implicit prerequisite SCCS/s.Makefile'. Trying pattern rule with stem Makefile'.
Trying implicit prerequisite Makefile.o'. Looking for a rule with intermediate file Makefile.o'.
Avoiding implicit rule recursion.
Trying pattern rule with stem Makefile'. Trying implicit prerequisite Makefile.c'.
Trying pattern rule with stem Makefile'. Trying implicit prerequisite Makefile.cc'.
Trying pattern rule with stem Makefile'. Trying implicit prerequisite Makefile.C'.
Trying pattern rule with stem Makefile'. Trying implicit prerequisite Makefile.cpp'.
Trying pattern rule with stem Makefile'. Trying implicit prerequisite Makefile.p'.
Trying pattern rule with stem Makefile'. Trying implicit prerequisite Makefile.f'.
Trying pattern rule with stem Makefile'. Trying implicit prerequisite Makefile.F'.
Trying pattern rule with stem Makefile'. Trying implicit prerequisite Makefile.m'.
Trying pattern rule with stem Makefile'. Trying implicit prerequisite Makefile.r'.
Trying pattern rule with stem Makefile'. Trying implicit prerequisite Makefile.s'.
Trying pattern rule with stem Makefile'. Trying implicit prerequisite Makefile.S'.
Trying pattern rule with stem Makefile'. Trying implicit prerequisite Makefile.mod'.
Trying pattern rule with stem Makefile.o'. Trying implicit prerequisite Makefile.o,v'.
Trying pattern rule with stem Makefile.o'. Trying implicit prerequisite RCS/Makefile.o,v'.
Trying pattern rule with stem Makefile.o'. Trying implicit prerequisite RCS/Makefile.o'.
Trying pattern rule with stem Makefile.o'. Trying implicit prerequisite s.Makefile.o'.
Trying pattern rule with stem Makefile.o'. Trying implicit prerequisite SCCS/s.Makefile.o'.
Trying pattern rule with stem Makefile'. Trying implicit prerequisite Makefile.c'.
Looking for a rule with intermediate file Makefile.c'. Avoiding implicit rule recursion. Avoiding implicit rule recursion. Trying pattern rule with stem Makefile'.
Trying implicit prerequisite Makefile.y'. Trying pattern rule with stem Makefile'.
Trying implicit prerequisite Makefile.l'. Trying pattern rule with stem Makefile'.
Trying implicit prerequisite Makefile.w'. Trying pattern rule with stem Makefile'.
Trying implicit prerequisite Makefile.w'. Trying pattern rule with stem Makefile.c'.
Trying implicit prerequisite Makefile.c,v'. Trying pattern rule with stem Makefile.c'.
Trying implicit prerequisite RCS/Makefile.c,v'. Trying pattern rule with stem Makefile.c'.
Trying implicit prerequisite RCS/Makefile.c'. Trying pattern rule with stem Makefile.c'.
Trying implicit prerequisite s.Makefile.c'. Trying pattern rule with stem Makefile.c'.
Trying implicit prerequisite SCCS/s.Makefile.c'. Trying pattern rule with stem Makefile'.
Trying implicit prerequisite Makefile.y'. Looking for a rule with intermediate file Makefile.y'.
Avoiding implicit rule recursion.
Avoiding implicit rule recursion.
Avoiding implicit rule recursion.
Trying pattern rule with stem Makefile.y'. Trying implicit prerequisite Makefile.y,v'.
Trying pattern rule with stem Makefile.y'. Trying implicit prerequisite RCS/Makefile.y,v'.
Trying pattern rule with stem Makefile.y'. Trying implicit prerequisite RCS/Makefile.y'.
Trying pattern rule with stem Makefile.y'. Trying implicit prerequisite s.Makefile.y'.
Trying pattern rule with stem Makefile.y'. Trying implicit prerequisite SCCS/s.Makefile.y'.
Trying pattern rule with stem Makefile'. Trying implicit prerequisite Makefile.l'.
Looking for a rule with intermediate file Makefile.l'. Avoiding implicit rule recursion. Avoiding implicit rule recursion. Avoiding implicit rule recursion. Trying pattern rule with stem Makefile.l'.
Trying implicit prerequisite Makefile.l,v'. Trying pattern rule with stem Makefile.l'.
Trying implicit prerequisite RCS/Makefile.l,v'. Trying pattern rule with stem Makefile.l'.
Trying implicit prerequisite RCS/Makefile.l'. Trying pattern rule with stem Makefile.l'.
Trying implicit prerequisite s.Makefile.l'. Trying pattern rule with stem Makefile.l'.
Trying implicit prerequisite SCCS/s.Makefile.l'. Trying pattern rule with stem Makefile'.
Trying implicit prerequisite Makefile.w'. Looking for a rule with intermediate file Makefile.w'.
Avoiding implicit rule recursion.
Avoiding implicit rule recursion.
Avoiding implicit rule recursion.
Trying pattern rule with stem Makefile.w'. Trying implicit prerequisite Makefile.w,v'.
Trying pattern rule with stem Makefile.w'. Trying implicit prerequisite RCS/Makefile.w,v'.
Trying pattern rule with stem Makefile.w'. Trying implicit prerequisite RCS/Makefile.w'.
Trying pattern rule with stem Makefile.w'. Trying implicit prerequisite s.Makefile.w'.
Trying pattern rule with stem Makefile.w'. Trying implicit prerequisite SCCS/s.Makefile.w'.
Trying pattern rule with stem Makefile'. Rejecting impossible implicit prerequisite Makefile.w'.
Trying pattern rule with stem Makefile'. Trying implicit prerequisite Makefile.cc'.
Looking for a rule with intermediate file Makefile.cc'. Avoiding implicit rule recursion. Avoiding implicit rule recursion. Trying pattern rule with stem Makefile.cc'.
Trying implicit prerequisite Makefile.cc,v'. Trying pattern rule with stem Makefile.cc'.
Trying implicit prerequisite RCS/Makefile.cc,v'. Trying pattern rule with stem Makefile.cc'.
Trying implicit prerequisite RCS/Makefile.cc'. Trying pattern rule with stem Makefile.cc'.
Trying implicit prerequisite s.Makefile.cc'. Trying pattern rule with stem Makefile.cc'.
Trying implicit prerequisite SCCS/s.Makefile.cc'. Trying pattern rule with stem Makefile'.
Trying implicit prerequisite Makefile.C'. Looking for a rule with intermediate file Makefile.C'.
Avoiding implicit rule recursion.
Avoiding implicit rule recursion.
Trying pattern rule with stem Makefile.C'. Trying implicit prerequisite Makefile.C,v'.
Trying pattern rule with stem Makefile.C'. Trying implicit prerequisite RCS/Makefile.C,v'.
Trying pattern rule with stem Makefile.C'. Trying implicit prerequisite RCS/Makefile.C'.
Trying pattern rule with stem Makefile.C'. Trying implicit prerequisite s.Makefile.C'.
Trying pattern rule with stem Makefile.C'. Trying implicit prerequisite SCCS/s.Makefile.C'.
Trying pattern rule with stem Makefile'. Trying implicit prerequisite Makefile.cpp'.
Looking for a rule with intermediate file Makefile.cpp'. Avoiding implicit rule recursion. Avoiding implicit rule recursion. Trying pattern rule with stem Makefile.cpp'.
Trying implicit prerequisite Makefile.cpp,v'. Trying pattern rule with stem Makefile.cpp'.
Trying implicit prerequisite RCS/Makefile.cpp,v'. Trying pattern rule with stem Makefile.cpp'.
Trying implicit prerequisite RCS/Makefile.cpp'. Trying pattern rule with stem Makefile.cpp'.
Trying implicit prerequisite s.Makefile.cpp'. Trying pattern rule with stem Makefile.cpp'.
Trying implicit prerequisite SCCS/s.Makefile.cpp'. Trying pattern rule with stem Makefile'.
Trying implicit prerequisite Makefile.p'. Looking for a rule with intermediate file Makefile.p'.
Avoiding implicit rule recursion.
Avoiding implicit rule recursion.
Trying pattern rule with stem Makefile'. Trying implicit prerequisite Makefile.web'.
Trying pattern rule with stem Makefile.p'. Trying implicit prerequisite Makefile.p,v'.
Trying pattern rule with stem Makefile.p'. Trying implicit prerequisite RCS/Makefile.p,v'.
Trying pattern rule with stem Makefile.p'. Trying implicit prerequisite RCS/Makefile.p'.
Trying pattern rule with stem Makefile.p'. Trying implicit prerequisite s.Makefile.p'.
Trying pattern rule with stem Makefile.p'. Trying implicit prerequisite SCCS/s.Makefile.p'.
Trying pattern rule with stem Makefile'. Trying implicit prerequisite Makefile.web'.
Looking for a rule with intermediate file Makefile.web'. Avoiding implicit rule recursion. Avoiding implicit rule recursion. Avoiding implicit rule recursion. Trying pattern rule with stem Makefile.web'.
Trying implicit prerequisite Makefile.web,v'. Trying pattern rule with stem Makefile.web'.
Trying implicit prerequisite RCS/Makefile.web,v'. Trying pattern rule with stem Makefile.web'.
Trying implicit prerequisite RCS/Makefile.web'. Trying pattern rule with stem Makefile.web'.
Trying implicit prerequisite s.Makefile.web'. Trying pattern rule with stem Makefile.web'.
Trying implicit prerequisite SCCS/s.Makefile.web'. Trying pattern rule with stem Makefile'.
Trying implicit prerequisite Makefile.f'. Looking for a rule with intermediate file Makefile.f'.
Avoiding implicit rule recursion.
Avoiding implicit rule recursion.
Trying pattern rule with stem Makefile'. Trying implicit prerequisite Makefile.F'.
Trying pattern rule with stem Makefile'. Trying implicit prerequisite Makefile.r'.
Trying pattern rule with stem Makefile.f'. Trying implicit prerequisite Makefile.f,v'.
Trying pattern rule with stem Makefile.f'. Trying implicit prerequisite RCS/Makefile.f,v'.
Trying pattern rule with stem Makefile.f'. Trying implicit prerequisite RCS/Makefile.f'.
Trying pattern rule with stem Makefile.f'. Trying implicit prerequisite s.Makefile.f'.
Trying pattern rule with stem Makefile.f'. Trying implicit prerequisite SCCS/s.Makefile.f'.
Trying pattern rule with stem Makefile'. Trying implicit prerequisite Makefile.F'.
Looking for a rule with intermediate file Makefile.F'. Avoiding implicit rule recursion. Avoiding implicit rule recursion. Avoiding implicit rule recursion. Trying pattern rule with stem Makefile.F'.
Trying implicit prerequisite Makefile.F,v'. Trying pattern rule with stem Makefile.F'.
Trying implicit prerequisite RCS/Makefile.F,v'. Trying pattern rule with stem Makefile.F'.
Trying implicit prerequisite RCS/Makefile.F'. Trying pattern rule with stem Makefile.F'.
Trying implicit prerequisite s.Makefile.F'. Trying pattern rule with stem Makefile.F'.
Trying implicit prerequisite SCCS/s.Makefile.F'. Trying pattern rule with stem Makefile'.
Trying implicit prerequisite Makefile.r'. Looking for a rule with intermediate file Makefile.r'.
Avoiding implicit rule recursion.
Avoiding implicit rule recursion.
Avoiding implicit rule recursion.
Trying pattern rule with stem Makefile'. Rejecting impossible implicit prerequisite Makefile.l'.
Trying pattern rule with stem Makefile.r'. Trying implicit prerequisite Makefile.r,v'.
Trying pattern rule with stem Makefile.r'. Trying implicit prerequisite RCS/Makefile.r,v'.
Trying pattern rule with stem Makefile.r'. Trying implicit prerequisite RCS/Makefile.r'.
Trying pattern rule with stem Makefile.r'. Trying implicit prerequisite s.Makefile.r'.
Trying pattern rule with stem Makefile.r'. Trying implicit prerequisite SCCS/s.Makefile.r'.
Trying pattern rule with stem Makefile'. Rejecting impossible implicit prerequisite Makefile.F'.
Trying pattern rule with stem Makefile'. Trying implicit prerequisite Makefile.m'.
Looking for a rule with intermediate file Makefile.m'. Avoiding implicit rule recursion. Avoiding implicit rule recursion. Trying pattern rule with stem Makefile'.
Trying implicit prerequisite Makefile.ym'. Trying pattern rule with stem Makefile.m'.
Trying implicit prerequisite Makefile.m,v'. Trying pattern rule with stem Makefile.m'.
Trying implicit prerequisite RCS/Makefile.m,v'. Trying pattern rule with stem Makefile.m'.
Trying implicit prerequisite RCS/Makefile.m'. Trying pattern rule with stem Makefile.m'.
Trying implicit prerequisite s.Makefile.m'. Trying pattern rule with stem Makefile.m'.
Trying implicit prerequisite SCCS/s.Makefile.m'. Trying pattern rule with stem Makefile'.
Trying implicit prerequisite Makefile.ym'. Looking for a rule with intermediate file Makefile.ym'.
Avoiding implicit rule recursion.
Avoiding implicit rule recursion.
Avoiding implicit rule recursion.
Trying pattern rule with stem Makefile.ym'. Trying implicit prerequisite Makefile.ym,v'.
Trying pattern rule with stem Makefile.ym'. Trying implicit prerequisite RCS/Makefile.ym,v'.
Trying pattern rule with stem Makefile.ym'. Trying implicit prerequisite RCS/Makefile.ym'.
Trying pattern rule with stem Makefile.ym'. Trying implicit prerequisite s.Makefile.ym'.
Trying pattern rule with stem Makefile.ym'. Trying implicit prerequisite SCCS/s.Makefile.ym'.
Trying pattern rule with stem Makefile'. Rejecting impossible implicit prerequisite Makefile.r'.
Trying pattern rule with stem Makefile'. Trying implicit prerequisite Makefile.s'.
Looking for a rule with intermediate file Makefile.s'. Avoiding implicit rule recursion. Avoiding implicit rule recursion. Trying pattern rule with stem Makefile'.
Trying implicit prerequisite Makefile.S'. Trying pattern rule with stem Makefile.s'.
Trying implicit prerequisite Makefile.s,v'. Trying pattern rule with stem Makefile.s'.
Trying implicit prerequisite RCS/Makefile.s,v'. Trying pattern rule with stem Makefile.s'.
Trying implicit prerequisite RCS/Makefile.s'. Trying pattern rule with stem Makefile.s'.
Trying implicit prerequisite s.Makefile.s'. Trying pattern rule with stem Makefile.s'.
Trying implicit prerequisite SCCS/s.Makefile.s'. Trying pattern rule with stem Makefile'.
Trying implicit prerequisite Makefile.S'. Looking for a rule with intermediate file Makefile.S'.
Avoiding implicit rule recursion.
Avoiding implicit rule recursion.
Avoiding implicit rule recursion.
Trying pattern rule with stem Makefile.S'. Trying implicit prerequisite Makefile.S,v'.
Trying pattern rule with stem Makefile.S'. Trying implicit prerequisite RCS/Makefile.S,v'.
Trying pattern rule with stem Makefile.S'. Trying implicit prerequisite RCS/Makefile.S'.
Trying pattern rule with stem Makefile.S'. Trying implicit prerequisite s.Makefile.S'.
Trying pattern rule with stem Makefile.S'. Trying implicit prerequisite SCCS/s.Makefile.S'.
Trying pattern rule with stem Makefile'. Rejecting impossible implicit prerequisite Makefile.S'.
Trying pattern rule with stem Makefile'. Trying implicit prerequisite Makefile.mod'.
Looking for a rule with intermediate file Makefile.mod'. Avoiding implicit rule recursion. Avoiding implicit rule recursion. Trying pattern rule with stem Makefile.mod'.
Trying implicit prerequisite Makefile.mod,v'. Trying pattern rule with stem Makefile.mod'.
Trying implicit prerequisite RCS/Makefile.mod,v'. Trying pattern rule with stem Makefile.mod'.
Trying implicit prerequisite RCS/Makefile.mod'. Trying pattern rule with stem Makefile.mod'.
Trying implicit prerequisite s.Makefile.mod'. Trying pattern rule with stem Makefile.mod'.
Trying implicit prerequisite SCCS/s.Makefile.mod'. Trying pattern rule with stem Makefile'.
Rejecting impossible implicit prerequisite Makefile.c'. Trying pattern rule with stem Makefile'.
Rejecting impossible implicit prerequisite Makefile.cc'. Trying pattern rule with stem Makefile'.
Rejecting impossible implicit prerequisite Makefile.C'. Trying pattern rule with stem Makefile'.
Rejecting impossible implicit prerequisite Makefile.cpp'. Trying pattern rule with stem Makefile'.
Rejecting impossible implicit prerequisite Makefile.p'. Trying pattern rule with stem Makefile'.
Rejecting impossible implicit prerequisite Makefile.f'. Trying pattern rule with stem Makefile'.
Rejecting impossible implicit prerequisite Makefile.F'. Trying pattern rule with stem Makefile'.
Rejecting impossible implicit prerequisite Makefile.m'. Trying pattern rule with stem Makefile'.
Rejecting impossible implicit prerequisite Makefile.r'. Trying pattern rule with stem Makefile'.
Rejecting impossible implicit prerequisite Makefile.s'. Trying pattern rule with stem Makefile'.
Rejecting impossible implicit prerequisite Makefile.S'. Trying pattern rule with stem Makefile'.
Rejecting impossible implicit prerequisite Makefile.mod'. Trying pattern rule with stem Makefile'.
Trying implicit prerequisite Makefile.sh'. Looking for a rule with intermediate file Makefile.sh'.
Avoiding implicit rule recursion.
Trying pattern rule with stem Makefile.sh'. Trying implicit prerequisite Makefile.sh,v'.
Trying pattern rule with stem Makefile.sh'. Trying implicit prerequisite RCS/Makefile.sh,v'.
Trying pattern rule with stem Makefile.sh'. Trying implicit prerequisite RCS/Makefile.sh'.
Trying pattern rule with stem Makefile.sh'. Trying implicit prerequisite s.Makefile.sh'.
Trying pattern rule with stem Makefile.sh'. Trying implicit prerequisite SCCS/s.Makefile.sh'.
No implicit rule found for Makefile'. Finished prerequisites of target file Makefile'.
No need to remake target Makefile'. Updating goal targets.... Considering target file fmt'.
File fmt' does not exist. Finished prerequisites of target file fmt'.
Must remake target fmt'. Invoking recipe from Makefile:158 to update target fmt'.
Putting child 0x1eccee0 (fmt) PID 39646 on the chain.
Live child 0x1eccee0 (fmt) PID 39646
Reaping winning child 0x1eccee0 PID 39646
Removing child 0x1eccee0 PID 39646 from chain.
Successfully remade target file `fmt'.

@srebhan
Copy link
Member

srebhan commented Mar 6, 2025

@tguenneguez do you run golang v1.24? I pushed the format corrections for you...

@telegraf-tiger
Copy link
Contributor

telegraf-tiger bot commented Mar 6, 2025

Download PR build artifacts for linux_amd64.tar.gz, darwin_arm64.tar.gz, and windows_amd64.zip.
Downloads for additional architectures and packages are available below.

🥳 This pull request decreases the Telegraf binary size by -1.08 % for linux amd64 (new size: 288.7 MB, nightly size 291.8 MB)

📦 Click here to get additional PR build artifacts

Artifact URLs

DEB RPM TAR GZ ZIP
amd64.deb aarch64.rpm darwin_amd64.tar.gz windows_amd64.zip
arm64.deb armel.rpm darwin_arm64.tar.gz windows_arm64.zip
armel.deb armv6hl.rpm freebsd_amd64.tar.gz windows_i386.zip
armhf.deb i386.rpm freebsd_armv7.tar.gz
i386.deb ppc64le.rpm freebsd_i386.tar.gz
mips.deb riscv64.rpm linux_amd64.tar.gz
mipsel.deb s390x.rpm linux_arm64.tar.gz
ppc64el.deb x86_64.rpm linux_armel.tar.gz
riscv64.deb linux_armhf.tar.gz
s390x.deb linux_i386.tar.gz
linux_mips.tar.gz
linux_mipsel.tar.gz
linux_ppc64le.tar.gz
linux_riscv64.tar.gz
linux_s390x.tar.gz

Copy link
Member

@srebhan srebhan 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 all your work @tguenneguez!

@srebhan srebhan added the ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. label Mar 6, 2025
@srebhan
Copy link
Member

srebhan commented Mar 6, 2025

@DStrand1 I will assign this back to you for giving it a final check as the code changed quite a bit...

@srebhan srebhan assigned mstrandboge and unassigned srebhan Mar 6, 2025
@mstrandboge mstrandboge merged commit fc6bf15 into influxdata:master Mar 7, 2025
26 of 27 checks passed
@github-actions github-actions bot added this to the v1.34.0 milestone Mar 7, 2025
asaharn pushed a commit to asaharn/telegraf that referenced this pull request Mar 10, 2025
Co-authored-by: Thomas Casteleyn <thomas.casteleyn@me.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/procstat feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat(inputs.procstat): Add child level tag
4 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy