-
Notifications
You must be signed in to change notification settings - Fork 753
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Ballerina metrics logs observer #43615
base: master
Are you sure you want to change the base?
Add Ballerina metrics logs observer #43615
Conversation
@@ -0,0 +1,112 @@ | |||
package io.ballerina.runtime.observability.metrics; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
License text missing
...e/src/main/java/io/ballerina/runtime/observability/metrics/BallerinaMetricsLogsObserver.java
Outdated
Show resolved
Hide resolved
...e/src/main/java/io/ballerina/runtime/observability/metrics/BallerinaMetricsLogsObserver.java
Outdated
Show resolved
Hide resolved
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #43615 +/- ##
============================================
- Coverage 77.47% 77.42% -0.06%
- Complexity 58512 58576 +64
============================================
Files 3434 3443 +9
Lines 218711 218978 +267
Branches 28918 28957 +39
============================================
+ Hits 169443 169536 +93
- Misses 39874 40023 +149
- Partials 9394 9419 +25 ☔ View full report in Codecov by Sentry. |
689f6f4
to
4132840
Compare
Purpose
We are implementing 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>
Fixes #43614
Approach
Samples
Remarks
Check List