Monitoring (tC)
About
This article describes how to use the metrics feature of tia® Content Server core.
Content
- 1 About
- 2 Content
- 3 Introduction
- 4 Endpoints
- 4.1 Prometheus Endpoint
- 4.2 Metrics Endpoint
- 4.3 Health Endpoint
- 4.4 Info Endpoint
Introduction
tia® Content Server core offers metrics via an endpoint. for prometheus.
Endpoints
There are several endpoint.
Prometheus Endpoint
http://<HOST>:<PORT>/<WEB CONTEXT>/actuator/prometheus
Metrics Endpoint
http://<HOST>:<PORT>/<WEB CONTEXT>/actuator/metrics
This will provide you a list of available metrics names without the values.
You can request the metrics value by
http://<HOST>:<PORT>/<WEB CONTEXT>/actuator/metrics/<METRIC NAME>
Example:
Request:
http://<HOST>:<PORT>/<WEB CONTEXT>/actuator/metrics/jvm.buffer.memory.used
Response:
{
"name": "jvm.buffer.memory.used",
"description": "An estimate of the memory that the Java virtual machine is using for this buffer pool",
"baseUnit": "bytes",
"measurements":[
{ "statistic": "VALUE",
"value":1073153.0}
],
"availableTags":[
{ "tag": "id",
"values": ["direct","mapped - 'non-volatile memory'","mapped"] }
]
}
Health Endpoint
http://<HOST>:<PORT>/<WEB CONTEXT>/actuator/health