[New Feature]: Log metrics for each response #43614
Labels
needTriage
The issue has to be inspected and labeled manually
Type/NewFeature
userCategory/Compilation
Description
We need to implement log based metrics for Ballerina as a requirement for all WSO2 on-prem and SaaS products that need to use the same stack for observability. In order to retrieve metrics data using OpenSearch, we need to provide log based metrics which contain a format as follows.
[Time Stamp] protocol:<protocol_type>, tagKey1:tagValue1, tagKey2:tagValue2, .. | response_time:<value_in_seconds>
This feature is configurable in runtime and can be configured as follows in the
Config.toml
for the ballerina/observe module. By default, this configuration will be false.Describe your problem(s)
No response
Describe your solution(s)
No response
Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered: