-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
Metrics labels and values in loki logs #423
Comments
A change is upcoming to avoid this side effect. @akvlad will provide updates once ready |
@deathalt the feature is inside the branch https://github.com/metrico/qryn/tree/feat_423 . |
* alter tables; * debug * ingestion impl * reading impl; reading test * reading impl; reading test * test if qryn works * workflow fixes * test fixes * debug * fix tests
Should be fixed in 3.2.0 |
@akvlad I updated to 3.2.0 and we're still seeing metrics appear as logs. |
Thanks for the report @bcarlock-mycarrier could you provide some examples for a better understanding? |
I'd be happy to provide more information if you can tell me what might be helpful. Right now we have two different qryn instances, one for metrics, one for logs in order to avoid this problem. |
@bcarlock-mycarrier @deathalt let me recap what was changed in 3.2.0. The extra env config was added to qryn: I believe that it appeared somewhere in the new documentation. Will recheck and add if needed. |
I have the same behavior.
|
DISTINGUISH_LOGS_METRICS=1 seems to have solved the problem for us. Which brings up the question, under what circumstance would you want this turned off? It doesn't seem like the sort of thing you'd usually put behind a feature flag. |
@bcarlock-mycarrier I think its safe to say once we're past the testing confirmations it will become a default |
Makes sense. I'm not sure if this is related or not, but I'm seeing somewhat reduced query performance after enabling that. |
Interesting. @akvlad is any performance impact expected? or might this be due to the "dual-stack" support of both old and new types? |
The type support is an extra |
@bcarlock-mycarrier I see.
And it would be great to get /series latency from you:
It would be nice to see Or if you have nginx or something in front, please share the timings. |
We just turned this back on yesterday. The current count is 232,913, so not a ton honestly.
|
Thanks for the report @bcarlock-mycarrier 👍 |
@bcarlock-mycarrier we cannot reproduce this condition. Please open a separate issue with all the case details. If you're running multiple instances or multiple readers/writers make sure they are all featuring the same settings. |
This should be resolved in the latest releases. Please reopen if the issue is still relevant. |
The problem was stayed with metrics labels in logs. |
Qryn Prometheus metrics duplicated in loki requests with labels and their values
it's not a problem when you can add a filter, such as
{job="loki", level=~""}
but if the log doesn't have a level, you have to come up with other ways to filter logs from metrics.And then the number of labels starts to grow for loki as well.
The text was updated successfully, but these errors were encountered: