Skip to content

Commit

Permalink
Merge pull request #7 from maier/master
Browse files Browse the repository at this point in the history
v0.5.0
  • Loading branch information
maier authored Nov 1, 2018
2 parents 231b212 + cd39725 commit 942a775
Show file tree
Hide file tree
Showing 28 changed files with 525 additions and 631 deletions.
2 changes: 2 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ archive:
- LICENSE
- README.md
- CHANGELOG.md
- service/*
- etc/example-circonus-logwatch.yaml
- etc/log.d/README.md

release:
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# v0.5.0

* upd: include service and example configs in release
* add: systemd service configuration in `service/`
* add: example config `etc/example-circonus-logwatch.yaml`
* upd: change found metric message priority from Info to Debug
* upd: tomb->context+errgroup
* add: api ca file load/config for circonus metric destination
* upd: switch to circonus-gometrics v3
* upd: condense/consolidate code
* upd: switch to go mod

# v0.4.0

* upd: release file names use x86_64, facilitate automated builds and testing
Expand Down
183 changes: 0 additions & 183 deletions Gopkg.lock

This file was deleted.

62 changes: 0 additions & 62 deletions Gopkg.toml

This file was deleted.

62 changes: 62 additions & 0 deletions etc/example-circonus-logwatch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
---
# location of log metric configurations
log_conf_dir: /opt/circonus/logwatch/etc/log.d
# stats for the process (e.g. curl localhost:33284/stats)
app_stat_port: "33284"
# turns on debugging messages (e.g. log.level=debug)
debug: false
# debug circonus api interactions
debug_cgm: false
# debug log tailing
debug_tail: false
# debug metric processing
debug_metric: false
api: # applicable when using a 'check' destination
key: ""
app: circonus-logwatch
url: https://api.circonus.com/v2/
ca_file: ""
destination:
# log|agent|check|statsd
type: log
config:
# Circonus Check destination
#
# check or check bundle id /check/# or /check_bundle/#
#cid: ""
#
# searching for an existing check and creating a new check
#instance_id: ""
#
# searching for an existing check with a specific tag
#search_tag: ""
#
# searching for an existing check and creating a new check
#target: ""
#
# submission url of an existing check
#url: ""

# StatsD destination
#
# grouping/prefix for metrics
#id: circonus-logwatch
#
# port a statsd server is listening to (default: 8125)
#port: "8125"
#
# prefix for metrics
#statsd_prefix: host.

# Agent destination
#
# grouping/prefix for metrics
#id: circonus-logwatch
#
# port agent is listening to (default: 2609)
#port: "2609"
log:
level: info
# helpful when running process at command line
# makes log messages easier to read
pretty: false
23 changes: 23 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
module github.com/circonus-labs/circonus-logwatch

require (
github.com/BurntSushi/toml v0.3.1 // indirect
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf
github.com/circonus-labs/circonus-gometrics/v3 v3.0.0-alpha.1
github.com/hpcloud/tail v1.0.0
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/maier/go-appstats v0.2.0
github.com/pelletier/go-toml v1.2.0
github.com/pkg/errors v0.8.0
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/rs/zerolog v1.10.0
github.com/spf13/cobra v0.0.3
github.com/spf13/viper v1.2.1
github.com/stretchr/testify v1.2.2 // indirect
golang.org/x/net v0.0.0-20181029044818-c44066c5c816 // indirect
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
golang.org/x/sys v0.0.0-20181031143558-9b800f95dbbc
gopkg.in/fsnotify.v1 v1.4.7 // indirect
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
gopkg.in/yaml.v2 v2.2.1
)
Loading

0 comments on commit 942a775

Please sign in to comment.