VOOZH about

URL: https://thenewstack.io/grafanas-loki-2-0-features-new-log-labels-direct-alerts-and-a-prettier-dashboard/

⇱ Grafana’s Loki 2.0 Features New Log Labels, Direct Alerts and a Prettier Dashboard - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2020-10-30 11:04:42
Grafana’s Loki 2.0 Features New Log Labels, Direct Alerts and a Prettier Dashboard
news,
Observability

Grafana’s Loki 2.0 Features New Log Labels, Direct Alerts and a Prettier Dashboard

Oct 30th, 2020 11:04am by B. Cameron Gain
👁 Featued image for: Grafana’s Loki 2.0 Features New Log Labels, Direct Alerts and a Prettier Dashboard

The newly released version 2.0 of Grafana’s Loki log aggregation tool features an improved query language and the ability to generate alerts directly from the logs themselves.

Through Loki’s dashboard for log aggregation, for example, Loki 2.0 improves how logs and metrics can be labeled, classified and delineated for analysis: The tool now lets users write queries for alerts directly from within the dashboard — previously this function required configuring alerts with Grafana, which is Loki’s companion analytics and interactive visualization web application.

“We focused this release on three things: on getting metrics out of your logs, on building alerts off of those metrics, and building beautiful interactive dashboards,” Tom Wilkie, vice president of product at Grafana Labs, said during a keynote at ObservabilityCON.

👁 Image

During the ObservabilityCON keynote, Cyril Tovena, senior software engineer for Grafana Labs, demonstrated how these new features work. He showed, for example, how it is possible to set rules with Loki that are forwarded to the alert manager. Once an alert is received, he showed how it is possible to analyze the database in such a way that you quickly find the “root cause of the issue,” by, among other things, using Loki to analyze particular time spans for logs — categorized with tables — for the application.

👁 Image

During the demo, he also showed how Loki’s new functionality is useful for finding key metrics for Nginx for webserver management, which, Tovena said, “is not an easy task.” He showed, for example, how to use Loki to add more sophisticated and detailed labels for filtering and aggregation to improve metric capabilities to analyze latency data. “Now, it’s pretty much light and easy to digest and to find problems,” he said. “So, it’s not about just logs” since you can also extract new labels into metrics.

About two years ago, Grafana released Loki to support the “developer and operator” persona in such a way that users “get to the error contained in the logs as quickly as possible,” Wilkie said during the keynote at  ObservabilityCON. “We allow you to quickly pivot from metrics to logs, showing you relevant logs and metrics for your query,” Wilkie said. “And we wanted to make that as easy as possible.”

Loki owes much of its functionality to how the dashboard lists logs’ metadata, instead of dumping the entire log text onscreen, which would otherwise be more challenging to parse through.

“We do this by preserving the metadata and context you build up your query and your metrics — and then pivot that metadata directly over to your logs,” Wilkie said. “This simplification and this integrated flow really help de-stress the incident-response workflow, which is  what we were trying to achieve.“

Since the release of Loki 1.0 last year, Loki instances have increased from 5,000 to over 27,000, Grafana said.

Grafana also introduced Grafana 7.3 during ObservabilityCON, which features capabilities for better access to relevant metrics, logs and tracing capabilities for debugging and analysis. The new capability is part of Grafana’s original creators’ mission to create a single platform that covers all observability requirements. The idea is to allow users to be able “to pick the data source for metrics, logs and traces that fits your needs, giving you a lot more choice and freedom and preventing you from vendor lock-in,” Torkel Odegaard, Grafana creator and project lead and Grafana Labs’ co-founder, said.

TRENDING STORIES
BC Gain is founder and principal analyst for ReveCom Media. His obsession with computers began when he hacked a Space Invaders console to play all day for 25 cents at the local video arcade in the early 1980s. He then...
Read more from B. Cameron Gain
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.