Need advice about which tool to choose?Ask the StackShare community!

Loki

278
244
+ 1
16
Zap

10
30
+ 1
0
Add tool

Loki vs Zap: What are the differences?

What is Loki? Like Prometheus, but for logs (by the makers of Grafana). Loki is a horizontally-scalable, highly-available, multi-tenant log aggregation system inspired by Prometheus. It is designed to be very cost effective and easy to operate, as it does not index the contents of the logs, but rather a set of labels for each log stream.

What is Zap? Blazing fast, structured, leveled logging in Go (by Uber). Zap takes a different approach. It includes a reflection-free, zero-allocation JSON encoder, and the base Logger strives to avoid serialization overhead and allocations wherever possible. By building the high-level SugaredLogger on that foundation, zap lets users choose when they need to count every allocation and when they'd prefer a more familiar, loosely typed API.

Loki and Zap can be primarily classified as "Logging" tools.

Loki and Zap are both open source tools. It seems that Zap with 7.22K GitHub stars and 553 forks on GitHub has more adoption than Loki with 6.48K GitHub stars and 364 GitHub forks.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Loki
Pros of Zap
  • 5
    Opensource
  • 3
    Near real-time search
  • 2
    REST Api
  • 2
    Very fast ingestion
  • 2
    Low resource footprint
  • 1
    Smart way of tagging
  • 1
    Perfect fit for k8s
    Be the first to leave a pro

    Sign up to add or upvote prosMake informed product decisions

    What is Loki?

    Loki is a horizontally-scalable, highly-available, multi-tenant log aggregation system inspired by Prometheus. It is designed to be very cost effective and easy to operate, as it does not index the contents of the logs, but rather a set of labels for each log stream.

    What is Zap?

    Zap takes a different approach. It includes a reflection-free, zero-allocation JSON encoder, and the base Logger strives to avoid serialization overhead and allocations wherever possible. By building the high-level SugaredLogger on that foundation, zap lets users choose when they need to count every allocation and when they'd prefer a more familiar, loosely typed API.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use Loki?
    What companies use Zap?
    See which teams inside your own company are using Loki or Zap.
    Sign up for StackShare EnterpriseLearn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Loki?
    What tools integrate with Zap?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    What are some alternatives to Loki and Zap?
    Elasticsearch
    Elasticsearch is a distributed, RESTful search and analytics engine capable of storing data and searching it in near real time. Elasticsearch, Kibana, Beats and Logstash are the Elastic Stack (sometimes called the ELK Stack).
    ELK
    It is the acronym for three open source projects: Elasticsearch, Logstash, and Kibana. Elasticsearch is a search and analytics engine. Logstash is a server‑side data processing pipeline that ingests data from multiple sources simultaneously, transforms it, and then sends it to a "stash" like Elasticsearch. Kibana lets users visualize data with charts and graphs in Elasticsearch.
    Prometheus
    Prometheus is a systems and service monitoring system. It collects metrics from configured targets at given intervals, evaluates rule expressions, displays the results, and can trigger alerts if some condition is observed to be true.
    Log4j
    It is an open source logging framework. With this tool – logging behavior can be controlled by editing a configuration file only without touching the application binary and can be used to store the Selenium Automation flow logs.
    Castle Core
    It provides common Castle Project abstractions including logging services. It also features Castle DynamicProxy a lightweight runtime proxy generator, and Castle DictionaryAdapter.
    See all alternatives