Skip to content
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 references to CC_PREVENT_LOGSCOLLECTION, CC_DISABLE_JVM_AGENT and CC_DISABLE_METRICS #132

Merged
merged 3 commits into from
Jan 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions content/doc/administrate/log-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ aliases:
type: docs
---

Log management is currently only available through our API and [clever-tools]({{< ref "/doc/CLI" >}}).
Log management is currently only available through our API and [clever-tools]({{< ref "/doc/CLI" >}}). They're collected and sent through the Vector service enabled in every application deployed on Clever Cloud. To disable it, set the `CC_PREVENT_LOGSCOLLECTION` environment variable to `true`.

{{< callout type="info">}}
Logs are currently retained for a maximum of 7 days. Logs are flushed daily at midnight.
Logs are currently retained for a maximum of 7 days, flushed daily at midnight.
You can use log drains if a greater retention is needed.
{{< /callout >}}

Expand Down
3 changes: 2 additions & 1 deletion content/doc/reference/reference-environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ So you can alter the build&start process for your application.
| Name | Description | Default value |
|-----------------------|------------------------------|--------------------------------|
|`APP_FOLDER` | Folder in which the application is located (inside the git repository) | |
|`CC_DISABLE_JVM_AGENT` | Disable JVM agent activation | |
|`CC_DISABLE_GIT_SUBMODULES` | Disable Git submodules initialization & synchronization | |
|`CC_DISABLE_METRICS` | Disable metrics collection. | false |
|`CC_PREVENT_LOGSCOLLECTION` | Disable Vector service used to collect and send logs | `false`|
|[`CC_HEALTH_CHECK_PATH`](/doc/develop/healthcheck) | Custom path to validate your application deployment | |
|`CC_NODE_VERSION`| Set Node.js version on non-Node.js application. Don't use it for Node.js applications, use [this](/doc/applications/javascript/nodejs/#select-node-version "Select node version") instead | |
|`CC_SSH_PRIVATE_KEY` | A ssh private key to setup for the user running your application | |
Expand Down
Loading