This repository was archived by the owner on Jul 19, 2023. It is now read-only.
Add boiler plate code for flamegraph and readme about dev setup #125
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 is to be used together with this proof of concept PR grafana/grafana#52057.
All of this is a Draft for now as the API probably needs some feedback.
To set this all up this needs some work which hopefully won't be needed in the future or can be streamlined.
To test
"@grafana/schema": "9.1.0-pre",
to"@grafana/schema": "9.0.4",
. We will link @grafana/data later on and the9.1.0-pre
version would not be recognized from Fire repocd grafana/data/plugins
ln -s fire/grafana/flamegraph
ln -s fire/grafana/fire-datasource
cd fire/grafana/flamegraph
yarn link grafana/packages/grafana-data
this will change theresolutions
part in package.json TODO: check if this can be relative path or how to prevent rewriting this all the timeyarn install
yarn build
cd fire/grafana/fire-datasource
yarn install
yarn build
mage -v
Now you should be able to create Fire data source and if you query it should load the flamegraph plugin (no UI yet though)