Skip to content

stormalf/grafana_ibmi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

grafana_ibmi

trying to have grafana frontend working on IBMi

This repo will contain only the code changes to get grafana frontend working on IBMi. Not the full grafana code from https://github.com/grafana/grafana.git.

Gnu-make needs to be installed on IBMi.

LIMITS

Due to rust compiler not available on IBMi, the nx package manager is not able to build the grafana frontend. It means that we need to do the same workaround as mentionned for freebsd : grafana/grafana#89055

yarn run themes-generate => only this part for now works fine 
#yarn run generate-icons  => seems to use nx package manager, not working on IBMi
#yarn workspaces foreach --include="@grafana-plugins/*" --parallel -A run build => not working for now, not investigated yet
NODE_ENV=production yarn exec webpack --config scripts/webpack/webpack.prod.js --progress => fails

current status

Yarn run build fails at 92% with the following error : javascript heap out of memory when processing SourceMapDevToolPlugin.

same issue using :

cd grafana
make build-js

Solved by :

export NODE_OPTIONS="--max-old-space-size=8192" make build-js

next issue : make build-go failed due to incorrect constraints probably due to some go modules not having support/release for aix platform. Note also that it causes MCH5601 on some IBM program that crashes ssh connection.

The go module that doesn't manage aix is modernc.org/libc.

It means probably a lot of efforts and no confidence about grafana could be running on IBMi.

About

trying to have grafana frontend working on IBMi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published