-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
loki-mixin: Remove logmetrics and use loki for logs count #2937
Conversation
Signed-off-by: Arthur Outhenin-Chalandre <arthur@cri.epita.fr>
Codecov Report
@@ Coverage Diff @@
## master #2937 +/- ##
=======================================
Coverage 61.74% 61.74%
=======================================
Files 181 181
Lines 14711 14711
=======================================
Hits 9084 9084
Misses 4796 4796
Partials 831 831 |
I wasn't even aware of this dashboard. I took a look at it and there's a few references to things which are pretty old (such as |
Oh ok, we actually started to use it since recently and I find It pretty useful except this small problem and the fact that we can't select multiple pods/namespace/..., but if I recall correctly this is also a pretty simple fix. I can understand the reason to remove It if it's not really used/maintained... |
Hrm, that's fair. Have you tested these changes? I'm not opposed to merging this if it's helpful. On an unrelated note, I think we could benefit from combing through our dashboards and
|
Yes, the graph does work correctly with this change.
That would be awesome! :D |
This issue has been automatically marked as stale because it has not had any activity in the past 30 days. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Arthur Outhenin-Chalandre arthur@cri.epita.fr
What this PR does / why we need it:
I think that the log count should be computed from loki instead of prometheus because:
So the PR removes the "logmetrics" input and uses the loki input (
$logs
) to get the log count.I may have misunderstood the reason to use a prometheus input instead of loki for this, do not hesitate if I'm wrong :).