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

textfile_dir not inst #1382

Closed
irnmn opened this issue Jan 11, 2024 · 5 comments
Closed

textfile_dir not inst #1382

irnmn opened this issue Jan 11, 2024 · 5 comments

Comments

@irnmn
Copy link

irnmn commented Jan 11, 2024

use command msiexec /i windows_exporter-0.25.0-amd64.msi ENABLED_COLLECTORS="cpu,cs,iis,logical_disk,memory,net,os,process,scheduled_task,service,system,tcp,textfile" LISTEN_PORT="9182" TEXTFILE_DIR="C:\custom_metrics" freezing process in progress
But if you run without the last command, then everything is successful

@DiniFarb
Copy link
Contributor

This my fault, because as I was implementing #1262 (v0.24.0) I forgot to update the wxs

<Property Id="TEXTFILE_DIR" Secure="yes" />
<SetProperty Id="TextfileDirFlag" After="InstallFiles" Sequence="execute" Value="--collector.textfile.directory [TEXTFILE_DIR]" Condition="TEXTFILE_DIR" />

With #1262 the flag --collector.textfile.directory was marked deprecated and then in the next release removed by #1337 (v0.25.0)

@breed808 should I bump in a PR to fix? If so my question would be, should I also update the ID like Id="TEXTFILE_DIRS" instead of Id="TEXTFILE_DIR"

@breed808
Copy link
Contributor

Yes please, a PR is welcome. I'd go with Id="TEXTFILE_DIRS" as that clearly indicates that multiple directories can be supplied. The TEXTFILE_DIR reference in the main README will need to be updated too.

DiniFarb added a commit to DiniFarb/windows_exporter that referenced this issue Jan 12, 2024
Signed-off-by: Dinifarb <andreas.vogt89@bluewin.ch>
DiniFarb added a commit to DiniFarb/windows_exporter that referenced this issue Jan 12, 2024
DiniFarb added a commit to DiniFarb/windows_exporter that referenced this issue Jan 12, 2024
…rsFlag

Signed-off-by: Dinifarb <andreas.vogt89@bluewin.ch>
@irnmn
Copy link
Author

irnmn commented Jan 16, 2024

will there be a new version 0.25.1 or what?

@jkroepke
Copy link
Member

https://github.com/prometheus-community/windows_exporter/releases/tag/v0.25.1 - please let us know, if you issue is resolved

webalexeu pushed a commit to webalexeu/windows_exporter that referenced this issue Feb 16, 2024
Signed-off-by: Dinifarb <andreas.vogt89@bluewin.ch>
Signed-off-by: Alexandre JARDON <28548335+webalexeu@users.noreply.github.com>
webalexeu pushed a commit to webalexeu/windows_exporter that referenced this issue Feb 16, 2024
…rsFlag

Signed-off-by: Dinifarb <andreas.vogt89@bluewin.ch>
Signed-off-by: Alexandre JARDON <28548335+webalexeu@users.noreply.github.com>
Copy link

This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.

@github-actions github-actions bot added the Stale label Apr 16, 2024
jrvaldes pushed a commit to jrvaldes/openshift-prometheus-community-windows_exporter that referenced this issue May 14, 2024
Signed-off-by: Dinifarb <andreas.vogt89@bluewin.ch>
jrvaldes pushed a commit to jrvaldes/openshift-prometheus-community-windows_exporter that referenced this issue May 14, 2024
…rsFlag

Signed-off-by: Dinifarb <andreas.vogt89@bluewin.ch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants