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

panic: label value "ODS_T_BUGT - \xe8\xa1" is not valid UTF-8 #323

Open
caihaihcao opened this issue Nov 8, 2024 · 1 comment · May be fixed by #324
Open

panic: label value "ODS_T_BUGT - \xe8\xa1" is not valid UTF-8 #323

caihaihcao opened this issue Nov 8, 2024 · 1 comment · May be fixed by #324

Comments

@caihaihcao
Copy link

The process-exporter crashes after running for a while, and I would like to ask a professional to help me check this issue,Currently using version 0.8.4,The following are the relevant errors
Nov 8 04:00:35 cmsapp process-exporter[3371838]: panic: label value "ODS_T_BUGT - \xe8\xa1" is not valid UTF-8
Nov 8 04:00:35 cmsapp process-exporter[3371838]: goroutine 50 [running]:
Nov 8 04:00:35 cmsapp process-exporter[3371838]: github.com/prometheus/client_golang/prometheus.MustNewConstMetric(...)
Nov 8 04:00:35 cmsapp process-exporter[3371838]: #11/home/runner/go/pkg/mod/github.com/prometheus/[email protected]/prometheus/value.go:129
Nov 8 04:00:35 cmsapp process-exporter[3371838]: github.com/ncabatoff/process-exporter/collector.(*NamedProcessCollector).scrape(0xc00021c1e0, 0xc000b17180)
Nov 8 04:00:35 cmsapp process-exporter[3371838]: #11/home/runner/work/process-exporter/process-exporter/collector/process_collector.go:321 +0x1f91
Nov 8 04:00:35 cmsapp process-exporter[3371838]: github.com/ncabatoff/process-exporter/collector.(*NamedProcessCollector).start(...)
Nov 8 04:00:35 cmsapp process-exporter[3371838]: #11/home/runner/work/process-exporter/process-exporter/collector/process_collector.go:251
Nov 8 04:00:35 cmsapp process-exporter[3371838]: created by github.com/ncabatoff/process-exporter/collector.NewProcessCollector in goroutine 1
Nov 8 04:00:35 cmsapp process-exporter[3371838]: #11/home/runner/work/process-exporter/process-exporter/collector/process_collector.go:209 +0x40a

@caihaihcao
Copy link
Author

This problem has been bothering me for a long time. I upgraded from version 0.7.10 to 0.8.4 but still haven't solved it. The content of config. yml is as follows
process_names:
- name: "{{.Comm}}"
cmdline:
- '.+'

@fcecagno fcecagno linked a pull request Nov 11, 2024 that will close this issue
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 a pull request may close this issue.

1 participant