Home
Softono
dagger

dagger

Open source Apache-2.0 Vue
255
Stars
56
Forks
5
Issues
11
Watchers
5 years
Last Commit

About dagger

Dagger is a log query and management system built on top of Loki. It originated from the Dayu Infrastructure Platform developed by the CloudMinds cloud team and serves as a frontend for Loki, providing log querying, searching, saving, and downloading capabilities for container log management in cloud-native environments. The frontend is developed with Vue.js, uses Vuetify as the UI framework, and communicates with the backend through Axios. The backend is built with the Go Gin framework, uses GORM as the ORM layer with SQLite for data storage, and leverages Go WebSocket for real-time data bridging. Key features include simple label-based log queries that do not require complex LogQL syntax, saving and quick recall of query labels along with query history, snapshot saving of log query results to prevent data loss from Loki log rotation, and real-time log playback and downloading. Planned roadmap features include log alerting with editable and pushable rules, compatibility with AlertManager API for receiving Lo

Platforms

Web Self-hosted Cloud Docker

Languages

Go Vue

Build Status License Go Report Card

README of English

Dagger - A Log management system based on loki

Dagger 是一个基于 Loki 的日志查询和管理系统,它是由达闼科技( CloudMinds )云团队的大禹基础设施平台派生出来的一个项目。Dagger 运行在 Loki 前端,具备日志查询、搜索,保存和下载等特性,适用于云原生场景下的容器日志管理场景。

前端基于 vue.js 开发,使用 vuetify ui 框架进行设计,采用 axios 异步框架进行前后端交互。

后端基于 go gin 框架开发,gorm 作为数据框架,sqlite 作为数据存储端,采用 go websocket 桥接的方式进行实时数据处理。

本地快速部署请参见Quick Start

ScreenShots

Features

  • 日志查询,简单的标签查询,无需复杂的 LogQL 语法
  • 支持查询标签保存和快速查询,同时支持查询历史
  • 支持日志查询结果快照保存,防止 loki 日志轮转后找不到记录
  • 支持日志实时播放和下载功能

RoadMap

  • 日志告警

    • 支持界面添加日志 rules 编辑、保存和推送
    • 兼容 AlertManager API,接受 Loki Ruler 的告警事件推送
    • 日志事件聚合,分析和告警
    • 支持邮件、阿里云 SMS、阿里云 Voice 告警
  • 度量

    • 支持 LogQL 的方式在前端添加自定义日志度量

Usage

完整演示视频(youtubebilibili

Deployment

  • 分布式部署

1.0 upgrade to 2.0

Release Notes

Q&A

Support

扫描二维码关注公众号回复【入群】加入微信讨论组