-
Notifications
You must be signed in to change notification settings - Fork 487
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
Help to configure Grafana Agent (OSS) #6034
Comments
take a look at my config for refrence i am having a timeout issue currently on some metrics but it is sending data |
Hello folks We're having the same problem as @rfratto . @brngates98 , your config is not really relevant in this case, as per my understanding. Your collectors: @rfratto collectors: I've been trying for two days to enable the process monitoring for our Windows fleet and whatever the config I'm trying and I'm including here not using any config block at all because it should fall back on the defaults, I'm getting this nil pointer exception. I've seen some big PRs on the community windows_exporter codebase which I think caused some defaults to not be passed on correctly? |
Ahhh my example did not include the process collector but I do use it on a
few windows nodes, I can share that snippet if you’d like
…On Thu, Jan 4, 2024 at 11:27 AM Alex Cercel ***@***.***> wrote:
Hello folks
We're having the same problem as @rfratto <https://github.com/rfratto> .
@brngates98 <https://github.com/brngates98> , your config is not really
relevant in this case, as per my understanding.
You are not using the process collector, which is what's causing the
relevant error.
Your collectors:
enabled_collectors:
cpu,cs,logical_disk,net,os,service,system,time,diskdrive <- no "process"
@rfratto <https://github.com/rfratto> collectors:
enabled_collectors:
cache,cpu,cpu_info,iis,logon,memory,mscluster_cluster,mscluster_network,netframework_clrmemory,tcp,time,mssql,cs,net,service,os,cpu_info,memory,mssql,process,time
<- second one from the end
I've been trying for two days to enable the process monitoring for our
Windows fleet and whatever the config I'm trying and I'm including here not
using any config block at all because it should fall back on the defaults,
I'm getting this nil pointer exception.
I've seen some big PRs on the community windows_exporter codebase which I
think caused some defaults to not be passed on correctly?
—
Reply to this email directly, view it on GitHub
<#6034 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOFQ2CPZQR3UQV2UQIIQQ6TYM3J63AVCNFSM6AAAAABBKBBIT6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZXGM4TEMZZGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
sum by(process) (rate(windows_process_cpu_time_total{agent_hostname="$server"}[5m])) query for processes ill get you the actual Grafana Agent config that includes the process collector and collects metrics from all the processes on the windows system |
The actual config would be really helpful. Thank you. |
cc @mattdurham This looks related to the fix we got out for #5866, right? |
The fix is in the RC if you want to see if that resolves the problem. |
@avcercel here is the config that is on one of our Cash register(PALM POS, Windows 10LTSB, we use it to monitor the processes as palm.exe and pharoh.exe like to have memory leaks and This is the windows exporter specific piece
|
Discussed in #6032
Originally posted by Shivam327 January 2, 2024
I have tried to implenemnet Agent on Cloud it worked successfully, now when i try to implemenet it in OSS
It gives below error
Below is my Agent Config
Earlier it was working, but now this error is comming,
Please help me out to solve this porblem
The text was updated successfully, but these errors were encountered: