Observability
This documentation needs to be completed. You can help us by contributing to the documentation. |
Configuration
Pillars integrates OpenTelemetry to provide observability features.
You can configure the following settings in the application.conf
file:
observability:
enabled: true
service-name: bookstore
metrics:
enabled: true
traces:
enabled: true
Metrics
By default, the following metrics are defined on API server, Admin server and HTTP client
API Server and Admin Server
Metric | Description | Type | Unit |
---|---|---|---|
|
The number of HTTP active requests |
UpDownCounter |
requests |
|
The total number of HTTP requests |
Counter |
requests |
|
Duration of HTTP requests |
Histogram |
milliseconds |
|
The HTTP request payload body size |
Histogram |
bytes |
|
The HTTP request payload body size |
Histogram |
bytes |
Attributes
The following attributes are added to the HTTP server metrics:
Attribute | Description | Type |
---|---|---|
|
The HTTP route |
String |
|
The HTTP request method |
String |
|
The URL scheme |
String |
|
The HTTP response status class ( |
String |
|
The HTTP response status |
String |
|
The error type |
String |
HTTP Client
Metric | Description | Type | Unit |
---|---|---|---|
|
The number of HTTP active requests |
UpDownCounter |
requests |
|
The total number of HTTP requests |
Counter |
requests |
|
Duration of HTTP requests |
Histogram |
milliseconds |
|
The HTTP request payload body size |
Histogram |
bytes |
Attributes
The following attributes are added to the HTTP client metrics:
Attribute | Description | Type |
---|---|---|
|
The HTTP path |
String |
|
The HTTP request host |
String |
|
The HTTP request method |
String |
|
The URL scheme |
String |
|
The HTTP response status class ( |
String |
|
The HTTP response status code |
String |
|
The error type |
String |
Traces
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.