-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Fingerprinting function misses a separator #74
Labels
Comments
beorn7
pushed a commit
that referenced
this issue
Feb 12, 2015
Also, add a test to expose #74 . benchmark old ns/op new ns/op delta BenchmarkMetric 7034 6272 -10.83% benchmark old allocs new allocs delta BenchmarkMetric 52 32 -38.46% benchmark old bytes new bytes delta BenchmarkMetric 1976 1800 -8.91%
beorn7
pushed a commit
that referenced
this issue
Feb 12, 2015
Also, add a test to expose #74 . benchmark old ns/op new ns/op delta BenchmarkMetric 7034 6272 -10.83% benchmark old allocs new allocs delta BenchmarkMetric 52 32 -38.46% benchmark old bytes new bytes delta BenchmarkMetric 1976 1800 -8.91%
beorn7
pushed a commit
that referenced
this issue
Feb 12, 2015
Also, add a test to expose #74 . benchmark old ns/op new ns/op delta BenchmarkMetric 7034 6272 -10.83% benchmark old allocs new allocs delta BenchmarkMetric 52 32 -38.46% benchmark old bytes new bytes delta BenchmarkMetric 1976 1800 -8.91%
beorn7
pushed a commit
that referenced
this issue
Mar 3, 2015
This fixes #74 . IT CHANGES THE FINGERPRINTING AND THEREFORE INVALIDATES EACH AND EVERY PERSISTED FINGERPRINT (I.E. YOU HAVE TO WIPE THE STORAGE TO USE THIS). This commit removes the LabelValuesToSignature function as it is used nowhere (and broken in the way it is implemented right now). Also, remove one more golint warning.
beorn7
pushed a commit
that referenced
this issue
Mar 3, 2015
This fixes #74 . IT CHANGES THE FINGERPRINTING AND THEREFORE INVALIDATES EACH AND EVERY PERSISTED FINGERPRINT (I.E. YOU HAVE TO WIPE THE STORAGE TO USE THIS). This commit removes the LabelValuesToSignature function as it is used nowhere (and broken in the way it is implemented right now). Also, remove one more golint warning.
beorn7
pushed a commit
that referenced
this issue
Mar 3, 2015
This fixes #74 . IT CHANGES THE FINGERPRINTING AND THEREFORE INVALIDATES EACH AND EVERY PERSISTED FINGERPRINT (I.E. YOU HAVE TO WIPE THE STORAGE TO USE THIS). This commit removes the LabelValuesToSignature function as it is used nowhere (and broken in the way it is implemented right now). Also, remove one more golint warning.
Cori1109
added a commit
to Cori1109/client_golang
that referenced
this issue
Jan 9, 2023
Also, add a test to expose prometheus/client_golang#74 . benchmark old ns/op new ns/op delta BenchmarkMetric 7034 6272 -10.83% benchmark old allocs new allocs delta BenchmarkMetric 52 32 -38.46% benchmark old bytes new bytes delta BenchmarkMetric 1976 1800 -8.91%
Cori1109
added a commit
to Cori1109/client_golang
that referenced
this issue
Jan 9, 2023
This fixes prometheus/client_golang#74 . IT CHANGES THE FINGERPRINTING AND THEREFORE INVALIDATES EACH AND EVERY PERSISTED FINGERPRINT (I.E. YOU HAVE TO WIPE THE STORAGE TO USE THIS). This commit removes the LabelValuesToSignature function as it is used nowhere (and broken in the way it is implemented right now). Also, remove one more golint warning.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
x{a="bb",b="c} and x{a="b",bb="c"} have the same fingerprint with the current fingerprinting method.
Reason is that we have a separator between label name and label value, but not between whole label pairs.
This is easy to fix, but invalidates all storage. :-(((
The text was updated successfully, but these errors were encountered: