You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CONTRIBUTING.md
+6-1
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ Once you clone the repo locally in the grafana's plugin folder. Do the following
18
18
-`yarn` - This will install the frontend dependencies. Do this once
19
19
-`yarn watch` - For continuously watching the front-end changes and build
20
20
-`mage -v` - This will help to build the backend part of the plugin. Do this once if you are contributing only the frontend. There is no significant code is in the backend. So no much changes expected
21
-
-`docker-compose up` - To run the plugin with grafana locally. ( use infinity:infinity as the credentials )
21
+
-`docker-compose up` - To run the plugin with grafana locally. ( use infinity:infinity as the credentials ). You can also enable traces and logs with debug mode. Refer the **Setting up grafana in debug mode** section below
22
22
-`yarn test` - To make sure all the existing tests passed
23
23
24
24
## Setting up the plugin docs site locally
@@ -33,3 +33,8 @@ If you are creating a PR, ensure to run `yarn changeset` from your branch. Provi
33
33
## Releasing & Bumping version
34
34
35
35
To create a new release, execute `yarn changeset version`. This will update the Changelog and bump the version in `package.json` file. Commit those changes and then create a release tag by executing `git tag v1.4.1`. Then you can push the commit and tag by executing `git push && git push --tags`
36
+
37
+
## Setting up grafana in debug mode
38
+
39
+
- Ensure the loki docker plugin is installed `docker plugin install grafana/loki-docker-driver:2.9.1 --alias loki --grant-all-permissions`
40
+
- Start the docker from debug file `docker compose -f docker-compose-debug.yaml up`
0 commit comments