Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Insufficient error message when pushing metrics to OpenTSDB fails #553

Open
axdotl opened this issue May 5, 2017 · 1 comment
Open

Insufficient error message when pushing metrics to OpenTSDB fails #553

axdotl opened this issue May 5, 2017 · 1 comment

Comments

@axdotl
Copy link
Contributor

axdotl commented May 5, 2017

Scenario: Trying to put ~20k metrics in a single HTTP request to /argus/collection/metrics fails with misleading error message.

When pushing 20k metrics via /argus/collection/metrics, the request fails with a 500. Following insufficient log message occurs in log of the metric-client:

[ ARGUS | *NULLSESSION* | *NULLUSER* | *NULLTXID* | 2017-05-05 14:09:23.658 | ccommitclient-1 |  INFO ] Error occured while committing metrics. Reason com.salesforce.dva.argus.system.SystemException: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')
 at [Source: java.io.StringReader@385564dd; line: 1, column: 2]

The root cause for this error is that chunked requests to OpenTSDB are not allowed per default. So the REST call to openTSDBs /api/put returns 400 and some HTML content (which contains the actual error message 'Chunked request not supported.')

@rajsarkapally
Copy link
Contributor

We opened a bug for this..

nkunal pushed a commit that referenced this issue Aug 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants