This repository has been archived by the owner on Mar 19, 2021. It is now read-only.
Update exporters keys and metrics names, Kubernetes API Versions and Fix dashboards #83
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request fully works with the following versions:
current - October-10-2019
Kubernetes: v1.16.1
[current v1.16.1]
Node exporter: v0.18.1
[current v0.18.1]
Kube-state-metrics: v1.8.0
[current v1.8.0]
Prometheus: v2.13.0
[current v2.13.0]
Grafana: v5.0.0-5.0.4
[current v6.4.2] *explained below
About the exporters:
The deploy button present in the plugin have the most updated version of the file. However you may need to re-check, since updates or permissions may have changed.
For a fully working solution you can use the code from the repository as stated below.
You can check this repository (under development) that contains the full stack where this pull request was tested, in order to fully work with the plugin and all the recent versions - https://github.com/andre-lx/grafana-prometheus-exporters
About prometheus config file:
The only thing that changed in the config file, is the replacement of the value present in the "instance" key in some metrics from the ip from the node, to the node name.
About grafana version:
!!! Javascript developer wanted !!!
The plugin works in the most recent versions, but the custom pannels created for version 5.0.0 starts to fail in some functionalities for versions 5.0.4+.
Aready debugged:
API Versions updates:
Component versions updates:
If you want to use this fork of the project:
If you don't have the plugin already installed, please install using the grafana cli
grafana-cli plugins install grafana-kubernetes-app
If you already have the plugin installed:
2.1 Go to your grafana plugins folder
2.2 Move/delete the plugin folder
mv grafana-kubernetes-app grafana-kubernetes-app.old
2.3
git clone https://github.com/andre-lx/kubernetes-app.git grafana-kubernetes-app
2.4 Restart grafana service
2.5 Go to your plugin config page inside grafana -> Dashboards -> Re-import the four dashboards