Skip to content
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.

Update KubeGraf version to v1.5.0 #814

Merged
merged 8 commits into from
Jan 27, 2021
Merged

Conversation

SergeiSporyshev
Copy link
Contributor

New Features

  • Indicate when limits or requests are not setup for application
  • Add cpu/memory limits of containers to Nodes' overview page
  • Indicate cpu/memory usage of pod depending on the requests & limits on Nodes' overview page
  • Add cpu/memory limits of containers to deployments/statefulsets/daemonsets/pods dashboards
  • Hide empty namespaces on deployments/statefulsets/daemonsets dashboards
  • Add NAMESPACE for k8s-manifests #44
  • Sort alerts via priority
  • Little navigations improvements
  • Add hide-button for alerts' table

Bug Fixes

  • Compatibility with Grafana >= 7.3.* #48
  • Show memory/cpu usage of pod on pod's dashboard #41
  • Fix white theme on new versions of Grafana
  • Fix legends on all dashboards

@marcusolsson marcusolsson added type/app Categorizes the submission as a app plugin_update labels Jan 6, 2021
@marcusolsson
Copy link
Contributor

The plugin validator reports that the plugin.json is invalid.

It looks like the dependencies property is incorrectly placed under info rather than at root-level. Could you look into this?

@SergeiSporyshev
Copy link
Contributor Author

Hi, @marcusolsson .
Ok, thanks. I'll check it asap

@SergeiSporyshev
Copy link
Contributor Author

@marcusolsson fixed!
new version

@marcusolsson
Copy link
Contributor

Looks good! Moving this the review queue! You can follow the progress on the project board.

@SergeiSporyshev
Copy link
Contributor Author

Thanks, @marcusolsson .
Waiting for publish!

@SergeiSporyshev
Copy link
Contributor Author

SergeiSporyshev commented Jan 21, 2021

Hi, @marcusolsson
I found bug in your validator
In my new case i have message: dependencies.plugins.0: Invalid type. Expected: string, given: object
But documentation says, that it should be object

When i restarted grafana with plugin.dependencies like string, i have errors in grafana-logs like

t=2021-01-21T10:13:20+0000 lvl=eror msg="Failed to load plugin" logger=plugins error="json: cannot unmarshal string into Go struct field PluginDependencies.dependencies.plugins of type plugins.PluginDependencyItem" pluginPath=/var/lib/grafana/plugins/devopsprodigy-kubegraf-app/dist

@marcusolsson
Copy link
Contributor

The documentation is correct. I'm not sure why you're getting this error, as the validator web app should download the latest schema when you run it.

FYI the validator is also available as a CLI in case you want to run it on your local machine:

https://github.com/grafana/plugin-validator

I think we can ignore this error for now. Thanks for reporting this!

@marcusolsson
Copy link
Contributor

Published! 🎉

@marcusolsson marcusolsson merged commit 30403cc into grafana:master Jan 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/app Categorizes the submission as a app
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants