API microgateway resource information

Document ID : KB000104342
Last Modified Date : 04/07/2018
Show Technical Document Details
Question:
Q1. Other than the information which can be retrieved by docker stat { Microgateway container ID},
how can you retrieve the resource information of Microgateway such as memory, threads, etc?

Q2. Is it possible to enable service metrics in embedded database mode?

Q2-A. If CA Microgateway runs in NONE-embedded database mode, Is it possible to enable service metrics?
Environment:
CA API Microgateway v1.0 (Docker version)
Answer:
Ans1. Memory: docker stats command output provides information about Memory usage: https://docs.docker.com/engine/reference/commandline/stats/#examples
Threads: Current Microgateway version does not have any out-of-the-box provision to retrieve information regarding threads.

Ans2. No, Microgateway doesn't support the metrics in embedded database mode. It is a limitation of the current version.
Off-box metrics will be supported in later version.

Ans2-A. We don't recommend to use CA Microgateway in none-embedded database mode because it will affect scalability of the solution and will significantly skew the load test results.