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

The HTTP Post node should allow logging on HTTP error codes #1569

Closed
nathanielc opened this issue Sep 18, 2017 · 1 comment
Closed

The HTTP Post node should allow logging on HTTP error codes #1569

nathanielc opened this issue Sep 18, 2017 · 1 comment
Assignees

Comments

@nathanielc
Copy link
Contributor

Kapacitor should expose information about the response it receives after making the POST request.

  • If the HTTP error code is not a 2xx, then the error code should be logged.
  • Optionally the entire response body should be logged, if the error code is not 2xx
  • Optionally the error code should be placed as a new field on the data.

@desa Thoughts?

@desa
Copy link
Contributor

desa commented Sep 18, 2017

I like it.

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