RESTMon Data Collection not working for ThousandEyes SaaS
search cancel

RESTMon Data Collection not working for ThousandEyes SaaS

book

Article ID: 259548

calendar_today

Updated On:

Products

DX Operational Intelligence

Issue/Introduction

After upgrading our Kubernetes cluster, WE had to rebuild the RESTMon pod supporting ThousandEyes. It was returning 400 errors and not collecting data. wE removed the headers and Authorization entry from the definitions block in the thousandeyes_schema.json and that did not fix the probleM.

Here’s the current error:

 [main] WARN  Scheduler:195 - thousandeyes~~thousandeyes - The profile can not be processed as the referred schema 'thousandeyes_schema.json' does not exist or is valid.

And from a swagger ui perspective:

{

  "Status": "Data collection is not happening"

}

Resolution

In thousandeyes schema:

The issue was in the definition stanza in that:

"headers": {
          "Authorization": "%token"

was removed instead of:

"headers": {
          "Authorization": "%token"
}

Once the right bracket was removed, metrics appeared.

Additional Information

Misleading error messages in pod log:

[main] ERROR ProfileConfigurationUtil:249 - Skipping profile with invalid JSON data thousandeyes~~thousandeyes
[main] WARN  RestmonRestHelper:385 - thousandeyes~~thousandeyes - Invalid Schema name: The schema name used in the profile and the schema definition object does not match.
[main] WARN  Scheduler:195 - thousandeyes~~thousandeyes - The profile can not be processed as the referred schema 'thousandeyes_schema.json' does not exist or is valid.