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

Add support for paths in output.influxdb #3260

Closed
crenz opened this issue Sep 22, 2017 · 1 comment
Closed

Add support for paths in output.influxdb #3260

crenz opened this issue Sep 22, 2017 · 1 comment

Comments

@crenz
Copy link

crenz commented Sep 22, 2017

Feature Request

Proposal:

I propose to add support for InfluxDB URLs that contain paths. As of today, the configuration is an URL, which kind of suggests that paths are supported – when in reality they are not. Here is an example:

[[outputs.influxdb]]
  urls = ["http://influxdb.example.com/api"]

Current behavior:

For the example above, telegraf will only extract the host name and port, and issue a request to e.g. http://influxdb.example.com/query?…

Desired behavior:

telegraf should make use of the URI as well and issue a request to e.g. http://influxdb.example.com/api/query?…

Use case: [Why is this important (helps with prioritizing requests)]

This feature will be very helpful for setups where InfluxDB resides behind a reverse proxy, such as nginx.

@danielnelson
Copy link
Contributor

This was added in #3224, will be in 1.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants