Signed-off-by: Michel Hollands <michel.hollands@grafana.com>
This commit is contained in:
Michel Hollands 2023-06-23 14:20:11 +01:00
parent 69e6d0c910
commit 5a73fb9a21
5 changed files with 62 additions and 29 deletions

View File

@ -1,47 +1,37 @@
# meta-monitoring-chart
A meta-monitoring chart for GEL, GEM and GET.
This is a meta-monitoring chart for GEL, GEM and GET. It should be installed in a
separate namespace next to GEM, GEL or GET installations.
## Install this chart
## Preparation
1. Create the meta namespace
Create a values.yaml file based on the [default one](../charts/meta-monitoring/values.yaml).
```
kubectl create namespace meta
```
1. Add or remove the namespaces to monitor in the `namespacesToMonitor` setting
1. Create a values.yaml file
1. Set the cluster name in the `clusterName` setting. This will be added as a label to all logs, metrics and traces.
1. Install this helm chart
## Local and cloud modes
```
helm install -n meta meta ./charts/meta-monitoring
```
The chart has 2 modes: local and cloud. In the local mode logs, metrics and traces are sent
to small Loki, Mimir and Tempo installations running in the meta-monitoring namespace.
1. Upgrade
![local mode](docs/images/Meta%20monitoring%20local.png)
```
helm upgrade --install -n meta meta ./charts/meta-monitoring
```
To enable local mode set `local.enabled` to true.
1. Delete this chart:
In the cloud mode the logs, metrics and traces are sent to
```
helm delete -n meta meta
```
![cloud mode](docs/images/Meta%20monitoring%20cloud.png)
To enable cloud mode set `cloud.enabled` to true. The `endpoint`, `username` and `password` settings for your Grafana Cloud logs, metrics and traces instances have to be filled in as well.
## Update dependencies
Both modes can be enabled at the same time.
Run this in the charts/meta-monitoring directory after updating a dependency:
## More help topics
```
helm dependency update meta-monitoring
```
- [installation](docs/installation.md)
List dependencies:
```
helm dependency list meta-monitoring
```
Developer help topics
- [update dependencies](docs/dev_update_dependencies.md)

View File

@ -0,0 +1,16 @@
# Update the dependencies
The dependencies are the version of Loki, Mimir, Agent and so on that are included in this chart.
The current versions can be found in the [Chart.yaml](../charts/meta-monitoring/Chart.yaml) file.
Run this in the charts/meta-monitoring directory after updating a dependency:
```
helm dependency update meta-monitoring
```
List the current dependencies:
```
helm dependency list meta-monitoring
```

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

27
docs/installation.md Normal file
View File

@ -0,0 +1,27 @@
# Install this chart
1. Create the meta namespace
```
kubectl create namespace meta
```
1. Create a values.yaml file based on the [default one](../charts/meta-monitoring/values.yaml).
1. Install this helm chart
```
helm install -n meta meta ./charts/meta-monitoring
```
1. Upgrade
```
helm upgrade --install -n meta meta ./charts/meta-monitoring
```
1. Delete this chart:
```
helm delete -n meta meta
```