Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Postgres #3

Closed
wants to merge 205 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
205 commits
Select commit Hold shift + click to select a range
d3ee1b7
test: remove restore integration test cache (#11255)
powersj Jun 3, 2022
6d829c1
feat(intel_powerstat): add uncore frequency metrics (#11254)
bkotlowski Jun 6, 2022
7c2d9df
docs: add missing word <3 (#11262)
sspaink Jun 6, 2022
d133143
fix: update modernc.org/sqlite from v1.10.8 to v1.17.3 (#11260)
powersj Jun 6, 2022
34eff49
chore: Fix readme linter errors for processor, aggregator, and parser…
reimda Jun 6, 2022
5da99fa
fix: bump github.com/tidwall/gjson from 1.10.2 to 1.14.1 (#11264)
srebhan Jun 7, 2022
54552ff
fix: update github.com/containerd/containerd from v1.5.11 to v1.5.13 …
powersj Jun 7, 2022
1b1482b
chore: Fix readme linter errors for input plugins A-D (#10964)
reimda Jun 7, 2022
453e276
chore: Fix readme linter errors for input plugins E-L (#11214)
reimda Jun 7, 2022
a8ed6fd
fix: remove full access permissions (#11261)
powersj Jun 8, 2022
0b7c3c4
fix: add missing build constraints for sqlite (#11272)
powersj Jun 8, 2022
0d96968
feat: Migrate xpath parser to new style (#11218)
srebhan Jun 8, 2022
21607ea
fix: Always build README-embedder for host-architecture (#11253)
srebhan Jun 8, 2022
f7aab29
chore: Fix readme linter errors for input plugins M-Z (#11274)
reimda Jun 8, 2022
45c88f8
fix(inputs/directory_monitor): Add support for multiline file parsing…
Hipska Jun 13, 2022
af409da
test: add install go for linux, use in integration tests (#11281)
powersj Jun 13, 2022
9aaa2e1
Update build version to 1.24.0
Jun 13, 2022
76b0d1a
Update changelog for v1.23.0
Jun 13, 2022
9d17145
fix: Don't rebase on master when building packages (#11291)
sspaink Jun 13, 2022
42e339f
fix: Remove all rebase logic from CI (#11293)
sspaink Jun 13, 2022
72e91ba
fix: bump cloud.google.com/go/monitoring from 1.2.0 to 1.5.0 (#11295)
dependabot[bot] Jun 13, 2022
05285a1
feat(inputs.x509_cert): add smtp protocol (#11271)
skillor Jun 15, 2022
2424852
fix(parsers/xpath): Reduce debug messages when empty selection is all…
Hipska Jun 15, 2022
2d7f209
feat: add default appType as config option to groundwork output (#11300)
VladislavSenkevich Jun 15, 2022
412be64
feat: Make the command "config" a subcommand (#11282)
sspaink Jun 15, 2022
478edd3
fix: Prevent concurrent map writes to c.UnusedFields (#11311)
sspaink Jun 16, 2022
a454103
docs: explain directly connecting to mongo node (#11314)
powersj Jun 16, 2022
f4d3aa2
chore: Remove prefix to use the default `chore(deps)` (#11315)
sspaink Jun 16, 2022
b312ccf
test: update wait for statement for postgres (#11309)
powersj Jun 16, 2022
3f65217
test: mark integration tests correctly (#11317)
powersj Jun 16, 2022
e0908c1
chore(deps): Bump github.com/aws/aws-sdk-go-v2/credentials from 1.12.…
dependabot[bot] Jun 16, 2022
1e5a454
chore(deps): Bump google.golang.org/grpc from 1.46.2 to 1.47.0 (#11318)
dependabot[bot] Jun 16, 2022
f8672d8
chore(deps): Bump k8s.io/client-go from 0.23.3 to 0.24.1 (#11223)
dependabot[bot] Jun 16, 2022
d130d50
chore(deps): Bump github.com/go-logfmt/logfmt from 0.5.0 to 0.5.1 (#1…
dependabot[bot] Jun 16, 2022
4db6566
chore: make apt-get instructions consistent and add GPG fingerprint (…
jdstrand Jun 17, 2022
9a9f402
test: add coveralls coverage to master (#11256)
powersj Jun 17, 2022
1d272d3
chore(deps): Bump github.com/aws/aws-sdk-go-v2/service/dynamodb (#11328)
dependabot[bot] Jun 21, 2022
0d80dbf
chore(deps): Bump go.mongodb.org/mongo-driver from 1.9.0 to 1.9.1 (#1…
dependabot[bot] Jun 21, 2022
2b31309
chore(deps): Bump github.com/gophercloud/gophercloud from 0.24.0 to 0…
dependabot[bot] Jun 21, 2022
4a4d9d9
chore(deps): Bump google.golang.org/api from 0.74.0 to 0.84.0 (#11338)
dependabot[bot] Jun 21, 2022
fa64e26
chore: fix typo (recieve -> receive) (#11341)
roidelapluie Jun 21, 2022
748290d
chore(deps): Bump github.com/fatih/color from 1.10.0 to 1.13.0 (#11340)
dependabot[bot] Jun 21, 2022
42a167f
fix: filter out views in mongodb lookup (#11280)
powersj Jun 21, 2022
3d79db2
chore(deps): Bump github.com/aws/aws-sdk-go-v2/service/timestreamwrit…
dependabot[bot] Jun 21, 2022
6113bba
docs: Update etc/telegraf.conf and etc/telegraf_windows.conf (#11344)
telegraf-tiger[bot] Jun 21, 2022
d8f2b38
feat(redis): add Redis 6 ACL auth support (#9333)
akrantz01 Jun 21, 2022
65a6085
feat(x509_cert): add proxy support (#9319)
akrantz01 Jun 21, 2022
b58ae75
chore(deps): Bump github.com/Shopify/sarama from 1.32.0 to 1.34.1 (#1…
dependabot[bot] Jun 21, 2022
6700f0b
docs: Sync sample.conf for recent features (#11348)
sspaink Jun 22, 2022
336ae2f
chore: move agent config into seperate file (#11337)
skillor Jun 22, 2022
c46f42f
feat: Migrate json parser to new style (#11226)
srebhan Jun 22, 2022
38c5ec1
docs: Update etc/telegraf.conf and etc/telegraf_windows.conf (#11351)
telegraf-tiger[bot] Jun 22, 2022
db23718
fix: don't require listeners to be present in overview (#9315)
reimda Jun 22, 2022
48fa199
feat: Add CSV serializer (#11307)
srebhan Jun 22, 2022
a049175
fix: Restore sample configurations broken during initial migration (#…
srebhan Jun 22, 2022
3f114e0
feat: Migrate json_v2 parser to new style (#11343)
srebhan Jun 22, 2022
d91ec14
docs: Update etc/telegraf.conf and etc/telegraf_windows.conf (#11365)
telegraf-tiger[bot] Jun 22, 2022
e268fd4
chore(deps): Bump github.com/dynatrace-oss/dynatrace-metric-utils-go …
dependabot[bot] Jun 22, 2022
44a4df8
chore(deps): Bump github.com/nats-io/nats.go from 1.15.0 to 1.16.0 (#…
dependabot[bot] Jun 22, 2022
897066f
chore(deps): Bump cloud.google.com/go/pubsub from 1.18.0 to 1.22.2 (#…
dependabot[bot] Jun 23, 2022
d80096a
docs: swap bytes sent/recv descriptions in nfsclient (#11376)
powersj Jun 23, 2022
fb88118
chore(deps): Bump go.opentelemetry.io/collector/pdata from 0.52.0 to …
dependabot[bot] Jun 23, 2022
e50fabc
chore(deps): Bump github.com/jackc/pgx/v4 from 4.15.0 to 4.16.1 (#11346)
dependabot[bot] Jun 23, 2022
d06559a
chore(deps): Bump cloud.google.com/go/bigquery from 1.8.0 to 1.33.0 (…
dependabot[bot] Jun 23, 2022
9177b27
chore(deps): Bump github.com/Azure/azure-kusto-go from 0.6.0 to 0.7.0…
dependabot[bot] Jun 27, 2022
6b009f3
feat: migrate wavefront parser to new style (#11374)
sspaink Jun 27, 2022
fcc9373
feat: allow collecting node-level metrics for Couchbase buckets (#9717)
akrantz01 Jun 27, 2022
bf4e050
feat: Migrate collectd parser to new style (#11367)
sspaink Jun 27, 2022
f10f662
chore(deps): Bump cloud.google.com/go/pubsub from 1.22.2 to 1.23.0 (#…
dependabot[bot] Jun 27, 2022
34cacd8
chore(deps): Bump github.com/aws/aws-sdk-go-v2/service/kinesis (#11380)
dependabot[bot] Jun 27, 2022
26c5062
chore: Remove 'github.com/satori/go.uuid' replacement (#11240)
srebhan Jun 28, 2022
20ed58c
chore: Remove 'github.com/cisco-ie/nx-telemetry-proto' replacement (#…
srebhan Jun 28, 2022
3008d91
chore(deps): Bump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.1.0…
dependabot[bot] Jun 28, 2022
b89a254
test: add nightly package testing to amd64/linux (#11377)
powersj Jun 29, 2022
eb77bdd
fix: resolve jolokia2 panic on null response (#11397)
PapaPiya Jun 29, 2022
524038a
fix: Sync back sample.confs for inputs.couchbase and outputs.groundwo…
srebhan Jun 29, 2022
1a84be4
docs: Update etc/telegraf.conf and etc/telegraf_windows.conf (#11414)
telegraf-tiger[bot] Jun 29, 2022
e575fa4
chore(deps): Bump github.com/golang-jwt/jwt/v4 from 4.4.1 to 4.4.2 (#…
dependabot[bot] Jun 29, 2022
2646f3d
chore(deps): Bump github.com/vmware/govmomi from 0.27.3 to 0.28.0 (#1…
dependabot[bot] Jun 29, 2022
bd516ae
chore: move printing of sample config file out of config.go (#11409)
reimda Jun 29, 2022
b638c53
feat: migrate form_urlencoded parser to new style (#11381)
sspaink Jun 29, 2022
6e6fba7
feat(outputs/wavefront): make maximum http batch size configurable (#…
LukeWinikates Jun 29, 2022
40af1d6
docs: Update etc/telegraf.conf and etc/telegraf_windows.conf (#11419)
telegraf-tiger[bot] Jun 29, 2022
b423a3e
feat: migrate value parser to new style (#11407)
powersj Jun 29, 2022
e710192
feat: Migrate graphite parser to new style (#11405)
srebhan Jun 29, 2022
e5bcc27
fix: Bring back old xpath section names (#11335)
srebhan Jun 29, 2022
9ea9314
feat: Migrate logfmt parser to new style (#11366)
srebhan Jun 29, 2022
f4cdda4
test: exchange confused parameters (expected vs actual) (#11422)
HeikoSchlittermann Jun 29, 2022
c9c0b91
chore(deps): Bump github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs…
dependabot[bot] Jun 29, 2022
f8766bc
feat: Migrate dropwizard parser to new style (#11371)
srebhan Jun 29, 2022
56a3f18
feat: migrate grok to new parser style (#11408)
powersj Jun 30, 2022
f55de4a
chore(deps): Bump github.com/influxdata/influxdb-observability/otel2i…
dependabot[bot] Jun 30, 2022
4e5b749
test: run check-update on dnf/yum (#11430)
powersj Jun 30, 2022
b7e09bb
feat: adding aws metric streams input plugin (#11233)
mccabecillian Jun 30, 2022
a050fee
docs: Update etc/telegraf.conf and etc/telegraf_windows.conf (#11431)
telegraf-tiger[bot] Jun 30, 2022
7d83b07
fix: add reset-mode flag for CSV parser (#11288)
srebhan Jun 30, 2022
9e50853
feat: Migrate nagios parser to new style (#11402)
sspaink Jun 30, 2022
aa68da2
chore(deps): Bump k8s.io/api from 0.24.1 to 0.24.2 (#11434)
dependabot[bot] Jun 30, 2022
379b8ea
chore(deps): Bump github.com/prometheus/client_golang (#11437)
dependabot[bot] Jun 30, 2022
ffb59a3
docs: add firehose to EXTERNAL_PLUGINS.md (#11450)
muhlba91 Jul 5, 2022
2f67010
test: Update wait statement for postgresql_extensible (#11447)
powersj Jul 5, 2022
5598a16
docs(inputs.mqtt_consumer): add pivot example to readme (#11195)
MyaLongmire Jul 5, 2022
8c0cf66
Update changelog for v1.23.1
Jul 5, 2022
c25f9a0
fix: Update prometheus parser to be a new style parser plugin (#11440)
reimda Jul 6, 2022
0ff94c5
chore(deps): Bump github.com/docker/docker (#11438)
dependabot[bot] Jul 6, 2022
b73136c
fix: Deprecation warnings for non-deprecated packages (#11460)
srebhan Jul 6, 2022
fbccc71
feat(input): add upsd implementation (#9890)
Malinskiy Jul 6, 2022
1c8c057
chore(inputs.socket_listener): Remove parser from init (#11462)
sspaink Jul 6, 2022
da5fdad
docs: Update etc/telegraf.conf and etc/telegraf_windows.conf (#11463)
telegraf-tiger[bot] Jul 6, 2022
9744c3a
feat: Migrate influx and influx_upstream parsers to new style (#11432)
sspaink Jul 6, 2022
6aad0a6
fix: use bigint for backupsize in sqlserver (#11448)
powersj Jul 7, 2022
8f789c5
test: ignore return code on check-update (#11445)
powersj Jul 7, 2022
c91eacd
feat(inputs.nginx_plus_api): Gather limit_reqs metrics (#10874)
glennlod Jul 7, 2022
5b238cb
chore: sign nightly artifacts to detect issues before release (#11464)
sspaink Jul 7, 2022
f29f7b2
fix(gnmi): refactor tag-only subs for complex keys (#11011)
bewing Jul 7, 2022
a0aa408
chore(gnmi): Add Metrics heading to README.md (#11476)
bewing Jul 7, 2022
4d2ebe5
fix: Update prometheusremotewrite parser to be a new style parser plu…
reimda Jul 8, 2022
e4afb2b
feat(rabbitmq): add support for head_message_timestamp metric (#11475)
philomory Jul 8, 2022
bf0d261
fix(inputs.upsd): Move to new sample.conf style (#11471)
srebhan Jul 8, 2022
a9e71ee
docs: Update etc/telegraf.conf and etc/telegraf_windows.conf (#11480)
telegraf-tiger[bot] Jul 8, 2022
1a47277
fix(inputs.snmp): snmp UseUnconnectedUDPSocket when using udp (#10331)
MyaLongmire Jul 8, 2022
5084831
fix: allow 201 for cookies, update header docs (#11472)
powersj Jul 8, 2022
3e63985
docs: Update etc/telegraf.conf and etc/telegraf_windows.conf (#11483)
telegraf-tiger[bot] Jul 11, 2022
66bd5e9
Update changelog for v1.23.2
Jul 11, 2022
8b3cab8
feat(inputs.logstash): Record number of failures (#9185)
bartigor Jul 11, 2022
0ef5df5
chore(deps): Bump github.com/antchfx/jsonquery from 1.1.5 to 1.2.0 (#…
dependabot[bot] Jul 12, 2022
fa0c9c9
feat(inputs.smart): Collect SSD endurance information where available…
bentasker Jul 12, 2022
d7f8f02
fix: Backport sync sample.conf and README.md files (#11489)
srebhan Jul 12, 2022
67d6d18
docs: Update etc/telegraf.conf and etc/telegraf_windows.conf (#11496)
telegraf-tiger[bot] Jul 12, 2022
b440045
chore: Skip building artifacts on master branch (#11465)
sspaink Jul 12, 2022
19b77ad
chore: Check for readme changes in each PR (#11495)
sspaink Jul 12, 2022
a5bc5b5
docs: explain proxmox user/token and node_name (#11487)
powersj Jul 12, 2022
20acbf7
feat: add proxy support for outputs/cloudwatch (#11399)
scholz Jul 13, 2022
0fced88
chore: Update CRLF line endings in agent.conf to LF (#11501)
powersj Jul 14, 2022
b0819ba
feat: add Stomp (Active MQ) output plugin (#7995)
amus-sal Jul 14, 2022
5802df7
chore: cleanup go.mod and dependency licences (#11503)
powersj Jul 14, 2022
2d357d4
docs: Add example output section to HTTP plugin (#11497)
sspaink Jul 14, 2022
acc8008
test: do not have leadership election during kafka test (#11404)
powersj Jul 14, 2022
6c7b3b3
feat(inputs.modbus): Error out on requests with no fields defined. (#…
srebhan Jul 15, 2022
2ac311c
fix(parsers.prometheus): histogram infinity bucket must be allways pr…
mmolnar Jul 15, 2022
1456689
fix: add version number to Mac packages (#11506)
sspaink Jul 15, 2022
5e418d7
Revert "fix: add version number to Mac packages (#11506)" (#11510)
powersj Jul 18, 2022
4766d0c
feat: Nats Jetstream consumer add simple support for jetstream subjec…
Jul 18, 2022
c984cd8
fix: correct init volume gatherer in openstack (#11481)
powersj Jul 18, 2022
b507636
fix: use reader over readcloser, regen cookie-jar (#11482)
powersj Jul 18, 2022
1fa47c8
feat(inputs.cisco_telemetry_mdt): Add GRPC Keepalive/timeout config o…
danialre Jul 18, 2022
f29f6cf
docs: run make-docs (#11514)
powersj Jul 18, 2022
3c5d71b
feat: Add RedisTimeSeries plugin (#11054)
gkorland Jul 19, 2022
cb0df01
fix: make docs + go.mod cleanup post-redis merge (#11521)
powersj Jul 19, 2022
ae695e8
fix(inputs.sqlserver): set lower deadlock priority (#11522)
buffalovagabond Jul 19, 2022
cff5c0e
fix(inputs.mqtt_consumer): topic parsing error when topic having pr…
wuxingzhong Jul 20, 2022
e2c2f29
chore: update to go1.18.4 (#11526)
powersj Jul 20, 2022
ba36cfe
feat(outputs.redistimeseries): Add integration test (#11529)
srebhan Jul 20, 2022
46f059e
feat: added metrics for member and replica-set avg health of MongoDB …
svenburkard Jul 20, 2022
678e6e7
feat(outputs.groundwork): Improve metric parsing to extend output (#1…
ymkins Jul 20, 2022
08c895d
feat(inputs.syslog): log remote host as source tag (#9440)
thepacketgeek Jul 20, 2022
ffb06c2
fix: Add version number to MacOS packages (#11512)
powersj Jul 21, 2022
9f3a741
feat(parsers.json): Allow JSONata based transformations in JSON seria…
srebhan Jul 21, 2022
79235cb
fix(inputs.snmp_trap): nil map panic when use snmp_trap with netsnmp …
PapaPiya Jul 22, 2022
d84bf9a
feat(inputs.statsd): add median timing calculation to statsd input pl…
amarinderca Jul 22, 2022
a201ae4
Update changelog for v1.23.3
MyaLongmire Jul 25, 2022
beb18d9
feat(outputs.graphite): Retry connecting to servers with failed send …
sspaink Jul 25, 2022
f96755c
docs(inputs.modbus): README changes regarding request.tags (#11541)
mrxaxen Jul 25, 2022
b1546fe
feat(inputs.kafka_consumer): Option to set default fetch message byte…
AlbertasB Jul 25, 2022
911072c
fix(inputs.sqlserver): set lower deadlock priority (#11548)
powersj Jul 26, 2022
9a7c308
docs: add timeout section (#11550)
MyaLongmire Jul 26, 2022
ca8a6cf
chore: add missing section to kafka_consumer's sample.conf (#11553)
reimda Jul 26, 2022
7eccb82
docs(inputs.mysql): Add link to docs on how to enable mysql's perform…
reimda Jul 27, 2022
b87d06e
fix(inputs.stackdriver): Handle when no buckets available (#11556)
sspaink Jul 27, 2022
af43d01
feat(output.mqtt): Add support for MQTT protocol version 5 (#11284)
cmackenzie1 Jul 27, 2022
13b0ed0
fix(inputs.opcua): return an error with mismatched types (#11539)
MyaLongmire Jul 27, 2022
ff17ede
feat(parsers.xpath): Add support for returning underlying data-types …
srebhan Jul 28, 2022
fd84042
feat: Add license checking tool (#11398)
srebhan Jul 28, 2022
3ad9fe7
chore: More parser cleanup (#11532)
srebhan Jul 28, 2022
b14aad6
fix: Remove shell execution for license-checker. (#11563)
srebhan Jul 29, 2022
5b9aee1
fix: Updating credentials file to not use endpoint_url parameter (#10…
zhihaoli Jul 29, 2022
6721187
feat(outputs.sql): Add settings for go sql.DB settings (#11551)
reimda Jul 29, 2022
8c98d60
chore(deps): Bump github.com/testcontainers/testcontainers-go from 0.…
dependabot[bot] Jul 29, 2022
e20a783
chore(deps): Bump github.com/apache/thrift from 0.15.0 to 0.16.0 (#11…
dependabot[bot] Jul 29, 2022
d10cc09
chore(deps): Bump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.46.…
dependabot[bot] Jul 29, 2022
0ad33bd
chore(deps): Update all go.opentelemetry.io dependencies (#11494)
dependabot[bot] Aug 1, 2022
b525096
chore(deps): Bump github.com/go-ldap/ldap/v3 from 3.4.1 to 3.4.4 (#11…
dependabot[bot] Aug 1, 2022
98fc7d2
chore(deps): Bump github.com/karrick/godirwalk from 1.16.1 to 1.17.0 …
dependabot[bot] Aug 1, 2022
8003e66
chore(deps): Bump github.com/vmware/govmomi from 0.28.0 to 0.29.0 (#1…
dependabot[bot] Aug 1, 2022
e7e3926
chore(deps): Bump github.com/eclipse/paho.mqtt.golang from 1.3.5 to 1…
dependabot[bot] Aug 1, 2022
196abb7
fix(inputs.cloudwatch): customizable batch size when querying (#10851)
powersj Aug 1, 2022
9f57f94
chore(inputs.ntpq): Cleanup existing plugin (#11575)
srebhan Aug 1, 2022
f0aad2f
fix(outputs.wavefront): update wavefront sdk and use non-deprecated A…
LukeWinikates Aug 1, 2022
bdd2918
chore(deps): Bump github.com/shirou/gopsutil/v3 from 3.22.4 to 3.22.7…
dependabot[bot] Aug 2, 2022
7058a06
chore(deps): Bump github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs…
dependabot[bot] Aug 2, 2022
2c97860
chore(deps): Bump github.com/Azure/go-autorest/autorest/adal (#11583)
dependabot[bot] Aug 2, 2022
a6367e7
chore(deps): Bump github.com/pion/dtls/v2 from 2.0.13 to 2.1.5 (#11581)
dependabot[bot] Aug 2, 2022
e257846
fix(inputs): Linter issues (#11576)
srebhan Aug 2, 2022
272a0a3
test: fix openetelemtry test (#11573)
povilasv Aug 2, 2022
2b13b0b
chore(deps): Bump github.com/Azure/azure-event-hubs-go/v3 (#11590)
dependabot[bot] Aug 2, 2022
c325d58
chore(deps): Bump github.com/aws/aws-sdk-go-v2/service/cloudwatch (#1…
dependabot[bot] Aug 2, 2022
bc98bd5
chore(deps): Bump github.com/aws/aws-sdk-go-v2/service/kinesis (#11585)
dependabot[bot] Aug 2, 2022
6dce1e6
chore(deps): Bump github.com/aws/aws-sdk-go-v2/service/dynamodb (#11584)
dependabot[bot] Aug 2, 2022
e6c2f53
chore(deps): Bump github.com/signalfx/golib/v3 from 3.3.43 to 3.3.45 …
dependabot[bot] Aug 2, 2022
f9e06e9
chore: update github.com/harlow/kinesis-consumer (#11599)
reimda Aug 2, 2022
ba2ebe8
feat(inputs.ntpq): Add option to specify command flags (#11593)
srebhan Aug 2, 2022
a049738
feat(inputs.openstack): Add "allow_reauth" config option for openstac…
singamSrikar Aug 2, 2022
e33ffeb
feat(inputs.ntpq): Add possibility to query remote servers (#11592)
srebhan Aug 2, 2022
b741f32
fix(inputs.kube_inventory): send file location to enable token auto-r…
powersj Aug 2, 2022
66a3c75
Merge branch 'master' into postgres
mehdisadeghi Aug 3, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
131 changes: 105 additions & 26 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ executors:
working_directory: '/go/src/github.com/influxdata/telegraf'
resource_class: large
docker:
- image: 'quay.io/influxdb/telegraf-ci:1.18.3'
- image: 'quay.io/influxdb/telegraf-ci:1.18.4'
environment:
GOFLAGS: -p=4
mac:
Expand Down Expand Up @@ -37,14 +37,6 @@ commands:
check-changed-files-or-halt:
steps:
- run: ./scripts/check-file-changes.sh
rebase-on-master:
steps:
- run: |
git config --global user.email "[email protected]"
git config --global user.name "telegraf"
git remote add upstream https://github.com/influxdata/telegraf
git fetch upstream
git rebase upstream/master
test-go:
parameters:
os:
Expand All @@ -62,7 +54,6 @@ commands:
steps:
- checkout
- check-changed-files-or-halt
- rebase-on-master
- when:
condition:
equal: [ linux, << parameters.os >> ]
Expand All @@ -87,17 +78,30 @@ commands:
key: windows-go-<< parameters.cache_version >>-{{ checksum "go.sum" }}
- run: 'sh ./scripts/installgo_windows.sh'
- run: choco install mingw
- run: mkdir -p test-results
- run: ./scripts/install_gotestsum.sh << parameters.os >> << parameters.gotestsum >>
- unless:
condition:
equal: [ "386", << parameters.arch >> ]
steps:
- run: echo 'export RACE="-race"' >> $BASH_ENV
- run: |
GOARCH=<< parameters.arch >> ./<< parameters.gotestsum >> --junitfile test-results/gotestsum-report.xml -- ${RACE} -short ./...
- store_test_results:
path: test-results
GOARCH=<< parameters.arch >> ./<< parameters.gotestsum >> -- ${RACE} -short -cover -coverprofile=coverage.out ./...
- when:
condition:
and:
- equal: [ "master", << pipeline.git.branch >> ]
- equal: [ "linux", << parameters.os >> ]
- equal: [ "amd64", << parameters.arch >> ]
steps:
- run:
name: "Installing goveralls"
command: go install github.com/mattn/goveralls@latest
- run:
name: "Remove plugins/parsers/influx/machine.go from coverage"
command: sed -i '/github.com\/influxdata\/telegraf\/plugins\/parsers\/influx\/machine.go/d' coverage.out
- run:
name: "Create report"
command: /go/bin/goveralls -coverprofile=coverage.out -service=circle-ci -repotoken=${COVERALLS_TOKEN}
- when:
condition:
equal: [ linux, << parameters.os >> ]
Expand Down Expand Up @@ -140,7 +144,6 @@ commands:
steps:
- checkout
- check-changed-files-or-halt
- rebase-on-master
- attach_workspace:
at: '/go'
- when:
Expand Down Expand Up @@ -177,6 +180,7 @@ jobs:
- restore_cache:
key: go-mod-v1-{{ checksum "go.sum" }}
- check-changed-files-or-halt
- run: ./scripts/make_docs.sh
- run: 'make deps'
- run: 'make tidy'
- run: 'make check'
Expand Down Expand Up @@ -209,9 +213,8 @@ jobs:
resource_class: large
steps:
- checkout
- restore_cache:
key: go-mod-v1-{{ checksum "go.sum" }}
- check-changed-files-or-halt
- run: 'sh ./scripts/installgo_linux.sh'
- run: 'make deps'
- run: 'make test-integration'
test-go-mac:
Expand All @@ -229,6 +232,21 @@ jobs:
os: windows
gotestsum: "gotestsum.exe"

test-licenses:
executor: telegraf-ci
steps:
- checkout
- restore_cache:
key: go-mod-v1-{{ checksum "go.sum" }}
- check-changed-files-or-halt
- run: 'make build_tools'
- run: './tools/license_checker/license_checker -whitelist ./tools/license_checker/data/whitelist'
- save_cache:
name: 'go module cache'
key: go-mod-v1-{{ checksum "go.sum" }}
paths:
- '/go/pkg/mod'

windows-package:
parameters:
nightly:
Expand Down Expand Up @@ -409,6 +427,20 @@ jobs:
docker tag telegraf-alpine quay.io/influxdb/telegraf-nightly:alpine
docker image ls
docker push quay.io/influxdb/telegraf-nightly:alpine
amd64-package-test-nightly:
machine:
image: ubuntu-2004:current
steps:
- checkout
- attach_workspace:
at: '.'
- run: sudo apt update && sudo apt install -y snapd
- run: sudo snap install lxd
- run: sudo lxd init --auto
- run: sudo usermod -a -G lxd $(whoami)
- run: cd tools/package_lxd_test && go build
- run: ./tools/package_lxd_test/package_lxd_test --package $(find ./dist -name "*_amd64.deb")
- run: ./tools/package_lxd_test/package_lxd_test --package $(find ./dist -name "*.x86_64.rpm")
package-sign-windows:
executor:
name: win/default
Expand Down Expand Up @@ -523,72 +555,108 @@ workflows:
requires:
- 'test-go-mac'
filters:
branches:
ignore:
- master
tags:
only: /.*/
- 'i386-package':
requires:
- 'test-go-linux-386'
filters:
branches:
ignore:
- master
tags:
only: /.*/
- 'ppc64le-package':
requires:
- 'test-go-linux'
filters:
branches:
ignore:
- master
tags:
only: /.*/
- 'riscv64-package':
requires:
- 'test-go-linux'
filters:
branches:
ignore:
- master
tags:
only: /.*/
- 's390x-package':
requires:
- 'test-go-linux'
filters:
branches:
ignore:
- master
tags:
only: /.*/
- 'armel-package':
requires:
- 'test-go-linux'
filters:
branches:
ignore:
- master
tags:
only: /.*/
- 'amd64-package':
requires:
- 'test-go-linux'
filters:
branches:
ignore:
- master
tags:
only: /.*/
- 'arm64-package':
requires:
- 'test-go-linux'
filters:
branches:
ignore:
- master
tags:
only: /.*/
- 'armhf-package':
requires:
- 'test-go-linux'
filters:
branches:
ignore:
- master
tags:
only: /.*/
- 'static-package':
requires:
- 'test-go-linux'
filters:
branches:
ignore:
- master
tags:
only: /.*/
- 'mipsel-package':
requires:
- 'test-go-linux'
filters:
branches:
ignore:
- master
tags:
only: /.*/
- 'mips-package':
requires:
- 'test-go-linux'
filters:
branches:
ignore:
- master
tags:
only: /.*/
- 'generate-config':
Expand Down Expand Up @@ -672,6 +740,7 @@ workflows:
- 'test-go-linux-386'
- 'test-go-mac'
- 'test-go-windows'
- 'test-licenses'
- 'windows-package':
name: 'windows-package-nightly'
nightly: true
Expand Down Expand Up @@ -742,25 +811,35 @@ workflows:
nightly: true
requires:
- 'test-go-linux'
- 'package-sign-windows':
requires:
- 'windows-package-nightly'
- 'package-sign-mac':
requires:
- 'darwin-amd64-package-nightly'
- 'darwin-arm64-package-nightly'
- nightly:
requires:
- 'amd64-package-test-nightly'
- 'arm64-package-nightly'
- 'armel-package-nightly'
- 'armhf-package-nightly'
- 'darwin-amd64-package-nightly'
- 'darwin-arm64-package-nightly'
- 'i386-package-nightly'
- 'mips-package-nightly'
- 'mipsel-package-nightly'
- 'ppc64le-package-nightly'
- 'riscv64-package-nightly'
- 's390x-package-nightly'
- 'armel-package-nightly'
- 'amd64-package-nightly'
- 'mipsel-package-nightly'
- 'mips-package-nightly'
- 'darwin-amd64-package-nightly'
- 'darwin-arm64-package-nightly'
- 'windows-package-nightly'
- 'static-package-nightly'
- 'arm64-package-nightly'
- 'armhf-package-nightly'
- 'windows-package-nightly'
- docker-nightly:
requires:
- 'nightly'
- amd64-package-test-nightly:
requires:
- 'amd64-package-nightly'
triggers:
- schedule:
cron: "0 7 * * *"
Expand Down
11 changes: 10 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
### Required for all PRs:
# Required for all PRs

<!-- Before opening a pull request you should run the following checks to make sure the CI will pass.

make check
make check-deps
make test
make docs

-->

<!-- Complete the tasks in the following list. Change [ ] to [x] to
show completion. -->
Expand Down
2 changes: 0 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,3 @@ updates:
ignore:
# Dependabot isn't able to update this packages that do not match the source, so anything with a version
- dependency-name: "*.v*"
commit-message:
prefix: "fix:"
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
/telegraf
/telegraf.exe
/telegraf.gz
/tools/package_lxd_test/package_lxd_test
/tools/license_checker/license_checker
/tools/readme_config_includer/generator
/vendor
.DS_Store
Expand Down
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ issues:
- path: _test\.go
text: "parameter.*seems to be a control flag, avoid control coupling"

- path: (^agent/|^cmd/|^config/|^filter/|^internal/|^logger/|^metric/|^models/|^selfstat/|^testutil/|^plugins/serializers/)
- path: (^agent/|^cmd/|^config/|^filter/|^internal/|^logger/|^metric/|^models/|^selfstat/|^testutil/|^plugins/serializers/|^plugins/inputs/zipkin/cmd)
text: "imports-blacklist: should not use the following blacklisted import: \"log\""
linters:
- revive
Expand Down
Loading