Skip to content

Commit a07bf0c

Browse files
author
Vladimir Smirnov
authored
Merge pull request #166 from lomik/update-docs
Update lomik/zapwriter module
2 parents e6ddadd + 6080f3f commit a07bf0c

File tree

725 files changed

+124461
-104257
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

725 files changed

+124461
-104257
lines changed

doc/config.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,13 +210,22 @@ It's possible to set multiple loggers. See `Config` description in [config.go](h
210210
external-data-perm = 0
211211

212212
[[logging]]
213+
# handler name, default empty
213214
logger = ""
215+
# '/path/to/filename', 'stderr', 'stdout', 'empty' (=='stderr'), 'none'
214216
file = "/var/log/graphite-clickhouse/graphite-clickhouse.log"
217+
# 'debug', 'info', 'warn', 'error', 'dpanic', 'panic', and 'fatal'
215218
level = "info"
219+
# 'json' or 'console'
216220
encoding = "mixed"
221+
# 'millis', 'nanos', 'epoch', 'iso8601'
217222
encoding-time = "iso8601"
223+
# 'seconds', 'nanos', 'string'
218224
encoding-duration = "seconds"
225+
# passed to time.ParseDuration
219226
sample-tick = ""
227+
# first n messages logged per tick
220228
sample-initial = 0
229+
# every m-th message logged thereafter per tick
221230
sample-thereafter = 0
222231
```

go.mod

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,20 @@ require (
77
github.com/go-graphite/carbonapi v0.0.0-20180220165555-9db1310e484a
88
github.com/go-graphite/protocol v0.4.3
99
github.com/gogo/protobuf v1.2.1
10-
github.com/golang/snappy v0.0.1
10+
github.com/golang/snappy v0.0.3
1111
github.com/google/renameio v0.1.0 // indirect
1212
github.com/lomik/graphite-pickle v0.0.0-20171221213606-614e8df42119
1313
github.com/lomik/og-rek v0.0.0-20170411191824-628eefeb8d80 // indirect
1414
github.com/lomik/stop v0.0.0-20161127103810-188e98d969bd // indirect
15-
github.com/lomik/zapwriter v0.0.0-20180906104450-2ec2b9a61680
15+
github.com/lomik/zapwriter v0.0.0-20210624082824-c1161d1eb463
1616
github.com/pelletier/go-toml v1.9.2-0.20210512132240-d08347058532
17-
github.com/pkg/errors v0.8.1
17+
github.com/pkg/errors v0.9.1
1818
github.com/prometheus/common v0.4.1
1919
github.com/prometheus/prometheus v1.8.2-0.20190814100549-343d8d75fd76
2020
github.com/stretchr/testify v1.7.0
21-
go.uber.org/atomic v1.4.0 // indirect; prometheus?
22-
go.uber.org/multierr v1.1.0 // indirect; prometheus?
2321
go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee // indirect
24-
go.uber.org/zap v1.7.1
25-
golang.org/x/crypto v0.0.0-20190325154230-a5d413f7728c // indirect; prometheus
22+
go.uber.org/zap v1.17.0
2623
golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f // indirect; prometheus
27-
golang.org/x/net v0.0.0-20190403144856-b630fd6fe46b // indirect; prometheus
2824
golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6 // indirect; prometheus
29-
golang.org/x/sys v0.0.0-20190403152447-81d4e9dc473e // indirect; prometheus
3025
golang.org/x/tools v0.0.0-20190312170243-e65039ee4138 // indirect; prometheus
31-
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7 // indirect; prometheus
3226
)

go.sum

Lines changed: 66 additions & 0 deletions
Large diffs are not rendered by default.

vendor/github.com/golang/snappy/AUTHORS

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/golang/snappy/CONTRIBUTORS

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/golang/snappy/decode.go

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)