Comments (4)
@nick-kentik please submit your change as a PR!
from telegraf.
@srebhan as I said, I don't think it's a complete fix
from telegraf.
Yeah, just poking one at random, it looks like the kibana input plugin has the same issue, for instance.
A complete fix would need to audit each of these files and make sure CloseIdleConnections()
is called, or perhaps consider a different approach (a non-zero default for idle_conn_timeout
perhaps?)
plugins/outputs/http/http.go:94: client, err := h.HTTPClientConfig.CreateClient(ctx, h.Log)
plugins/outputs/cloudwatch/cloudwatch.go:167: client, err := c.HTTPClientConfig.CreateClient(ctx, c.Log)
plugins/inputs/vault/vault.go:64: client, err := n.HTTPClientConfig.CreateClient(ctx, n.Log)
plugins/inputs/prometheus/prometheus.go:216: client, err := p.HTTPClientConfig.CreateClient(ctx, p.Log)
plugins/inputs/elasticsearch_query/elasticsearch_query.go:202: return e.HTTPClientConfig.CreateClient(ctx, e.Log)
plugins/inputs/logstash/logstash.go:139: return logstash.HTTPClientConfig.CreateClient(ctx, logstash.Log)
plugins/inputs/http/http.go:70: client, err := h.HTTPClientConfig.CreateClient(ctx, h.Log)
plugins/inputs/elasticsearch/elasticsearch.go:291: return e.HTTPClientConfig.CreateClient(ctx, e.Log)
plugins/inputs/ctrlx_datalayer/ctrlx_datalayer.go:280: c.connection, err = c.HTTPClientConfig.CreateClient(ctx, c.Log)
plugins/inputs/kibana/kibana.go:155: return k.HTTPClientConfig.CreateClient(ctx, k.Log)
plugins/inputs/openstack/openstack.go:151: client, err := o.HTTPClientConfig.CreateClient(ctx, o.Log)
plugins/secretstores/http/http.go:50: client, err := h.HTTPClientConfig.CreateClient(ctx, h.Log)
The config workaround doesn't work for me, since our config files need to work across both 1.21.4 and 1.27.4 at the moment, so I'm unlikely to have time to dedicate to upstream for a bit.
from telegraf.
PR: #15213
from telegraf.
Related Issues (20)
- [inputs.tail] Logs being processed everytime the agent restarts HOT 2
- Debian Server Telegraf Docker Container fails to connect to OPCUA while Ubuntu Machine connects HOT 9
- [inputs.win_eventlog] Telegraf agent not collecting custom event logs HOT 4
- chore: support new golang version 1.22.3
- Add Python example for Execd plugin HOT 1
- [documentation]: improve details on kubernetes input configuration HOT 3
- Refreshing of Bearer token is unsupported in HTTP input plugin HOT 2
- influxdb_v2_listener rate limit HOT 10
- Internet Speed Monitor - add packet loss HOT 1
- Ping size configuration on Windows HOT 2
- feat(processors): Traffic shaper processor plugin to shape uneven distribution of incoming metrics HOT 1
- Kafka Input plugin - allow access to broker list through a VIP HOT 5
- No gather_time_ns when running Windows and --test HOT 2
- Adding support of extended_gateway to SFlow plugin HOT 10
- Support for explicit credentials for monitoring remote systems via win_perf_counters plugin HOT 2
- Cross compile telegraf depend on libc.so instead of libc.so.6 HOT 7
- Cisco_telemetry_mdt input plugin incorrect parsing of child policy HOT 3
- Update produces log: "Failed to execute operation: File exists" HOT 4
- port_name plugin errors for unknown protocols cannot be silenced HOT 2
- Go Mod Toolkit more specific version HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from telegraf.