We are configuring the exporter using: - name: "{{.ExeBase}};{{.Username}}".
And we have configured scraping in Prometheus such that we relabel the groupname source label with regex "(.*);(.*)" to get both processname and username labels. But the username label ends up referring to the UIDs, not the user names. We get for example: process1;1024.
Our system uses a centralized LDAP to manage accounts and the exporter runs on each node. With previous versions of the exporter we did not have this issue.
Any idea of what could be happening and how to get user names instead of UIDs?
We are configuring the exporter using:
- name: "{{.ExeBase}};{{.Username}}"
.And we have configured scraping in Prometheus such that we relabel the
groupname
source label with regex"(.*);(.*)"
to get bothprocessname
andusername
labels. But theusername
label ends up referring to the UIDs, not the user names. We get for example:process1;1024
.Our system uses a centralized LDAP to manage accounts and the exporter runs on each node. With previous versions of the exporter we did not have this issue.
Any idea of what could be happening and how to get user names instead of UIDs?