Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Add TCP metrics #938

Merged
merged 9 commits into from
Oct 24, 2022
Merged

Add TCP metrics #938

merged 9 commits into from
Oct 24, 2022

Conversation

thiagoftsm
Copy link
Contributor

@thiagoftsm thiagoftsm commented Oct 23, 2022

This PR is bringing the following metrics to WMI:

1

2

3

@thiagoftsm thiagoftsm marked this pull request as draft October 23, 2022 00:22
@ilyam8
Copy link
Member

ilyam8 commented Oct 23, 2022

Hi. Thanks! You added windows_service_info testdata lines in this PR (TCP). By accident, I guess. Pls, remove them.

@thiagoftsm
Copy link
Contributor Author

Hi. Thanks! You added windows_service_info testdata lines in this PR (TCP). By accident, I guess. Pls, remove them.

You are right, I already removed them.

@ilyam8
Copy link
Member

ilyam8 commented Oct 23, 2022

@thiagoftsm, no, you didn't. I meant to say windows_service_*, not info only. I believe this should make sense for you because of the PR title (TCP).

@thiagoftsm
Copy link
Contributor Author

@thiagoftsm, no, you didn't. I meant to say windows_service_*, not info only. I believe this should make sense for you because of the PR title (TCP).

You did not request to remvoe windows_service_* you asked for windows_service_info. 😄
Last commit removed the remaining metrics.

@thiagoftsm thiagoftsm marked this pull request as ready for review October 24, 2022 01:42
@thiagoftsm thiagoftsm changed the title Add tcp metrics Add TCP metrics Oct 24, 2022
@ilyam8 ilyam8 merged commit 2ab1a5a into netdata:master Oct 24, 2022
@thiagoftsm thiagoftsm deleted the add_tcp_metrics branch October 24, 2022 11:47
@milindpatel63
Copy link

do we need to update the wmi collector command on our windows machine to collect these new "TCP" metrics?

Previous command was,

msiexec -i <path-to-msi-file> ENABLED_COLLECTORS=cpu,memory,net,logical_disk,os,system,logon,thermalzone

Should we just add "tcp" to enabled collectors?

@thiagoftsm
Copy link
Contributor Author

Hello @milindpatel63 ,

You will need to add ,tcp for the given command:

msiexec -i <path-to-msi-file> ENABLED_COLLECTORS=cpu,memory,net,logical_disk,os,system,logon,thermalzone,tcp

After this windows exporter will expose metrics and go.d.plugin will be able to collect.

Best regards!

@milindpatel63
Copy link

Hello @milindpatel63 ,

You will need to add ,tcp for the given command:

msiexec -i <path-to-msi-file> ENABLED_COLLECTORS=cpu,memory,net,logical_disk,os,system,logon,thermalzone,tcp

After this windows exporter will expose metrics and go.d.plugin will be able to collect.

Best regards!

Got it.
Kindly also update this info in the official docs here: https://learn.netdata.cloud/docs/agent/collectors/go.d.plugin/modules/wmi#requirements after the changes are merged in netdata master branch.

@thiagoftsm
Copy link
Contributor Author

Hello @milindpatel63 ,

You are right, I already push a commit updating the PR netdata/netdata#13878, and I made a new PR on this repo (#943) to update local documentation.

Thank you !

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

Successfully merging this pull request may close these issues.

3 participants