Ballerina Prometheus Observability Extension
Building from the Source
Setting Up the Prerequisites
-
Download and install Java SE Development Kit (JDK) version 17 (from one of the following locations).
Building the Source
Execute the commands below to build from source.
-
To build the library:
./gradlew clean build
-
To run the integration tests:
./gradlew clean test
Available Metrics
The exporter provides the following metrics.
Metric Name | Description |
---|---|
response_time_seconds_value | Response time of a request in seconds |
response_time_seconds_max | Maximum response time of a request |
response_time_seconds_min | Minimum response time of a request |
response_time_seconds_mean | Average response time of a request |
response_time_seconds_stdDev | Standard deviation of response time of a request |
response_time_seconds | Summary of request-response times across various time frames and quantiles |
response_time_nanoseconds_total_value | Total response time for all requests |
requests_total_value | Total number of requests |
response_errors_total_value | Total number of response errors |
inprogress_requests_value | Total number of inprogress requests |
kafka_publishers_value | Number of publishers in kafka |
kafka_consumers_value | Number of consumers in kafka |
kafka_errors_value | Number of errors happened while publishing in kafka |
Contributing to Ballerina
As an open source project, Ballerina welcomes contributions from the community.
For more information, go to the contribution guidelines.
Code of Conduct
All contributors are encouraged to read the Ballerina Code of Conduct.
Useful Links
- Discuss about code changes of the Ballerina project in [email protected].
- Chat live with us via our Discord server.
- Post all technical questions on Stack Overflow with the #ballerina tag.
- View the Ballerina performance test results.