Skip to content
This repository was archived by the owner on Apr 3, 2024. It is now read-only.

Add a configuration section to the README#170

Merged
DominicKramer merged 4 commits intogoogleapis:masterfrom
DominicKramer:fix/add-config-to-readme
Nov 2, 2016
Merged

Add a configuration section to the README#170
DominicKramer merged 4 commits intogoogleapis:masterfrom
DominicKramer:fix/add-config-to-readme

Conversation

@DominicKramer
Copy link
Copy Markdown
Contributor

This PR adds a configuration section to the README file that should have been added in PR #167.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 1, 2016
@DominicKramer
Copy link
Copy Markdown
Contributor Author

PTAL

README.md Outdated
* `GCLOUD_DEBUG_LOGLEVEL` specifies the debug level
* `GCLOUD_DEBUG_REPO_APP_PATH` specifies the path within your repository to the directory containing the `package.json` for your deployed application
* `GAE_MODULE_NAME` specifies the service name of the deployed application
* `GAE_MODULE_VERSION` specifies the version of the deployed application

This comment was marked as spam.

This comment was marked as spam.

README.md Outdated

Last, you can also provide configuration through a config file. You can start by copying the default config file and modifying it to suit your needs. The `GCLOUD_DIAGNOSTICS_CONFIG` environment variable should point to your configuration file.

Note that configuration options specified through environment variables take precedence over options passed to the start command, which take precedence over options specified in a config file.

This comment was marked as spam.

This comment was marked as spam.

The README file was updated so that only the configuration
object passed to the `start()` method is the documented way to
specify a configuration.
README.md Outdated

See [the default configuration](config.js) for a list of possible configuration options. These options can be passed to the agent through the object argument to the start command as shown below:
```
require('@google/cloud-debug').start({logLevel: 2});

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

Copy link
Copy Markdown
Contributor

@ofrobots ofrobots left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@DominicKramer DominicKramer merged commit 7166534 into googleapis:master Nov 2, 2016
@DominicKramer DominicKramer deleted the fix/add-config-to-readme branch November 2, 2016 20:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants