Skip to content

Commit

Permalink
Merge pull request #59 from intergral/logging
Browse files Browse the repository at this point in the history
feat(logging): added env variable for log level
  • Loading branch information
ibalal-intergral authored Oct 29, 2024
2 parents cdcd60f + b4958c3 commit cac6c00
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion linux/observability-agent-autoconf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ prometheus.remote_write "default" {
}
logging {
level = "debug"
level = "${log_level:-warn}"
format = "logfmt"
}
Expand Down
11 changes: 6 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,12 @@ To add integrations without being prompted for credentials, there are several en

### Ingest

| Variable | Type | Description |
|--------------------|----------|----------------------------------------------------------------|
| `api_key` | `string` | API Key to authenticate with your FusionReactor Cloud Account |
| `metrics_Endpoint` | `string` | Default: `https://api.fusionreactor.io/v1/metrics` |
| `logs_Endpoint` | `string` | Default: `https://api.fusionreactor.io/v1/logs` |
| Variable | Type | Description |
|--------------------|----------|--------------------------------------------------------------------------------------|
| `api_key` | `string` | API Key to authenticate with your FusionReactor Cloud Account |
| `metrics_Endpoint` | `string` | Default: `https://api.fusionreactor.io/v1/metrics` |
| `logs_Endpoint` | `string` | Default: `https://api.fusionreactor.io/v1/logs` |
| `log_level` | `string` | Sets the log level. Valid values: "error", "warn", "info", "debug". Default: "warn" |

### Metric Exporters

Expand Down

0 comments on commit cac6c00

Please sign in to comment.