Skip to content

Commit

Permalink
fix(docs): remove old GF_FEATURE_TOGGLES_ENABLE=flameGraph (#3446)
Browse files Browse the repository at this point in the history
  • Loading branch information
korniltsev authored Jul 31, 2024
1 parent ca28b5b commit 857ec2e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/sources/deploy-kubernetes/helm.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ Use a custom namespace so that you don't have to overwrite the default namespace
helm upgrade -n pyroscope-test --install grafana grafana/grafana \
--set image.repository=grafana/grafana \
--set image.tag=main \
--set env.GF_FEATURE_TOGGLES_ENABLE=flameGraph \
--set env.GF_INSTALL_PLUGINS=grafana-pyroscope-app \
--set env.GF_AUTH_ANONYMOUS_ENABLED=true \
--set env.GF_AUTH_ANONYMOUS_ORG_ROLE=Admin \
--set env.GF_DIAGNOSTICS_PROFILING_ENABLED=true \
Expand Down
11 changes: 8 additions & 3 deletions docs/sources/get-started/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,18 @@ Verify that you have installed [Docker](https://docs.docker.com/engine/install/)
1. In a new terminal, run a local Grafana server using Docker:

```bash
docker run --rm --name=grafana -p 3000:3000 -e "GF_FEATURE_TOGGLES_ENABLE=flameGraph" --network=pyroscope-demo grafana/grafana:main
docker run --rm --name=grafana \
--network=pyroscope-demo \
-p 3000:3000 \
-e "GF_INSTALL_PLUGINS=grafana-pyroscope-app"\
-e "GF_AUTH_ANONYMOUS_ENABLED=true" \
-e "GF_AUTH_ANONYMOUS_ORG_ROLE=Admin" \
-e "GF_AUTH_DISABLE_LOGIN_FORM=true" \
grafana/grafana:main
```

1. In a browser, go to the Grafana server at [http://localhost:3000/datasources](http://localhost:3000/datasources).

1. Sign in using the default username `admin` and password `admin`.

1. Use the following settings to configure a Pyroscope data source to query the local Pyroscope server:

| Field | Value |
Expand Down
2 changes: 1 addition & 1 deletion tools/grafana-phlare
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ docker run $DOCKER_ARGS --rm \
-v "${datasource_provisioning}:/etc/grafana/provisioning/datasources/phlare.yaml:ro" \
-v "$(pwd)"/grafana/phlare-datasource/dist:/var/lib/grafana/plugins/phlare-datasource \
-v "$(pwd)"/grafana/flamegraph/dist:/var/lib/grafana/plugins/flamegraph \
-e GF_FEATURE_TOGGLES_ENABLE=flameGraph \
-e GF_INSTALL_PLUGINS=grafana-pyroscope-app \
-e GF_INSTALL_PLUGINS=pyroscope-datasource,pyroscope-panel \
-e GF_DEFAULT_APP_MODE=development \
-e GF_AUTH_ANONYMOUS_ENABLED=true \
Expand Down

0 comments on commit 857ec2e

Please sign in to comment.