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

influxdb_v2 output not respecting rate limiting response #6375

Closed
russorat opened this issue Sep 10, 2019 · 1 comment · Fixed by #6376
Closed

influxdb_v2 output not respecting rate limiting response #6375

russorat opened this issue Sep 10, 2019 · 1 comment · Fixed by #6376
Milestone

Comments

@russorat
Copy link
Contributor

Relevant telegraf.conf:

[[outputs.influxdb_v2]]
  ## The URLs of the InfluxDB cluster nodes.
  ##
  ## Multiple URLs can be specified for a single cluster, only ONE of the
  ## urls will be written to each interval.
  ## urls exp: http://127.0.0.1:9999
  urls = ["https://us-west-2-1.aws.cloud2.influxdata.com"]

  ## Token for authentication.
  token = "TOKEN"

  ## Organization is the name of the organization you wish to write to; must exist.
  organization = "ORGID"

  ## Destination bucket to write into.
  bucket = "BUCKETID" 

System info:

local telegraf, influxdb cloud2 instance.

Steps to reproduce:

  1. sign up for a free influxdb cloud 2 account
  2. attempt to write many metrics into the account in order to get a rate limit on cardinality
  3. notice that the message does not have the correct retry information

Expected behavior:

the message in the telegraf logs should have the correct retry time.

Actual behavior:

the message in the telegraf logs always has 0s.

Additional info:

2019-09-10T16:05:04Z E! [outputs.influxdb_v2] when writing to [https://us-west-2-1.aws.cloud2.influxdata.com]: Waiting 0s for server before sending metric again
@glinton
Copy link
Contributor

glinton commented Sep 10, 2019

Can you make a write request using curl and use the -i flag? Telegraf uses a header in the response, I wonder if it changed without us being notified

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

Successfully merging a pull request may close this issue.

3 participants