Commit Graph

4404 Commits

Author SHA1 Message Date
Joshua Powers 35d1ee3d96
docs: use single quotes for multi-line literal TOML (#13124)
fixes: #13123
2023-04-21 07:24:55 -06:00
Joshua Powers e0b95ea391
chore: update golangci-lint (#13110) 2023-04-18 14:01:28 -06:00
Gangadharaswamy HU b323d1ce3c
feat(inputs.vsphere): Adding vSAN extension to vSphere plugin (#11955) 2023-04-18 11:03:28 -06:00
PaddyKe e211bd3f28
feat(processors): Adding scale processor plugin (#13061) 2023-04-18 10:59:34 -06:00
Sven Rebhan 3c3c0d8352
fix(processors.lookup): Fix tracking metrics (#13092) 2023-04-18 09:46:22 -06:00
Tim Rupp 2fed77e02a
feat(processors.aws_ec2): Add caching of imds and ec2 tags (#13075) 2023-04-14 21:57:04 +02:00
Paweł Żak ba16eeb495
chore: Enable G110 rule for gosec (#13044)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-04-14 17:14:55 +02:00
Patrick Hemmer 596ecc4a67
fix(inputs.socket_listener): Fix TLS socket initialization(#13050) 2023-04-13 14:30:33 +02:00
Neelay Upadhyaya 9b742a1540
test: Check correct build tags for each plugin registered (#13019) 2023-04-13 14:13:38 +02:00
Sven Rebhan 302ac88bdb
fix(parsers.grok): Fix nil metric for multiline inputs (#13078) 2023-04-12 16:15:35 -06:00
Ivaylo Ivanov 14c84a00ee
fix(inputs.prometheus): Add namespace option in k8s informer factory (#13063)
Co-authored-by: ivayloi2 <ivayloi2@vmware.com>
2023-04-12 17:00:57 +02:00
Paweł Żak 5f2142a6cc
chore: Enable G601 rule for gosec (#13042) 2023-04-12 16:56:07 +02:00
Paweł Żak 55e4bb6808
chore: Enable G103 rule for gosec (#13038) 2023-04-12 07:32:46 -06:00
Sven Rebhan 9bb2d1562d
chore(serializers): Add new-style framework and migrate influx (#12920) 2023-04-11 21:52:42 +02:00
Patrick Hemmer 7b31606cf0
fix(inputs.socket_listener): Fix tracking of unix sockets (#13059) 2023-04-11 11:46:57 +02:00
Paweł Żak 89fa07fc5e
chore: Enable G301, G302 and G306 rules for gosec (#13022) 2023-04-04 08:51:08 -06:00
r3inbowari 19c4316694
chore: Update README.md (#12989) 2023-04-04 13:43:49 +02:00
Paweł Żak 079c50128b
chore: Enable G401, G403, G501, G502, G503 and G505 rules for gosec (#13021)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-04-04 13:17:38 +02:00
Michael Hoffmann 99ea0b1ca6
feat(serializer.prometheusremote): Improve performance (#12971) 2023-04-03 12:44:08 -06:00
Paweł Żak 2320bbd1a8
chore: Enable G101 rule for gosec (#13009)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-04-03 20:31:08 +02:00
genofire 9bfe6425b3
fix(inputs.procstat): Return tags of pids if lookup_error (#13015) 2023-04-03 20:28:50 +02:00
Joshua Powers 52b3f5211f
chore(deps): Bump github.com/shirou/gopsutil from 3.23.2 to 3.23.3 (#13017) 2023-04-03 20:27:19 +02:00
Neelay Upadhyaya e1e4ebcd62
fix(inputs.netflow): Use correct name in the build tag (#13006) 2023-04-03 07:44:15 -06:00
Sven Rebhan 83b4056985
fix(secrets): Minimize secret holding time (#13002) 2023-04-03 07:28:41 -06:00
Paweł Żak edcd28650c
chore: Enable G112 and G114 rules for gosec (#12986)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-04-03 15:23:05 +02:00
Paweł Żak 0de59d48ec
chore: Enable G202 rule for gosec (#12984)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-04-03 15:21:26 +02:00
Paweł Żak c76f319b84
chore: Remove `revive:unhandled-error` - `errcheck` is more flexible (#13008) 2023-04-03 07:19:43 -06:00
Gianluca Sartori b75fa42d75
fix(inputs.sqlserver): Converted THROW to RAISERROR for 2008 compatibility 2023-04-03 15:19:28 +02:00
Sven Rebhan f8a991b829
fix(secretstores): Handle array of secrets correctly (#12919) 2023-04-03 07:03:38 -06:00
Sven Rebhan 3213af612e
fix(secret): Add function to set a secret (#13012) 2023-04-03 07:01:47 -06:00
Maxim Ivanov 5fdeae1ab1
feat(inputs.prometheus): Control which pod metadata is added as tags (#12851) 2023-04-03 10:08:15 +02:00
r3inbowari 789a49858e
feat(inputs.internet_speed): Support multi-server test (#12797) 2023-04-03 10:06:27 +02:00
Joshua Powers 6c840b781d
chore: run make docs 2023-03-31 11:24:04 -06:00
Glen Neff cf08f341d1
docs(outputs.http): add service to aws creds (#13003) 2023-03-31 10:53:07 -06:00
Paweł Żak 9608d118bd
chore: Don't use all default exclude patterns for golangci-lint (#12969)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-29 09:50:00 +02:00
Paweł Żak 0129abbd1e
chore: Enable G102 rule for gosec (#12976)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-29 09:47:57 +02:00
Joshua Powers 19d2bbbb90
fix(inputs.upsd): Include ups.real_power (#12961) 2023-03-28 18:41:43 +02:00
Gianluca Sartori bfeae49e1b
fix(inputs.execd): Read from stdout using ReadLine instead of scanner.Scan to overcome 64kb buffer limit (#12935) 2023-03-28 18:40:45 +02:00
Joshua Powers 8a5c3573df
docs(inputs.upsd): Add comment about ipv6 addresses (#12962) 2023-03-28 11:48:29 +02:00
Paweł Żak 73076bb9fa
chore: Fix linter findings for Darwin (#12958)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-28 11:46:32 +02:00
Joshua Powers 3415cc8c80
chore: Fix gosec G102 issues (#12923) 2023-03-28 11:40:29 +02:00
Joshua Powers 5e7c5c84e9
docs: Explain and note service inputs (#12870) 2023-03-27 14:12:35 +02:00
Maxim Ivanov 771153e76d
feat(inputs.kubernetes): Apply timeout for the whole HTTP request (#12918) 2023-03-22 13:33:53 +01:00
Joshua Powers 3c8277d502
fix(outputs.graphite): Add custom regex to outputs (#12908) 2023-03-22 13:32:41 +01:00
Joshua Powers 02eea01397
fix(inputs.ethtool): Check for nil (#12867) 2023-03-22 13:03:44 +01:00
Joshua Powers 77bebd8660
fix(inputs.prometheus): Use set over add for custom headers (#12907) 2023-03-21 16:39:34 +01:00
abhi-jha e4cf2904ca
docs: Fix various typos in comments (#12888) 2023-03-21 16:27:38 +01:00
Sven Rebhan bd5f6b7c7c
feat(common.opcua): Add support for secret-store secrets (#12863) 2023-03-21 08:58:06 -06:00
Joshua Powers bd065e3553
fix(inputs.prometheus): Correctly set timeout param (#12864) 2023-03-15 17:52:51 +01:00
Joshua Powers 9256a3f2e6
chore: Ensure go generate runs on all platforms (#12871) 2023-03-15 17:47:55 +01:00
Joshua Powers 84d1bdf73c
fix(inputs.internet_speed): Rename host tag to source (#12877) 2023-03-15 08:22:38 -06:00
Joshua Powers 7284c126ce
fix(serializers.graphite): Allow for specifying regex to sanitize (#12835) 2023-03-14 11:46:44 +01:00
Jacob Marble 240c239321
chore(deps): Update OpenTelemetry from 0.3.1 to 0.3.3 (#12840) 2023-03-13 12:22:03 +01:00
Pontus Rydin 7daf7bb38f
feat(inputs.vsphere): Flag for more lenient behavior when connect fails on startup (#12828) 2023-03-13 12:19:49 +01:00
Sven Rebhan 2006086262
feat(inputs.modbus): Allow to convert coil and discrete registers to boolean (#12825) 2023-03-13 12:18:02 +01:00
Sven Rebhan 1eb70808d0
feat(common.oauth): Add audience parameter (#12821) 2023-03-13 12:17:37 +01:00
Sven Rebhan bea5414384
feat(parsers.xpath): Add timezone handling (#12820) 2023-03-13 12:17:14 +01:00
Joshua Powers f104c1a708
chore: add service input stub to Windows event log, not windows (#12837) 2023-03-10 14:11:50 -07:00
feld f48b834a14
docs(outputs.postgresql): Improve TimescaleDB config examples (#12829) 2023-03-09 16:05:28 -07:00
Joshua Powers 736f6ac5bb
feat(processors.converter): Convert tag or field as metric timestamp (#12767) 2023-03-09 17:43:22 +01:00
Hr0bar 97fd189d11
feat(inputs.radius): Add plugin for simple radius auth response time monitoring (#12736) 2023-03-09 09:00:42 -07:00
Pontus Rydin 405c1d97d3
docs(inputs.vsphere): Update inventory docs & removed unnecessary if-statement (#12819) 2023-03-09 08:27:31 -07:00
Sven Rebhan 501e920ef1
fix(inputs.amqp_consumer): Avoid deprecations when handling defaults (#12818) 2023-03-09 15:59:07 +01:00
Sven Rebhan e58891be11
fix(inputs.amqp_consumer): Fix panic on Stop() if not connected successfully (#12817) 2023-03-09 15:20:53 +01:00
Joshua Powers 603cdfb620
fix(inputs.ethtool): Close namespace (#12815) 2023-03-09 12:00:02 +01:00
Simon Everts d063dc2e58
feat(inputs.ethtool): Add support for link speed, duplex, autoneg and… (#12814) 2023-03-09 11:59:04 +01:00
Sven Rebhan 7981260f22
feat(agent): Add command-line option to specify password (#12812) 2023-03-09 11:54:27 +01:00
Sven Rebhan df19061166
feat(processors): Add lookup processor (#12809) 2023-03-08 10:44:23 -07:00
Sven Rebhan 0e1b637414
feat(inputs.win_eventlog): Add state-persistence capabilities (#12790) 2023-03-07 11:53:25 -07:00
Sven Rebhan 0a0cbc24d5
feat(inputs.modbus): Add RS485 specific config options (#12786) 2023-03-07 11:29:59 -07:00
an0nfunc 69d9a4322f
feat(inputs.cgroup): Added support for cpu.stat (#12798) 2023-03-07 09:42:53 +01:00
Joshua Powers 5b27866b13
docs: Clean up make docs on windows (#12796) 2023-03-07 09:40:13 +01:00
Joshua Powers 2b6d9f22ad
chore(secretstores.os): Unify config (#12791) 2023-03-07 09:39:17 +01:00
Joshua Powers 4747e7ba10
chore: Unify sample configs across OSes (#12789) 2023-03-07 09:38:05 +01:00
Maxim Ivanov ee682539e7
feat(inputs.prometheus): Use namespace annotations to filter pods to be scraped (#12777) 2023-03-07 09:26:38 +01:00
Joshua Powers 5cc55fa900
chore: run make docs (#12802) 2023-03-06 07:29:29 -07:00
Sven Rebhan 119a95dc72
feat(inputs.docker_log): Add state-persistence capabilities (#12775) 2023-03-06 12:33:23 +01:00
Paweł Żak 360edd52b6
chore: Fix linter findings for errorlint (part8) (#12785)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-06 12:27:03 +01:00
Jovan Kostovski 332997089b
docs: Add optional tls parameters to the documentation (#12788) 2023-03-06 12:25:04 +01:00
Joshua Powers 8e5c2d0538
chore: Specify distro support (part 3) (#12792) 2023-03-06 12:18:43 +01:00
Paweł Żak d59ea7d0ce
chore: Remove usages of github.com/pkg/errors dependency (archived) (#12787)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-03 19:04:41 +01:00
Joshua Powers dfe8b43e20
fix(inputs.statsd): On close, verify listener is not nil (#12778) 2023-03-03 06:45:33 -07:00
Paweł Żak e2a510f157
chore: Fix linter findings for errorlint (part7) (#12772)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-03 10:11:54 +01:00
Paweł Żak 5c234d8749
chore: Bump golangci-lint from v1.51.0 to v1.51.2 (#12782)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-03 10:06:54 +01:00
Adam Thornton acd1500d2b
feat(parsers.avro): Add Apache Avro parser (#11816) 2023-03-02 11:10:47 -07:00
Sven Rebhan f87916aaa9
feat: Plugin state-persistence (#12166) 2023-03-01 15:34:48 -07:00
Joshua Powers 3a0a9f0f92
chore: Document linux only plugins (part 2) (#12765) 2023-03-01 22:22:29 +01:00
Joshua Powers 5e65077860
chore: Document linux only plugins (part 1) (#12764) 2023-03-01 22:21:14 +01:00
Paweł Żak b2b58bab9e
chore: Fix linter findings for errorlint (part6) (#12733)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-01 22:19:38 +01:00
Paweł Żak 5b2346dfa0
chore: Fix linter findings for errorlint (part5) (#12731)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-01 22:18:35 +01:00
Joshua Powers cb040d68d3
docs(aggregators.derivative): Add explanation of calculations (#12758) 2023-03-01 14:32:58 +01:00
Joshua Powers 56ecbba523
chore: Enable printing Windows sample configs on non-Windows (#12741) 2023-03-01 14:31:45 +01:00
Sven Rebhan 6e3af9d06c
feat(outputs.mqtt): Add option to specify topic layouts (#12697) 2023-02-28 11:44:35 -07:00
Sven Rebhan 9e519def51
feat(common.tls): add enable flag (#12727) 2023-02-27 11:22:40 -07:00
Joshua Powers d40f46e7ce
feat(inputs.jti_openconfig_telemetry): Set timestamp from data (#12730) 2023-02-27 18:39:25 +01:00
Sven Rebhan a90b6eb119
fix(serializers.json): allow stateful transformations (#12735) 2023-02-24 07:16:05 -07:00
Pierrick Brossin e51b3810ab
fix(inputs.lvm): add options to specify path to binaries (#12725) 2023-02-24 07:02:29 -07:00
Joshua Powers 86eee2848f
feat(inputs.wireguard): Add allowed_peer_cidr field (#12729) 2023-02-24 10:46:09 +01:00
Thomas Casteleyn 6a2f6f301f
chore: eliminate unnecessary use of quoted strings in printf (#12722) 2023-02-23 06:49:36 -07:00
Sven Rebhan 245705cf24
fix(parsers.xpath): Fix panic for JSON name expansion (#12724) 2023-02-22 16:30:31 -07:00