Comments (3)
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.
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubegraf-v2.