All Projects → devopsprodigy → Kubegraf

devopsprodigy / Kubegraf

Licence: mit
Grafana-plugin for k8s' monitoring

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Kubegraf

Cloudprober
An active monitoring software to detect failures before your customers do.
Stars: ✭ 1,269 (+267.83%)
Mutual labels:  monitoring, prometheus, grafana
Appmetrics
App Metrics is an open-source and cross-platform .NET library used to record and report metrics within an application.
Stars: ✭ 1,986 (+475.65%)
Mutual labels:  monitoring, prometheus, grafana
Pingprom
Prometheus uptime monitoring quickstart
Stars: ✭ 107 (-68.99%)
Mutual labels:  monitoring, prometheus, grafana
Prometheus
Kubernetes Setup for Prometheus and Grafana
Stars: ✭ 824 (+138.84%)
Mutual labels:  monitoring, prometheus, grafana
Hastic Server
Hastic data management server for analyzing patterns and anomalies from Grafana
Stars: ✭ 292 (-15.36%)
Mutual labels:  monitoring, prometheus, grafana
Hana sql exporter
SAP Hana SQL Exporter for Prometheus
Stars: ✭ 18 (-94.78%)
Mutual labels:  monitoring, prometheus, grafana
Heplify Server
HEP Capture Server
Stars: ✭ 110 (-68.12%)
Mutual labels:  monitoring, prometheus, grafana
Awesome Monitoring
INFRASTRUCTURE、OPERATION SYSTEM and APPLICATION monitoring tools for Operations.
Stars: ✭ 356 (+3.19%)
Mutual labels:  monitoring, prometheus, grafana
Docker Traefik Prometheus
A Docker Swarm Stack for monitoring Traefik with Promethues and Grafana
Stars: ✭ 215 (-37.68%)
Mutual labels:  monitoring, prometheus, grafana
Awesome Prometheus Alerts
🚨 Collection of Prometheus alerting rules
Stars: ✭ 3,323 (+863.19%)
Mutual labels:  monitoring, prometheus, grafana
Swagger Stats
API Observability. Trace API calls and Monitor API performance, health and usage statistics in Node.js Microservices.
Stars: ✭ 559 (+62.03%)
Mutual labels:  monitoring, prometheus, grafana
Example Prometheus Nodejs
Prometheus monitoring example with Node.js
Stars: ✭ 249 (-27.83%)
Mutual labels:  monitoring, prometheus, grafana
Cluster Monitoring
Cluster monitoring stack for clusters based on Prometheus Operator
Stars: ✭ 453 (+31.3%)
Mutual labels:  monitoring, prometheus, grafana
Giropops Monitoring
Full stack tools for monitoring containers and other stuff. ;)
Stars: ✭ 1,019 (+195.36%)
Mutual labels:  monitoring, prometheus, grafana
Dockprom
Docker hosts and containers monitoring with Prometheus, Grafana, cAdvisor, NodeExporter and AlertManager
Stars: ✭ 4,489 (+1201.16%)
Mutual labels:  monitoring, prometheus, grafana
Grafana
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
Stars: ✭ 45,930 (+13213.04%)
Mutual labels:  monitoring, prometheus, grafana
Github Monitoring
Monitor your GitHub Repos with Docker & Prometheus
Stars: ✭ 163 (-52.75%)
Mutual labels:  monitoring, prometheus, grafana
Beam Dashboards
BEAM ❤️ Prometheus ❤️ Grafana
Stars: ✭ 244 (-29.28%)
Mutual labels:  monitoring, prometheus, grafana
Netdata
Real-time performance monitoring, done right! https://www.netdata.cloud
Stars: ✭ 57,056 (+16437.97%)
Mutual labels:  monitoring, prometheus, grafana
Exporterhub.io
A Curated List of Prometheus Exporters
Stars: ✭ 252 (-26.96%)
Mutual labels:  monitoring, prometheus

DevOpsProdigy KubeGraf

Slack Url Telegram Url Change Log Project Site

Kubernetes plugin for Grafana

