Skip to content

Commit

Permalink
Remove monitoring component (kyma-project#18265)
Browse files Browse the repository at this point in the history
* remove monitoring resources and CRDs

* remove monitoring tests

* remove unused audit-log tests

* remove eventingMonitoringTest

* remove unused isSKR import

* remove test.js

* remove unused "test-commerce-mock" and "test-getting-started"

* remove make target for ci

* adjust documentation

* add migration guide and script

* remove eventing dashboards

* remove istio dashboards

* remove ory dashboard

* remove function dashboards

* update migration script

* remove eventing docs related to monitoring

* remove dead links

* remove dead links

* set prometheus.io/scrape annotation to false in ory oathkeeper

* set prometheus.io/scrape annotation to false in api-gateway

* include deletion of function-metrics-dashboard in cleanup script

* remove observability troubleshooting

* remove kyma-system ns from deletion commands for cluster-scoped resources

* bring back docu for eventing metrics

* bring back links for eventing metrics

* update CODEOWNERS

* Update docs/README.md

Co-authored-by: Nina Hingerl <76950046+NHingerl@users.noreply.github.com>

---------

Co-authored-by: Nina Hingerl <76950046+NHingerl@users.noreply.github.com>
  • Loading branch information
shorim and NHingerl authored Oct 18, 2023
1 parent 06296ce commit dabe4dd
Show file tree
Hide file tree
Showing 348 changed files with 142 additions and 105,283 deletions.
5 changes: 1 addition & 4 deletions CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
/installation/resources/crds/compass-runtime-agent @kyma-project/Framefrog
/installation/resources/crds/eventing @kyma-project/eventing
/installation/resources/crds/istio @kyma-project/goat
/installation/resources/crds/monitoring @kyma-project/observability
/installation/resources/crds/ory @kyma-project/goat

/resources/api-gateway @kyma-project/goat
Expand All @@ -43,15 +42,13 @@
/resources/compass-runtime-agent @kyma-project/Framefrog
/resources/eventing @kyma-project/eventing
/resources/istio @kyma-project/goat
/resources/monitoring @kyma-project/observability
/resources/ory @kyma-project/goat

# Fast Integration Tests
/tests/fast-integration/Makefile @kyma-project/eventing
/tests/fast-integration/test @kyma-project/observability @kyma-project/eventing
/tests/fast-integration/test @kyma-project/eventing
/tests/fast-integration/eventing-test @kyma-project/eventing
/tests/fast-integration/image @kyma-project/eventing
/tests/fast-integration/monitoring @kyma-project/observability
/tests/fast-integration/prow @kyma-project/Jellyfish

/tests/components/application-connector @kyma-project/Framefrog
Expand Down
1 change: 0 additions & 1 deletion docs/01-overview/_sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* [Application Connectivity](/01-overview/application-connectivity/README.md)
* [Eventing](/01-overview/eventing/README.md)
* [Istio](/istio/user/00-overview/README.md)
* [Observability](/01-overview/observability/README.md)
* [Service Management](/01-overview/service-management/README.md)
* [User Interfaces](/01-overview/ui/README.md)
<!-- markdown-link-check-enable -->
1 change: 0 additions & 1 deletion docs/01-overview/eventing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,4 @@ For other technical resources, check out these links on the Kyma GitHub reposito
- [Eventing Helm chart](https://github.com/kyma-project/kyma/tree/main/resources/eventing)
- [Event Publishing Proxy](https://github.com/kyma-project/kyma/tree/main/components/event-publisher-proxy)
- [Eventing Controller](https://github.com/kyma-project/kyma/tree/main/components/eventing-controller)
- [Grafana Dashboards for Eventing](../../04-operation-guides/operations/evnt-01-eventing-dashboards.md)
- [Eventing Metrics](../../04-operation-guides/operations/evnt-02-eventing-metrics.md)
1 change: 0 additions & 1 deletion docs/01-overview/eventing/evnt-99-useful-links.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,4 @@ For other technical resources, check out these links on the Kyma GitHub reposito
- [Eventing Helm chart](https://github.com/kyma-project/kyma/tree/main/resources/eventing)
- [Event Publishing Proxy](https://github.com/kyma-project/kyma/tree/main/components/event-publisher-proxy)
- [Eventing Controller](https://github.com/kyma-project/kyma/tree/main/components/eventing-controller)
- [Grafana Dashboards for Eventing](../../04-operation-guides/operations/evnt-01-eventing-dashboards.md)
- [Eventing Metrics](../../04-operation-guides/operations/evnt-02-eventing-metrics.md)
85 changes: 0 additions & 85 deletions docs/01-overview/observability/README.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/01-overview/observability/metadata.yaml

This file was deleted.

33 changes: 0 additions & 33 deletions docs/01-overview/observability/obsv-01-monitoring-in-kyma.md

This file was deleted.

5 changes: 0 additions & 5 deletions docs/01-overview/observability/obsv-04-telemetry-in-kyma.md

This file was deleted.

24 changes: 0 additions & 24 deletions docs/01-overview/observability/obsv-10-useful-links.md

This file was deleted.

3 changes: 3 additions & 0 deletions docs/02-get-started/04-trigger-workload-with-event.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,3 +226,6 @@ Received event: { orderCode: '3211213' }
</details>
</div>

That's it!

Go ahead and dive a little deeper into the Kyma documentation for [tutorials](../03-tutorials), [operation guides](../04-operation-guides), and [technical references](../05-technical-reference), as well as information on the [main areas in Kyma](../01-overview/). Happy Kyma-ing!
34 changes: 0 additions & 34 deletions docs/02-get-started/05-observability.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/02-get-started/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,5 @@ These guides cover the following steps:
1. [Deploy and expose a Function](02-deploy-expose-function.md), which shows how to deploy a sample function in a matter of seconds and how to expose it through the APIRule custom resource (CR) on HTTP endpoints. This way it will be available for other services outside the cluster.
2. [Deploy and expose a microservice](03-deploy-expose-microservice.md), which demonstrates how to create a sample microservice and, as before, how to expose it so that it is available for other services outside the cluster.
3. [Trigger your workload with an event](04-trigger-workload-with-event.md), which shows how to trigger your Function or microservice with a sample event.
4. [Observability](05-observability.md), which shows how to access the Grafana dashboard and view the logs and metrics for the Function.

Let's get started!
1 change: 0 additions & 1 deletion docs/02-get-started/_sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@
* [Deploy and expose a Function](02-deploy-expose-function.md)
* [Deploy and expose a microservice](03-deploy-expose-microservice.md)
* [Trigger a workload with an event](04-trigger-workload-with-event.md)
* [Observability](05-observability.md)
2 changes: 0 additions & 2 deletions docs/03-tutorials/00-observability.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ title: Observability

The following instructions describe the complete monitoring flow for your services in Kyma. You get the gist of monitoring applications, such as Prometheus, Grafana, and Alertmanager. You learn how and where you can observe and visualize your service metrics to monitor them for any alerting values.

Kyma comes with a Prometheus stack ([deprecated](https://github.com/kyma-project/website/blob/main/content/blog-posts/2022-12-09-monitoring-deprecation/index.md)), which is designed and sized to monitor Kyma's system components. We recommend to set up an additional Prometheus stack to monitor your custom metrics.

All the tutorials use the [`monitoring-custom-metrics`](https://github.com/kyma-project/examples/tree/main/prometheus/monitoring-custom-metrics) example and one of its services called `sample-metrics-8081`. This service exposes the `cpu_temperature_celsius` custom metric on the `/metrics` endpoint. This custom metric is the central element of the whole tutorial set. The metric value simulates the current processor temperature and changes randomly from 60 to 90 degrees Celsius. The alerting threshold in these tutorials is 75 degrees Celsius. If the temperature exceeds this value, the Grafana dashboard, PrometheusRule, and Alertmanager notifications you create inform you about this.

## Sequence of tasks
Expand Down
3 changes: 1 addition & 2 deletions docs/04-operation-guides/operations/02-install-kyma.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ A profile is defined globally for the whole Kyma installation. It's not possible
If you install Kyma on a remote cluster, you can use the out-of-the box `kyma.example.com` domain. All you need to do is get your load balancer IP address and add the following line to the `hosts` file:

```bash
{load_balancer_IP} grafana.kyma.example.com oauth2.kyma.example.com registry.kyma.example.com connector-service.kyma.example.com gateway.kyma.example.com
{load_balancer_IP} oauth2.kyma.example.com registry.kyma.example.com connector-service.kyma.example.com gateway.kyma.example.com
```

To install Kyma using your own domain name, you must provide the certificate and key as files. If you don't have a certificate yet, you can create a self-signed certificate and key:
Expand Down Expand Up @@ -123,7 +123,6 @@ prerequisites:
- name: "certificates"
namespace: "istio-system"
components:
- name: "monitoring"
- name: "eventing"
```
Expand Down
Loading

0 comments on commit dabe4dd

Please sign in to comment.