From f1e328018465a1440c27a6a85b0d35b97afca1ce Mon Sep 17 00:00:00 2001 From: D056267 Date: Mon, 10 Jul 2023 10:37:22 +0200 Subject: [PATCH 1/3] broken link --- documentation/meter/deploy/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/meter/deploy/README.md b/documentation/meter/deploy/README.md index 32c0527..4f21b1d 100644 --- a/documentation/meter/deploy/README.md +++ b/documentation/meter/deploy/README.md @@ -12,7 +12,7 @@ To execute all the necessary steps for the deployment, you will need the followi * [Kubernetes CLI](https://kubernetes.io/docs/tasks/tools/#kubectl) * [Kubernetes OpenID Connect (OIDC) authentication](https://github.com/int128/kubelogin) * [jq](https://stedolan.github.io/jq/) -* [uuidgen](https://packages.ubuntu.com/bionic/uuid-runtime) +* [uuidgen](https://launchpad.net/ubuntu/bionic/+package/uuid-runtime) **NOTE** If you use Windows, we recommend using a Linux subsystem for the mission as our scripts are only available as bash scripts. Furthermore, most of the examples around Kubernetes, for example, are written for Linux/MacOS environments. See [Install WSL](https://docs.microsoft.com/en-us/windows/wsl/install) in the Microsoft documentation for more details. If you have chosen to use Linux, you need to choose the Linux installation option for the mentioned tools. From 54b1194f89f1859cab173b1be326239e95b193d2 Mon Sep 17 00:00:00 2001 From: D056267 Date: Mon, 10 Jul 2023 11:14:23 +0200 Subject: [PATCH 2/3] adding new year to day2 ui --- .../day2-ui/src/components/MeteringDashboardActiveUsers.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/code/day2-operations/source/day2-ui/src/components/MeteringDashboardActiveUsers.vue b/code/day2-operations/source/day2-ui/src/components/MeteringDashboardActiveUsers.vue index f767b40..e5e5960 100644 --- a/code/day2-operations/source/day2-ui/src/components/MeteringDashboardActiveUsers.vue +++ b/code/day2-operations/source/day2-ui/src/components/MeteringDashboardActiveUsers.vue @@ -32,6 +32,7 @@ + From bb0a561330ddd6dd918ed01e9157a2610f70eafc Mon Sep 17 00:00:00 2001 From: D056267 Date: Mon, 10 Jul 2023 15:16:44 +0200 Subject: [PATCH 3/3] Link update --- .../observe/monitor-custom-metrics-in-dynatrace/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/documentation/observe/monitor-custom-metrics-in-dynatrace/README.md b/documentation/observe/monitor-custom-metrics-in-dynatrace/README.md index 0ca2181..221ad15 100644 --- a/documentation/observe/monitor-custom-metrics-in-dynatrace/README.md +++ b/documentation/observe/monitor-custom-metrics-in-dynatrace/README.md @@ -6,7 +6,9 @@ To demostrate how to expose custom metrics of your application through HTTP endp The **DB service** uses **Hibernate** as object-relational mapping framework to persist domain model entities to a relational database. The [SynchronizedConnectionMap java class](https://github.com/SAP-samples/btp-kyma-multitenant-extension/blob/main/code/easyfranchise/source/backend/db-service/src/main/java/dev/kyma/samples/easyfranchise/dbservice/SynchronizedConnectionMap.java) make use of the **C3P0ConnectionProvider class**, provided by Hibernate. This connection provider uses a [C3P0 connection pool](https://www.mchange.com/projects/c3p0/). -To illustrate how custom metrics are exposed in [Prometheus format](https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels)[1](#OpenMetrics) through your own application, following example is provided: +To illustrate how custom metrics are exposed in [Prometheus format](https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels) through your own application, following example is provided. +> Note: you can also use [Open Metrics](https://openmetrics.io/), which is a more vendor neutral format and successor of the Prometheus format. + [C3P0 DB connection pool metrics](../../../code/day2-operations/source/day2-service/src/main/java/dev/kyma/samples/easyfranchise/day2/rest/jmx/C3P0ConnectionPoolMetricsScheduler.java) implemented using [Prometheus Java client](https://github.com/prometheus/client_java). In our DB-service [c3p0 pool](https://www.mchange.com/projects/c3p0/) is used to access the database of the Easy Franchise application. We collected the following metrics to provide a real-time monitoring of the database connecion usage for each of the subscribed tenants: - db_number_connections_all_users