-
Notifications
You must be signed in to change notification settings - Fork 504
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
Use labels for namerd prometheus stats #1394
Comments
Tim-Brooks
pushed a commit
to Tim-Brooks/linkerd
that referenced
this issue
Dec 20, 2018
The `reader.Read` method only reads as many bytes as are currently available from reader. When reading the 4 byte message length header, if not all 4 of those bytes are available, `Read` will only read the available bytes and return. This causes alignment issues when the message body is read and there are still unread header bytes in the reader. These bytes will appear at the beginning of the message body and cause a crash when the message is unmarshalled. Use `io.ReadFull` to ensure that we read all 4 of the message length header bytes. Fixes linkerd#1287 Signed-off-by: Alex Leong <[email protected]>
Big +1! With a vanilla JMX exporter, before relabelling, nodes expose thousands of metrics with very long names, sometimes over 200 bytes and 9 levels. |
Hi @nemobis Linkerd 1 is in maintenance mode as we focus on Linkerd 2. That being said, if you're up for contributing, we'd love a PR. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We don't do any stat rewriting for namerd stats that are exported to prometheus (we do rewrite stats for linkerd, see #1061). As a result, we end up with stats that look like this:
It would be preferable to rewrite them to something like:
Or similar.
The text was updated successfully, but these errors were encountered: