All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Added '--bucket', '--token', and '--org' options to work with influxv2
- Influx v1 arguments '--dbName', '--username', and '--password' deprecated, prefer using influxv1 compatible
--bucketand--token
- Q1 '21 handler maintenance:
- Updated build to Go 1.14
- Updated modules (go get -u && go mod tidy)
- README updates
- Removed darwin_386 from .bonsai.yml
- Added support for legacy functionality via flag
--legacy-format
- Build for darwin/386
- Updated to latest SDK and Sensu version
- Set password to 'Secret: true' to avoid exposing it in help output
- Added support for an optional boolean flag
--strip-host.
- Switched to new community SDK
- Added binary name sensu-influxdb-handler to .gitignore
- Added config keyspace for annotation support
- Added event annotation for Sensu Enterprise parity
- Added the
--check-status-metricflag to create metrics from the check status.
- Migrated from
depto go modules (go mod) for managing package dependencies. - Migrated from TravisCI to GitHub Actions for build, test, and packaging.
- Username and password are no longer required to be set, making it possible to connect to endpoints that do not have authentication enabled.
- Updated travis, goreleaser configurations.
- Updated license.
- If no endpoint addr is provided, the handler will default to http://localhost:8086/
- Removed redundant post deploy scripts for travis.
- Adds .bonsai.yml.
- Use of envvar by default for sensitive InfluxDB credentials: addr,username, and password. This prevents leaking of sensitive credential into system process table via command argument. This is a backwards compatible change, commandline arguments can still be used to override envvar values. Here is the envvar to argument mapping:
- INFLUXDB_ADDR => --addr
- INFLUXDB_USER => --username
- INFLUXDB_PASS => --password
- Adds
--precisionflag (still defaults to 's'). - Adds
--insecure-skip-verifyflag (still defaults to false).
- Travis post-deploy script generates a sha512 for packages to be sensu asset compatible.
- Updated the goreleaser file to include env and main in the same build, hopefully stopping double builds.
- Updated sensu-go version to GA RC SHA.
- Updated the goreleaser file so that the handler is packaged as a Sensu Go compatible asset.
- Updated sensu-go version to beta-8 and fixed some breaking changes that
were introduced (
Entity.ID->Entity.Name). - Changed tag
sensu_entity_idtosensu_entity_namefor consistency.
- Removed the vendor directory. Dependencies are still managed with Gopkg.toml.
- Fixed a bug where the handler would only log errors, rather than printing to stderr and returning a failure exit code.
Gopkg.lockandGopkg.tomlfiles
- Bumped sensu-go version
- Added
grafana-config.jsonas a grafana dashboard configuration for the example scripts
- Updated help usage for
--addr
- Added
sensu_entity_idtag
- Added
CGO_ENABLED=0to goreleaser build environment
- Added
CGO_ENABLED=0to travis build environment
metrics-graphite.shto examplesmetrics-influx.shto examplesmetrics-nagios.shto examplesmetrics-opentsdb.shto examplesmetrics-statsd.shto examples
- Fixed errata in
README.mdwhere example handler name was inconsistent - Fixed bug for StatsD timestamps
metrics.shscript toexamplesdirectory
- Timestamp translating supports 10 digit int64 timestamps
- Initial release