From 8c5b05400f8fb7c1837ea934e862655011db14a3 Mon Sep 17 00:00:00 2001 From: NipunaMadhushan Date: Wed, 25 Sep 2024 10:08:38 +0530 Subject: [PATCH 1/3] Fix env variable name --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8aee3f6..94077c9 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ tracingReporterBufferSize=10000 # Optional Configuration. Default value is 1 metricReporterFlushInterval=15000 # Optional Configuration. Default value is 15000 milliseconds metricReporterClientTimeout=10000 # Optional Configuration. Default value is 10000 milliseconds ``` -User can configure the environment variable `BALLERINA_NEWRELIC_API_KEY` instead of `apiKey` in `Config.toml`. +User can configure the environment variable `BALLERINA_NEW_RELIC_API_KEY` instead of `apiKey` in `Config.toml`. If both are configured, `apiKey` in `Config.toml` will be overwritten by the environment variable value. ### Observe Metrics in New Relic From 6238f1949118bbcddc53fa77924bacc7cc948c9a Mon Sep 17 00:00:00 2001 From: NipunaMadhushan Date: Wed, 25 Sep 2024 10:12:59 +0530 Subject: [PATCH 2/3] Update codecov action version --- .github/workflows/build-main.yml | 2 +- .github/workflows/pull-request.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-main.yml b/.github/workflows/build-main.yml index 13d24d3..ac96380 100644 --- a/.github/workflows/build-main.yml +++ b/.github/workflows/build-main.yml @@ -59,7 +59,7 @@ jobs: ./gradlew clean build publish --stacktrace --scan --console=plain --no-daemon ./gradlew codeCoverageReport --console=plain --no-daemon - name: Upload Coverage Report - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v4 with: fail_ci_if_error: true - name: Upload Artifacts diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index f7dcf98..c028b70 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -32,6 +32,6 @@ jobs: ./gradlew clean build --stacktrace --scan --console=plain --no-daemon ./gradlew codeCoverageReport --console=plain --no-daemon - name: Upload Coverage Report - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v4 with: fail_ci_if_error: true From 4814090384c0185d365a2f4d5a7c097ca94b0ff4 Mon Sep 17 00:00:00 2001 From: NipunaMadhushan Date: Wed, 25 Sep 2024 10:17:06 +0530 Subject: [PATCH 3/3] Update Package.md and Module.md --- ballerina/Module.md | 2 +- ballerina/Package.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ballerina/Module.md b/ballerina/Module.md index 18f3741..fb772ef 100644 --- a/ballerina/Module.md +++ b/ballerina/Module.md @@ -42,7 +42,7 @@ metricReporterFlushInterval=15000 # Optional Configuration. Default value is 1 metricReporterClientTimeout=10000 # Optional Configuration. Default value is 10000 milliseconds ``` -User can configure the environment variable `BALLERINA_NEWRELIC_API_KEY` instead of `apiKey` in `Config.toml`. +User can configure the environment variable `BALLERINA_NEW_RELIC_API_KEY` instead of `apiKey` in `Config.toml`. If both are configured, `apiKey` in `Config.toml` will be overwritten by the environment variable value. ### Observe Metrics in New Relic diff --git a/ballerina/Package.md b/ballerina/Package.md index 2d65015..9cc7c4f 100644 --- a/ballerina/Package.md +++ b/ballerina/Package.md @@ -40,5 +40,5 @@ tracingReporterBufferSize=10000 # Optional Configuration. Default value is 1 metricReporterFlushInterval=15000 # Optional Configuration. Default value is 15000 milliseconds metricReporterClientTimeout=10000 # Optional Configuration. Default value is 10000 milliseconds ``` -User can configure the environment variable `BALLERINA_NEWRELIC_API_KEY` instead of `apiKey` in `Config.toml`. +User can configure the environment variable `BALLERINA_NEW_RELIC_API_KEY` instead of `apiKey` in `Config.toml`. If both are configured, `apiKey` in `Config.toml` will be overwritten by the environment variable value.