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.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Blackfire agent and full support #2448
Add Blackfire agent and full support #2448
Changes from 11 commits
a1d29c7
ad5528c
b4abffd
7d720c6
72f66e1
e25ba8b
092e3f7
f55d59e
840a1c3
3d8e538
a582349
c40e976
36ab47a
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Server Credentials may come from an environment the user is being part of.
Client credentials should be retrieved as well (Account/Credentials)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don' t really understand "may come from an environment the user is being part of" - but we can link to docs if you can point me to it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A Blackfire user may be part of an organization, and the latter may have one or several collaborative environments.
The easiest way is to use the personal credentials (the user inherit most of the org permissions), but doing so prevents the profiles to be shared within the team working in an environment.
See the documentation here: https://blackfire.io/docs/up-and-running/configuration/agent#configuring-the-agent-via-environment-variables. A user may have a dropdown menu like this:
![image](https://user-images.githubusercontent.com/313528/104603496-c5d5f900-567c-11eb-8b2c-f064aa4d353b.png)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed that this command doesn't append but replaces the env vars to the global
web_environment
setting.Is there a way to append variables instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The environment variable feature was just added in the previous PR (prompted by the need here, you used to have to do a docker-compose override), so I'm sure it will have some maturing to do. Most people just edit the appropriate configuration, the project .ddev/config.yaml or the global ~/.ddev/global_config.yaml - so that's the easiest way to just "edit" a set of env vars.