Skip to content
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 configuration for enabling observability logs #113

Merged

Conversation

NipunaMadhushan
Copy link
Contributor

Purpose

We need to add observability logs to provide response time in seconds for each response. This should be configured in the runtime. Therefore we need to add a configuration in the observe module.

Fixes ballerina-platform/ballerina-lang#43478

Examples

Checklist

  • Linked to an issue
  • Updated the changelog
  • Added tests

@@ -23,6 +23,7 @@ configurable boolean metricsEnabled = false;
configurable string metricsReporter = "";
configurable boolean tracingEnabled = false;
configurable string tracingProvider = "";
configurable boolean observabilityLogsEnabled = false;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shall we change this to metricsLogsEnabled

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chathurace Addressed suggestions

@chathurace chathurace merged commit 2b08794 into ballerina-platform:main Nov 7, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Improvement]: Make Ballerina logs configurable
2 participants