Like Prometheus, but for logs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
loki/vendor/github.com/alecthomas/units
renovate[bot] 21066ea467
fix(deps): update module github.com/prometheus/alertmanager to v0.28.0 (#15771)
1 year ago
..
COPYING
README.md Upgrade Cortex, Prometheus and Thanos (#4830) 4 years ago
bytes.go Chore: Upgrade to latest Cortex (#5085) 4 years ago
doc.go
renovate.json5 fix(deps): update module github.com/prometheus/alertmanager to v0.28.0 (#15771) 1 year ago
si.go
util.go

README.md

Go Reference

Units - Helpful unit multipliers and functions for Go

The goal of this package is to have functionality similar to the time package.

It allows for code like this:

n, err := ParseBase2Bytes("1KB")
// n == 1024
n = units.Mebibyte * 512