An updated version of the Grafana App for Kubernetes plugin (https://grafana.com/plugins/grafana-kubernetes-app), this plugin allows you to visualize and analyze your Kubernetes cluster’s performance. It demonstrates in graphics the main service metrics and characteristics of the Kubernetes cluster. It also makes it easier to examine the application’s life cycle and error logs.

Requirements

  1. Grafana > 5.0.0
  2. Prometheus + node-exporter + kube-state-metrics (version >= 1.4.0)
  3. Grafana-piechart-panel

Features

The plugin consists of three main info pages with detailed information about the Kubernetes cluster.

Applications overview

  • Logic map of applications;
  • Distribution of Kubernetes entities;
  • List of pod entities with life metrics;
  • Visual presentation of the application’s life cycle and its basic characteristics;
  • Description of the ports that allow access services in the cluster.

Pic. 1: Applications overview

Cluster status

  • Summary about the status of the cluster and the nodes within it;
  • Details of monitoring the application’s life cycle;
  • Visual presentation of where the services in the cluster servers are located.

Pic. 2: Cluster status

Nodes overview

  • Summary of cluster’s nodes;
  • Information about used and allocated resources (RAM, CPU utilization) and the number of pods;
  • Physical distribution of pods.

Pic. 3: Nodes overview

Dashboards

Besides providing general information on the main pages, the plugin allows you to track a cluster’s performance in graphs, which are located on five dashboards.

  • node dashboard

This is a dashboard with node metrics. It displays the employment of resources like CPU utilization, memory consumption, percentage of CPU time in idle / iowait modes, and disk and network status.

Pic. 4: Node dashboard

  • pod resources

Displays how much of the resources the selected pod has used.

Pic. 5: Pod resources

  • deployment dashboard

Pic. 6: Deployment dashboard

Pic. 7: Deployment dashboard

  • statefulsets dashboard
  • daemonsets dashboard

The above three dashboards show the number of available / unavailable application replicas and the status of containers in the pods of these applications, and trace containers’ restarts.

Installation

  1. Go to the plugins directory in Grafana:

    cd $GRAFANA_PATH/data/plugins

  2. Copy the repository:

    git clone https://github.com/devopsprodigy/kubegraf /var/lib/grafana/plugins/devopsprodigy-kubegraf-app and restart grafana-server

    or

    grafana-cli plugins install devopsprodigy-kubegraf-app and restart grafana-server.

  3. Create namespace "kubegraf" and apply Kubernetes manifests from kubernetes/ directory to give required permissions to the user grafana-kubegraf:

    kubectl create ns kubegraf
    kubectl apply -f https://raw.githubusercontent.com/devopsprodigy/kubegraf/master/kubernetes/serviceaccount.yaml
    kubectl apply -f https://raw.githubusercontent.com/devopsprodigy/kubegraf/master/kubernetes/clusterrole.yaml
    kubectl apply -f https://raw.githubusercontent.com/devopsprodigy/kubegraf/master/kubernetes/clusterrolebinding.yaml
    kubectl apply -f https://raw.githubusercontent.com/devopsprodigy/kubegraf/master/kubernetes/secret.yaml
    
  4. Create a grafana-kubegraf user private key and certificate on one of the master nodes:

    openssl genrsa -out ~/grafana-kubegraf.key 2048
    openssl req -new -key ~/grafana-kubegraf.key -out ~/grafana-kubegraf.csr -subj "/CN=grafana-kubegraf/O=monitoring"
    openssl x509 -req -in ~/grafana-kubegraf.csr -CA /etc/kubernetes/pki/ca.crt -CAkey /etc/kubernetes/pki/ca.key -out /etc/kubernetes/pki/grafana-kubegraf.crt -CAcreateserial
    

    Copy /etc/kubernetes/pki/grafana-kubegraf.crt to all other master nodes.

    or

    Get the token

    kubectl get secret grafana-kubegraf-secret -o jsonpath={.data.token} -n kubegraf | base64 -d
    
  5. Go to /configuration-plugins in Grafana and click on the plugin. Then click “enable”.

  6. Go to the plugin and select “create cluster”.

  7. Enter the settings of http-access to the Kubernetes api server:

    • Kubernetes master's url from kubectl cluster-info
    • Enter the certificate and key from step #4 "TLS Client Auth" section Or The token from step #4 in "Bearer token access" section
  8. Open the “additional datasources” drop-down list and select the prometheus that is used in this cluster.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].