monitoring-stack
by data354
A Stack for managing logging and monitoring
About this chart
MS54 is a set of monitoring and logging tools (Loki, Grafana, Prometheus, FLuentd) that aims to facilitate the management of logs and the monitoring of metrics of several applications.
- Grafana is an open-source tool for creating and displaying interactive dashboards of metric data. It can be used to monitor the performance of systems and applications, and to identify trends and patterns that may indicate issues or problems.
- Prometheus is an open-source monitoring tool that is designed to be horizontally scalable and highly available. It is used to monitor the performance of systems and applications, and can be configured to send alerts when certain thresholds are breached.
- Loki is an open-source log aggregation and analysis tool that is designed to be used in conjunction with Grafana. It is designed to be horizontally scalable and can handle large volumes of log data.
- Fluentd is an open-source log aggregation and analysis tool that is designed to be used in distributed systems. It is used to collect, parse, and store log data from a variety of sources, and can be used to monitor the performance of systems and applications.
Prerequisites
Kubernetes 1.16+
Helm 3+
Managing package
Get Helm Repository Info
helm repo add data354-helm https://data354.github.io/helm
helm repo update
Installing Helm Chart
helm install [RELEASE_NAME] data354-helm/monitoring-stack
Note that the above command will install Superset into current namespace of your Kubernetes cluster. If you want to use another namespace specify it:
helm install [RELEASE_NAME] data354-helm/monitoring-stack --namesape monitoring-stack
monitoring-stack namespace which must exist before.
Uninstalling Helm Chart
helm uninstall [RELEASE_NAME]
This removes all the Kubernetes components associated with the chart and deletes the release.
See helm uninstall for command documentation.
Upgrading Helm Chart
helm upgrade [RELEASE_NAME] data354-helm/data-fair
Deploy monitoring-stack with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has monitoring-stack on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartmonitoring-stack is pinned at v1.4.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply