-
Notifications
You must be signed in to change notification settings - Fork 459
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
Invalid UTF-8 label -- Prometheus Error with VTS Exporter. #142
Comments
@vozlt Anything we can do for the error that we have got with the VTS.. |
@jakirpatel |
use release v0.2.1 ,have same problem |
@axingblog |
Has this issue been fixed? I'm facing the same problem with 'invalid UTF-8 label value'. |
@axingblog
nginx.conf
@topicgit |
|
@axingblog @topicgit @vozlt @SuperQ Which is prefer to represent e.g. request
result
|
* Fixes vozlt#142 * it can be escaped the 2 - 4 bytes character
Prometheus Version : v2.4.3
Error message :
error while linting: text format parsing error in line 501: invalid label value "\xfftest-api"
Problem information:
We are having 10 nginx servers with VTS module enabled. Somehow the client is making the wrong http request and nginx is throwing 502 error. In this scenario VTS is capturing the invalid character as well.
Prometheus is collecting the metrics from all nginx servers. So if someone hit the nginx with invalid http host then prometheus is scraping all the metrics even with invalid character. This is causing potential failure at prometheus layer.
Its throwing the error:
error while linting: text format parsing error in line 501: invalid label value "\xfftest-api"
We do have three different layers here Nginx , VTS module and Prometheus. Because of this we are potentially loosing our all metrics.
Is there any solution to have on these? Anyway we can tell the prometheus to remove the metric with invalid label and start functioning as usual . I think prometheus somehow should ignore these kind of metric to be logged in prometheus to avoid the failure of prometheus itself.
The text was updated successfully, but these errors were encountered: