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 "inner-job-同\xe6\xad" is not valid UTF-8 #239

Open
shuzheng opened this issue Jul 29, 2022 · 1 comment · May be fixed by #240
Open

panic: label value "inner-job-同\xe6\xad" is not valid UTF-8 #239

shuzheng opened this issue Jul 29, 2022 · 1 comment · May be fixed by #240

Comments

@shuzheng
Copy link

2022/07/29 06:42:32 Reading metrics from /host/proc based on "/var/process-exporter/config.yml"
level=info ts=2022-07-29T06:42:35.905Z caller=tls_config.go:195 msg="TLS is disabled." http2=false
panic: label value "inner-job-同\xe6\xad" is not valid UTF-8

goroutine 61 [running]:
github.com/prometheus/client_golang/prometheus.MustNewConstMetric(...)
/go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/value.go:107
github.com/ncabatoff/process-exporter/collector.(*NamedProcessCollector).scrape(0xc0000cd360, 0xc000ae4000)
/go/src/github.com/ncabatoff/process-exporter/collector/process_collector.go:318 +0x2791
github.com/ncabatoff/process-exporter/collector.(*NamedProcessCollector).start(0xc0000cd360)
/go/src/github.com/ncabatoff/process-exporter/collector/process_collector.go:248 +0x48
created by github.com/ncabatoff/process-exporter/collector.NewProcessCollector
/go/src/github.com/ncabatoff/process-exporter/collector/process_collector.go:206 +0x3cf

@shuzheng shuzheng linked a pull request Jul 29, 2022 that will close this issue
@fcecagno
Copy link

I'm hitting this issue, even though I'm using -threads false, so I wouldn't expect process-exporter to mess with thread names in the first place.

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.

2 participants