Giter VIP home page Giter VIP logo

Comments (3)

BBQigniter avatar BBQigniter commented on August 18, 2024 1

in it's current state you have to build the v2 plugin on your own.

i did try it a few weeks ago and kept partially to grafana's howtos - e.g. https://grafana.com/tutorials/build-a-panel-plugin/ but unfortunately i did not document it what I really had to do :( - but as I can see from my commandline history

you have to install yarn and nodejs
pull the repo
get into the folder
execute yarn install and yarn dev
if build is successful you should have a dist folder - copy this to e.g. /var/lib/grafana/plugins/devopsprodigy-kubegrafv2-app
restart grafana-server --- you might have to configure some lines in grafana.ini, so grafana allows you to use this unsigned plugin

like

[...]
[plugins]
# Enter a comma-separated list of plugin identifiers to identify plugins that are allowed to be loaded even if they lack a valid signature.
allow_loading_unsigned_plugins = devopsprodigy-kubegrafv2-app,devopsprodigy-kubegrafv2-ds
[...]

hope this helps for the moment

from kubegraf-v2.

artemdubik avatar artemdubik commented on August 18, 2024

Hi @BBQigniter , could you please suggest. I use "yarn dev" yarn run v1.22.17
and at the end I see 8 errors:

/root/kubegraf-v2/src/components/NamespaceCard.tsx
87:13 error Expected '!==' and instead saw '!=' eqeqeq

/root/kubegraf-v2/src/datasource/partials/KubegrafConfig.tsx
85:51 error ' can be escaped with ', ‘, ', ’ react/no-unescaped-entities
96:53 error ' can be escaped with ', ‘, ', ’ react/no-unescaped-entities

/root/kubegraf-v2/src/page/ApplicationsOverview.tsx
310:36 error Missing "key" prop for element in iterator react/jsx-key
318:33 error Missing "key" prop for element in iterator react/jsx-key

/root/kubegraf-v2/src/page/BasePage.tsx
228:50 error Expected '===' and instead saw '==' eqeqeq

/root/kubegraf-v2/src/page/ClustersList.tsx
158:20 error Missing "key" prop for element in iterator react/jsx-key

/root/kubegraf-v2/src/page/Config.tsx
70:13 error Using target="_blank" without rel="noreferrer" is a security risk: see https://html.spec.whatwg.org/multipage/links.html#link-type-noopener react/jsx-no-target-blank

from kubegraf-v2.

BBQigniter avatar BBQigniter commented on August 18, 2024

Hi, @brosseeliande,

sorry, cannot really help with this as I have no clue about the code :( and I didn't have time yet to try to build the latest source yet. Probably will have a look in the next few weeks again.

from kubegraf-v2.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.