Sebastian Spaink
0860487321
Update to 1.15.8 ( #8868 )
2021-02-17 10:21:47 -06:00
Sam Arnold
86e50f85b3
Increase build verbosity with go mod download -x ( #8496 )
2021-02-05 09:57:10 -05:00
Helen Weller
d41569caed
Integration test audit ( #8725 )
2021-01-26 11:06:12 -07:00
Andrey Klyachkin
a748421123
add support for linux/ppc64le ( #8432 )
2020-11-30 16:58:03 -05:00
Paweł Żak
0fcfee0caf
Fix tests for Windows - part 1 ( #8414 )
2020-11-23 10:40:32 -05:00
Steven Soroka
b39c1974a2
update to go 1.15.5 ( #8446 )
2020-11-20 15:53:44 -07:00
Steven Soroka
e158255d9b
Get the build version from a static file
2020-10-21 23:12:18 -04:00
David Reimschussel
81dd120876
Update next_version to 1.17.0
2020-10-21 16:10:35 -06:00
reimda
bfc1a87e1d
Add glibc version check for linux builds ( #8278 )
2020-10-16 15:08:07 -04:00
Steven Soroka
b1b776f1e5
update to go 1.15 ( #8220 )
2020-10-07 14:51:49 -04:00
Patryk Małek
843ea4b6d3
Fix docker-image make target ( #8005 )
2020-09-03 09:38:19 -06:00
Sven Rebhan
b5fafb4c95
Fix CI AppVeyor 'make check' errors for go 1.15 on windows ( #8061 )
...
Avoid writing to nul on windows. On Appveyor, writing to nul creates a file instead of discarding output. The file's existence creates errors later in the build.
2020-09-01 11:52:41 -06:00
Steven Soroka
5d999f85f0
fix docker build. update dockerfiles to Go 1.14 ( #8051 )
2020-08-28 16:39:55 -04:00
Daniel Nelson
72dec1b9c1
Fix arch name in deb/rpm builds ( #7877 )
2020-07-22 14:59:48 -07:00
Steven Soroka
9a5fd6588c
update go versions: 1.14.5, 1.13.13 ( #7837 )
2020-07-14 20:21:02 -04:00
Daniel Nelson
37f12ec6ea
Fix darwin package build flags ( #7818 )
2020-07-10 11:04:38 -07:00
Daniel Nelson
ca19d164c4
Fix tag package version
2020-07-07 17:02:41 -07:00
Daniel Nelson
05537584df
Update next version
2020-07-07 14:47:10 -07:00
Jakub Warczarek
eb06e027f0
Do not enable -race for GOARCH=386
2020-07-03 19:20:55 +02:00
Jakub Warczarek
a9d023d567
Run all Go tests with flag -race
2020-07-03 18:49:02 +02:00
Daniel Nelson
3b54838eca
Only set version ldflags on tags
2020-06-30 00:49:09 -07:00
Daniel Nelson
b6560c8b01
Build packages in makefile ( #7759 )
2020-06-30 00:15:28 -07:00
reimda
71b0b96241
Add processor to look up service name by port ( #7540 )
2020-05-27 15:42:59 -06:00
Asgaut Eng
c12c55da96
Fix 'nil' file created by Makefile on Windows ( #7224 )
...
The /dev/null device on Windows is a virtual file named "nul" not "nil".
This fix works under both cmd.exe and Powershell.
2020-03-24 14:18:03 -07:00
Daniel Nelson
318a963a89
Check license of dependencies file for changes ( #7108 )
2020-03-09 14:47:28 -07:00
Daniel Nelson
8acf276afe
Use Go 1.13.8 to build official packages ( #7079 )
2020-02-25 12:05:44 -08:00
Daniel Nelson
5f1f4b9e8d
Use Go modules for dependency management ( #6912 )
2020-01-16 14:38:06 -08:00
Daniel Nelson
613d0dbd16
Build packages with Go 1.13.5 ( #6767 )
2019-12-06 17:10:59 -08:00
Daniel Nelson
d2f3215890
Build with Go 1.13.3 and 1.12.12 ( #6565 )
2019-10-22 13:18:02 -07:00
Daniel Nelson
5bd5cdc6d7
Build official packages with Go 1.13.1 ( #6462 )
2019-10-07 21:08:28 -07:00
Daniel Nelson
01e9484881
Use Go 1.12.10 for builds ( #6455 )
2019-09-27 16:44:54 -07:00
Daniel Nelson
1848adaf79
Update to Go 1.12.9 and 1.11.13 ( #6303 )
2019-08-22 10:51:15 -07:00
Daniel Nelson
aea09b3a20
Use sarama built in support for consumer groups ( #6172 )
2019-07-29 20:41:12 -07:00
Daniel Nelson
4ac2ef1c7f
Fix duplicate makefile target
2019-05-30 15:21:25 -07:00
Daniel Nelson
59d646a8e8
Test and build official packages with Go 1.12 ( #5923 )
2019-05-29 18:54:44 -07:00
Daniel Nelson
3d206d2897
Exclude dep check on windows CI
2019-03-05 10:42:25 -08:00
Daniel Nelson
6088c7f969
Add dep check to CI tests
2019-03-04 17:22:24 -08:00
Daniel Nelson
d5a03eb690
Use Go 1.10.8 and 1.11.5 ( #5346 )
2019-01-25 18:08:48 -08:00
Daniel Nelson
334f9267b6
Use Go 1.11.4 and 1.10.7 ( #5221 )
2019-01-03 12:41:16 -08:00
Trevor Pounds
ee056278f5
Enable gofmt code simplification ( #4887 )
2018-10-19 13:32:54 -07:00
Trevor Pounds
1ec12ba6ad
Add Go 1.11 CI support ( #4859 )
2018-10-19 11:01:31 -07:00
Trevor Pounds
ecaaa20ed0
Update CI to Go 1.10.4 ( #4860 )
2018-10-18 15:45:18 -07:00
Daniel Nelson
8a03a21de2
Place docker files in scripts and update makefile
2018-10-11 00:57:00 -07:00
Daniel Nelson
9051ea9dc0
Require dep to be installed before building ( #4461 )
2018-07-24 15:57:24 -06:00
Daniel Nelson
5150d565d7
Fix several build issues ( #4412 )
2018-07-11 22:57:46 -07:00
Ayrdrie
9fe90d71f4
Add plugin development framework ( #4324 )
2018-07-02 16:34:40 -07:00
Daniel Nelson
ee6e4b0afd
Run windows tests with -short
2018-06-21 17:46:58 -07:00
Greg
1bd41ef3ce
Update vendoring to dep from gdm ( #4314 )
2018-06-19 11:55:38 -07:00
Daniel Nelson
f689463e8e
Use linux/unix name only in `make install`
...
closes : #4278
2018-06-12 18:37:50 -07:00
Daniel Nelson
339cebbc21
Use -parallel=false in gdm to avoid issues on appveyor
2018-05-17 15:19:17 -07:00
Daniel Nelson
757e23a5f2
Remove -i flag from `make telegraf`
2018-05-04 14:08:23 -07:00
Boris Schrijver
64a23c0b18
Fix make test-ci run ( #4002 )
2018-04-10 15:35:58 -07:00
Daniel Nelson
627f0e5d9d
Use automatic extension naming when running go build
2018-04-04 19:00:28 -07:00
Daniel Nelson
4551b4c5d2
Enable ntpq tests on Windows ( #3972 )
2018-04-04 18:35:05 -07:00
Daniel Nelson
0aad487cab
Fix go vet and use go test -race
2018-04-02 14:30:46 -07:00
Daniel Nelson
b99cd14129
Add influx uint support as a runtime option ( #3948 )
2018-03-29 13:31:43 -07:00
Matt
a320f91516
Add line protocol uint64 support ( #3946 )
2018-03-28 16:43:25 -07:00
Daniel Nelson
1c0f63a90d
Add new line protocol parser and serializer, influxdb output ( #3924 )
2018-03-27 17:30:51 -07:00
Daniel Nelson
6d6631382c
Remove gdm -parallel false
2018-03-14 11:36:03 -07:00
Daniel Nelson
8cfd001441
Disable parallel restore in gdm
...
May be aggrevating timeout issue on appveyor builds.
2018-03-13 20:44:51 -07:00
Daniel Nelson
1f87c10dd4
Fix Makefile on Windows and use in AppVeyor build ( #3748 )
2018-02-02 12:25:59 -08:00
Ben Aldrich
a7571d5730
Add native Go method for finding pids to procstat ( #3559 )
2018-02-01 15:14:27 -08:00
Paul Myjavec
12d62e60b3
Use CircleCI 2.0 for builds ( #3731 )
2018-02-01 15:05:39 -08:00
Daniel Nelson
3cf0ba1ccf
Pin crate docker image for testing
2018-01-09 13:10:40 -08:00
Felix Geisendörfer
62ec3e50d9
Add CrateDB output plugin ( #3210 )
2017-11-09 14:03:16 -08:00
Daniel Nelson
5141f8a2a0
Update contributing documentation
2017-11-07 13:59:06 -08:00
Daniel Nelson
c010fb1c3c
Fix build versioning; add dev.docker file
2017-09-22 17:35:58 -07:00
Daniel Nelson
ccf17a9f93
Cache intermediate objects during build
2017-08-21 17:26:55 -07:00
Daniel Nelson
5003809e97
Merge LDFLAGS from env into build
2017-08-11 16:26:54 -07:00
Daniel Nelson
3c14b46f6f
Fix ordering of all target
2017-08-09 11:47:55 -07:00
Daniel Nelson
1fb5373962
Build releases with -w -s ldflags
2017-08-07 15:47:20 -07:00
Vlasta Hajek
e21f2de8b8
Add Windows Services input plugin ( #3023 )
2017-08-07 14:36:15 -07:00
Daniel Nelson
795f02ab88
Cleanup Makefile ( #3089 )
2017-08-03 11:54:05 -07:00
Jeff Ashton
c31e7d0b91
Fix win_perf_counters tests ( #3068 )
2017-07-31 11:03:26 -07:00
Andy Cobaugh
1ff6e92193
Add input plugin for OpenLDAP ( #2612 )
2017-07-21 15:44:20 -07:00
Daniel Nelson
d40e441240
Use git sha1 as version if not tagged ( #2969 )
2017-06-27 13:24:06 -07:00
Seuf
2092443cd7
Add Kafka 0.9+ consumer support ( #2487 )
2017-06-07 18:22:28 -07:00
Leandro Piccilli
bb28fb256b
Add Elasticsearch 5.x output ( #2332 )
2017-03-20 17:47:57 -07:00
Fabio Berchtold
3fa37a9212
Rewriting Riemann output plugin ( #1900 )
...
* rename to riemann_legacy
Signed-off-by: Fabio Berchtold <fabio.berchtold@swisscom.com>
* initial draft for Riemann output plugin rewrite
Signed-off-by: Fabio Berchtold <fabio.berchtold@swisscom.com>
* add unit tests
Signed-off-by: Fabio Berchtold <fabio.berchtold@swisscom.com>
* add option to send string metrics as states
Signed-off-by: Fabio Berchtold <fabio.berchtold@swisscom.com>
* add integration tests
Signed-off-by: Fabio Berchtold <fabio.berchtold@swisscom.com>
* add plugin README.md
Signed-off-by: Fabio Berchtold <fabio.berchtold@swisscom.com>
* bump riemann library
* clarify settings description
Signed-off-by: Fabio Berchtold <fabio.berchtold@swisscom.com>
* update Readme.md with updated description
Signed-off-by: Fabio Berchtold <fabio.berchtold@swisscom.com>
* add Riemann event examples
Signed-off-by: Fabio Berchtold <fabio.berchtold@swisscom.com>
* use full URL for Riemann server address
Signed-off-by: Fabio Berchtold <fabio.berchtold@swisscom.com>
closes #1878
2017-01-27 14:54:59 -08:00
Cameron Sparr
fe6162b2a1
Use short commit in Makefile build
2016-11-03 16:37:52 +00:00
Cameron Sparr
bc22309459
Add commit & branch to Makefile
2016-09-13 09:31:30 +01:00
Paulo Pires
6b1cc67664
Add NATS output plugin.
...
Added NATS server container needed for tests.
Added NATS output plug-in. Fixes #1487
NATS output plug-in use internal.GetTLSConfig to instrument TLS configuration.
Added NATS output plug-in to changelog.
closes #1487
closes #1697
2016-09-06 11:39:57 +01:00
Cameron Sparr
792682590c
Remove snmp_legacy unit tests and docker image
2016-08-31 12:17:06 +01:00
Cameron Sparr
e9d33726a9
start aerospike container 1st for unit tests
...
because it requires some time to initialize before it can respond to
metric requests.
2016-08-24 09:16:55 +01:00
Cameron Sparr
2462e04bf2
Rdme upd ( #1660 )
...
* Update README and CHANGELOG with 1.0 RC 1
* Increase circleci test docker sleep
* update aerospike dependency
2016-08-24 08:41:12 +01:00
Cameron Sparr
94e673fe85
Revert "add pgbouncer plugin"
...
This reverts commit fec9760f72 .
2016-08-17 16:50:11 +01:00
politician
26315bfbea
Defines GOOS and GOARCH for windows builds ( #1621 )
...
* defines GOOS and GOARCH for windows builds
* default to amd64 on windows
* windows: use latest versions of missing packages
2016-08-11 15:35:00 +01:00
jsvisa
fec9760f72
add pgbouncer plugin
...
add pgbouncer docker for testing
add pgbouncer testcase
update changlog
closes #1400
2016-08-10 15:14:15 +01:00
Dennis Bellinger
7b6713b094
Telegraf support for built-in windows service.
...
Updated windows dependencies
Updated the windows dependencies so that the versions matched the
dependencies for Mac OS and Linux. Additionally added some that were
complained about being missing at compile time.
Incorporated kardianos/service for management
Incorporated the library github.com/kardianos/service to manage the
service on the various platforms (including Windows). This required an
alternate main function.
The original main function was renamed to reloadLoop (as that is what
the main loop in it does) (it also got a couple of parameters). The
service management library calls it as the main body of the program.
Merged service.go into telegraf.go
Due to compilation issues on Windows, moved the code from service.go
into telegraf.go and removed service.go entirely.
Updated dependencies and fixed Windows service
Updated the dependencies so that it builds properly on Windows,
additionally, fixed the registered command for starting it as
a service (needed to add the config file option). This currently
standardizes it as a C:\telegraf\telegraf.conf on Windows.
Added dependency for github.com/kardianos/service
Removed the common dependencies from _windows file
Removed all the common dependencies from the Godeps_windows file and
modified Makefile to load Godeps and then Godeps_windows when building
for Windows. This should reduce problems caused by the Godeps_windows
file being forgotten when updating dependencies.
Updated CHANGELOG.md with changes
Ran `go fmt ./...` to format code
Removed service library on all but Windows
The service library [kardianos/service](github.com/kardianos/service)
has been disabled on all platforms but windows, as there is already
existing infrastructure for other platforms.
Removed the dependency line for itself
It appears that gdm accidentally added the project itself to the
dependency list. This caused the dependency restoration to select an
earlier version of the project during build.
This only affected windows.
This only affected builds after 020b2c70
Updated documentation for Windows Service
Removed the documentation about using NSSM and added documentation on
installing telegraf directly as a Windows Service.
Added license info for kardianos/service
Added the license information for github.com/kardianos/service which is
licensed under the ZLib license, although that name is never mentioned
the license text matches word for word.
Changed the Windows Config file default location
Updated the default location of the configuration file on Windows from
C:\telegraf\telegraf.conf to C:\Program Files\Telegraf\telegraf.conf.
With this change includes updating the directions, including directing
that the executable be put into that same directory. Additionally, as
noted in the instructions, the location of the config file for the
service may be changed by specifying the location with the `-config`
flag at install time.
Fixed bug - Wrong data type: svcConfig
svcConfig service.Config => svcConfig *service.Config
(It needed to be a pointer)
2016-08-08 23:10:39 +01:00
Cameron Sparr
bfdd665435
Copy metrics for each configured output
...
This is for better thread-safety when running with multiple outputs,
which can cause very odd panics at very high loads
primarily this is to address #1432
closes #1432
2016-07-14 09:16:29 -06:00
Cameron Sparr
bb4f18ca88
temp ci fix, aerospike changed their metrics
...
see http://www.aerospike.com/docs/operations/upgrade/stats_to_3_9
TODO change aerospike input plugin to use official go client library.
2016-07-14 08:52:37 -06:00
Cameron Sparr
d6951dacdc
Remove docker-machine/boot2docker dependencies & references
2016-06-22 17:25:01 +01:00
Cameron Sparr
346deb30a3
OpenTSDB test problems, disabling output integration tests
2016-06-07 10:39:25 +01:00
Cameron Sparr
775daba8f5
Change Version->version for consistency w/ influxdb
2016-05-10 14:18:55 -07:00
Chris Goller
3f2a04b25b
Fix build-for-docker Makefile target syntax.
...
closes #819
2016-03-09 22:58:29 +01:00
Marcin Jasion
bb50d7edb4
dns_query plugin fixups:
...
- renamed plugin to dns_query
- domains are optional
- new record types
closes #694
2016-02-21 16:33:04 -07:00
Cameron Sparr
584a52ac21
InfluxDB output should not default to 'no timeout' for http writes
...
default to 5s instead, since even if it times out we will cache the
points and move on
closes #685
2016-02-19 15:38:51 -07:00
Cameron Sparr
187d1b853d
Update Makefile to 'go install' rather than 'go build'
2016-02-18 16:48:59 -07:00
Thibault Cohen
35150caea4
Add a make command with CGO disabled
...
closes #458
2016-02-04 17:33:40 -07:00
Cameron Sparr
042cf517b2
Mention yum/apt repo in README
...
Also add `make windows-build` to Makefile
closes #618
2016-01-30 11:35:39 -07:00
Cameron Sparr
338341add8
Put windows dependencies into a separate Godeps file
2016-01-29 11:10:18 -07:00
Thibault Cohen
e6d7e4e309
Add snmp input plugin
...
closes #546
closes #40
2016-01-25 12:35:27 -07:00
Cameron Sparr
f24f5e98dd
Remove go get ./... from the Makefile
2016-01-20 15:01:08 -07:00
Cameron Sparr
b24e71b232
Removing old package script, trim Makefile
2016-01-15 14:03:04 -07:00
Cameron Sparr
16ce06f621
Use gdm for dependency management
2015-12-11 12:22:16 -07:00
Cameron Sparr
9999b2e3c6
Remove from test and test-short in Makefile
2015-12-04 12:27:56 -07:00
Cameron Sparr
e6517d4140
Update gopsutil godep dependency. Dont use godep go build anymore
...
godep seems to have a problem when dependencies have `internal`
packages. So removing `godep go build` and `godep go test` from the
build process in favor of just checking out the correct revisions using
`godep restore` into the regular GOPATH.
This basically means that we are not actually using anything within the
Godeps directory except Godeps.json. I should probably make a separate
go dependency management system that does this.
2015-12-04 12:22:16 -07:00
gotyaoi
40fd33d1b0
GOPATH can have multiple : separated paths in it.
...
This means that simply adding /bin to the end is not enough. Instead of
setting GOBIN, this version prepends things to the PATH. If GOBIN is
already set, simply prepends GOBIN to PATH. If not, appends /bin to
each component of GOPATH, then prepends that to PATH.
closes #386
2015-11-25 18:42:28 -07:00
Cameron Sparr
a8294c2c34
Godep: Add raidman riemann client
2015-11-18 14:27:20 -07:00
Cameron Sparr
a6ae597dfc
MQTT output unit tests w/ docker container
2015-11-13 13:42:06 -07:00
Cameron Sparr
2b966b40f2
Completely tab-indent the Makefile
2015-11-02 14:32:06 -07:00
Cameron Sparr
028bae8f04
Run make in circle, don't build arm and 32-bit
2015-10-28 12:30:58 -06:00
Cameron Sparr
fa9555c430
Execute "long" unit tests using docker containers
...
fixes #293
2015-10-28 11:45:04 -06:00
Jonathan Cross
e622bd5e7f
fixing test for NoError
...
closes #325
2015-10-27 15:44:22 -06:00
Cameron Sparr
c26ce9c4fe
Utilizing new client and overhauling Accumulator interface
...
Fixes #280
Fixes #281
Fixes #289
2015-10-20 13:53:58 -06:00
Cameron Sparr
7293376973
Race condition fix: copy BatchPoints into goroutine
...
Fixes #250
2015-10-08 14:27:22 -06:00
Cameron Sparr
f8d64a7378
Redis: include per-db keyspace info
...
Closes #205
2015-09-22 19:46:50 -07:00
Eugene Dementiev
b04706b875
Fix makefile warning for go1.5
2015-09-18 21:16:08 +03:00
Vye Wilson
a55f6498c8
Makefile will now honor GOBIN, if set
...
Closes #181
2015-09-10 11:50:11 -06:00
Cameron Sparr
a7ed46160a
Re-arrange repo files for root dir cleanup
2015-09-09 12:38:51 -06:00
Cameron Sparr
6260dd1018
Makefile rule for building all linux binaries, and upload all ARCHs
2015-09-04 14:12:50 -06:00
Cameron Sparr
9969c4e810
Add system uptime metric, string formatted AND in float64
...
closes #150
2015-08-31 14:43:34 -06:00
Cameron Sparr
ac97fefb91
makefile: ADVERTISED_HOST needs only be set during docker-compose target
2015-08-25 16:34:30 -06:00
Cameron Sparr
9d00b5e165
Version= doesnt work on go1.4.2
...
fixing makefile & vagrantfile & build script to reflect that
2015-08-20 16:43:25 -06:00
Cameron Sparr
9bc39987f1
Change -X main.Version <n> to -X main.Version=<n> for go1.5
2015-08-20 08:46:08 -06:00
Cameron Sparr
db634f4c0b
Fix for issue #121 , update etc/config.sample.toml
2015-08-19 14:40:35 -06:00
Cameron Sparr
6fcbb7bdb0
Update Makefile with new build requirements
2015-08-18 10:36:13 -06:00
Cameron Sparr
4e3213f3bd
godep: vendor all dependencies & add circle-test.sh
...
Vendor dependencies and use circle-test.sh to run CI process, because
the CircleCI autobuild operations are not compatible with using godep.
2015-08-17 17:38:44 -06:00
Cameron Sparr
5259c50612
Mark more unit tests as 'integration' tests when they rely on external services/docker
2015-08-05 16:49:40 -06:00
Cameron Sparr
fdd2401f7b
Adding Kafka docker container and utilizing it in unit tests
2015-08-04 16:30:05 -06:00
Marcos Lilljedahl
aa86c16838
Add --no-recreate option to prepare target
2015-07-06 21:17:44 -03:00
Marcos Lilljedahl
d545b197ea
Add docker containers to test services.
...
This commit initializes the needed services which are not mocked
so tests can be executed in any environment with docker.
Some default modifications (i.e: connection strings) were also made to
current tests to accomodate them for this setup.
A docker-compose.yml file is provided with all the necessary parameters
for this services to be initialized. Future services can be added
easily by extending this configuration file
In addition a makefile has been introduced to simplify command execution
2015-07-06 01:46:43 -03:00