-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Client name with invalid characters does not work #53
Comments
@lzap this is weird, the client name is used in two places, calculating the path for the mmv file and calculating the hash for the cluster ID. Looking into it. |
@natoscott I tried https://github.com/performancecopilot/speed/blob/master/examples/basic_histogram/main.go, but renamed the client from histogram_test to histogram_test-1. According to mmvdump everything seems fine (it generates the cluster ID as 2060). However, on my installation also, metrics do not seem to be visible inside PCP. |
Yeah, everything seems to be okay (no errors), except nothing appears via pminfo. I was quite confused and lost some time debugging this until I realized the dash as the root cause. |
@lzap "client-123" is not a valid metric name component by the rules in PMNS(5) ...
... so dropping such a name is correct, but probably a warning should be issued? |
@natoscott just to be sure, will this rule apply to client name also, again, the client name is a speed specific feature used for two purposes
|
@suyash yep, the file name will be used as part of the metric name by default (mmv..*) - so should also have these name rules applied. |
It does not appear in PCP, I was tracking it down for an hour until I found that "client-123" won't work. Just a reminder for googlers.
The text was updated successfully, but these errors were encountered: