Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 9 additions & 0 deletions doc/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,13 +210,22 @@ It's possible to set multiple loggers. See `Config` description in [config.go](h
external-data-perm = 0

[[logging]]
# handler name, default empty
logger = ""
# '/path/to/filename', 'stderr', 'stdout', 'empty' (=='stderr'), 'none'
file = "/var/log/graphite-clickhouse/graphite-clickhouse.log"
# 'debug', 'info', 'warn', 'error', 'dpanic', 'panic', and 'fatal'
level = "info"
# 'json' or 'console'
encoding = "mixed"
# 'millis', 'nanos', 'epoch', 'iso8601'
encoding-time = "iso8601"
# 'seconds', 'nanos', 'string'
encoding-duration = "seconds"
# passed to time.ParseDuration
sample-tick = ""
# first n messages logged per tick
sample-initial = 0
# every m-th message logged thereafter per tick
sample-thereafter = 0
```
14 changes: 4 additions & 10 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,20 @@ require (
github.com/go-graphite/carbonapi v0.0.0-20180220165555-9db1310e484a
github.com/go-graphite/protocol v0.4.3
github.com/gogo/protobuf v1.2.1
github.com/golang/snappy v0.0.1
github.com/golang/snappy v0.0.3
github.com/google/renameio v0.1.0 // indirect
github.com/lomik/graphite-pickle v0.0.0-20171221213606-614e8df42119
github.com/lomik/og-rek v0.0.0-20170411191824-628eefeb8d80 // indirect
github.com/lomik/stop v0.0.0-20161127103810-188e98d969bd // indirect
github.com/lomik/zapwriter v0.0.0-20180906104450-2ec2b9a61680
github.com/lomik/zapwriter v0.0.0-20210624082824-c1161d1eb463
github.com/pelletier/go-toml v1.9.2-0.20210512132240-d08347058532
github.com/pkg/errors v0.8.1
github.com/pkg/errors v0.9.1
github.com/prometheus/common v0.4.1
github.com/prometheus/prometheus v1.8.2-0.20190814100549-343d8d75fd76
github.com/stretchr/testify v1.7.0
go.uber.org/atomic v1.4.0 // indirect; prometheus?
go.uber.org/multierr v1.1.0 // indirect; prometheus?
go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee // indirect
go.uber.org/zap v1.7.1
golang.org/x/crypto v0.0.0-20190325154230-a5d413f7728c // indirect; prometheus
go.uber.org/zap v1.17.0
golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f // indirect; prometheus
golang.org/x/net v0.0.0-20190403144856-b630fd6fe46b // indirect; prometheus
golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6 // indirect; prometheus
golang.org/x/sys v0.0.0-20190403152447-81d4e9dc473e // indirect; prometheus
golang.org/x/tools v0.0.0-20190312170243-e65039ee4138 // indirect; prometheus
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7 // indirect; prometheus
)
66 changes: 66 additions & 0 deletions go.sum

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions vendor/github.com/golang/snappy/AUTHORS

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions vendor/github.com/golang/snappy/CONTRIBUTORS

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions vendor/github.com/golang/snappy/decode.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading