Update config in Time Series Analytics Microservice#
The Time Series Analytics Microservice provides an interactive Swagger UI at https://<host_ip>:3000/ts-api/docs.
Note: Use the link https://localhost:30001/ts-api/docs to access the Swagger UI if doing a Helm-based deployment on a Kubernetes cluster.
Accessing the Swagger UI#
To view the current configuration:#
Open the Swagger UI in your browser.
Locate the
GET /configendpoint.Expand the endpoint and click Execute.
The response will display the current configuration of the Time Series Analytics Microservice.
To activate the new UDF deployment package#
Open the Swagger UI in your browser.
Locate the
GET /configendpoint.Expand the endpoint, set the
restartoption totruein the request body, and click Execute.The response will display the current configuration and activate the new UDF deployment of the Time Series Analytics Microservice.
To update the current configuration:#
Open the Swagger UI in your browser.
Find the
POST /configendpoint.Expand the endpoint, enter the new configuration in the request body, and click Execute.
The service will apply the updated configuration and start with the new configuration.