Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upProm2: "no token found" on scrape #2751
Comments
This comment has been minimized.
This comment has been minimized.
|
The bad output is in here: I emailed @fabxc an output from another private job that we have that has a very similar problem. |
This comment has been minimized.
This comment has been minimized.
|
Interesting. That one doesn't have the trailing commas fixed in #2752 |
This comment has been minimized.
This comment has been minimized.
|
Okay, so I cannot even use that input in a Given it's a valid unicode character, we probably have to support it but I think that's still not the intended behavior of your exporter. |
This comment has been minimized.
This comment has been minimized.
|
@fabxc that one is actually a Kubernetes controller |
This comment has been minimized.
This comment has been minimized.
|
An upstream one? |
This comment has been minimized.
This comment has been minimized.
|
@beorn7 @brian-brazil opinions? FWIW, we want to support unicode so people can use all the emojis they want (that works in pkg/textparse)... but NULL is fundamentally useless IMO and anything actually exposing it is probably not handling an internal edge case correctly, like here. |
This comment has been minimized.
This comment has been minimized.
|
@fabxc yup, unmodified 1.5.x series kubernetes controller. |
This comment has been minimized.
This comment has been minimized.
|
Argh... how can this stuff keep happening. Is the label value assembled somewhere internally in k8s though or passed through via your setup configuration somehow? |
This comment has been minimized.
This comment has been minimized.
|
So the problem is visible when you open the
I'll double check how we have that configured in our Kubernetes config and what version it is |
This comment has been minimized.
This comment has been minimized.
joshpmcghee
commented
May 22, 2017
|
We're running 1.5.3. |
This comment has been minimized.
This comment has been minimized.
|
I think we should keep supporting all valid UTF-8. While the NUL character is visually not as appealing as an emoji, it is common enough to slip in now and then. If we restricted ourselves to "all UTF-8 except NUL", we would require every metrics producer to keep this special case in mind and handle it. |
This comment has been minimized.
This comment has been minimized.
|
I've seen null in string responses from SNMP devices. I agree with @beorn7 |
fabxc
referenced this issue
May 24, 2017
Merged
pkg/textparse: allow null bytes in label values #2764
brian-brazil
added
the
dev-2.0
label
May 25, 2017
This comment has been minimized.
This comment has been minimized.
|
Fixed |
fabxc
closed this
Jun 12, 2017
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
mwitkow commentedMay 22, 2017
What did you do?
Set up monitoring side-by side between Prom2 and Prom1.
What did you expect to see?
The same data.
What did you see instead? Under which circumstances?
Some scrape targets report
no token found