Skip to content
Open
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
10 changes: 9 additions & 1 deletion agent_installation_guide/APM/java.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,22 @@ sudo unzip newrelic-java.zip -d /opt/newrelic
NEW_RELIC_HOST=gmonit-collector.<DOMAIN>.ru #Домен коллектора GMonit
NEW_RELIC_APP_NAME="MY_AWESOME_APP" #Название приложения - замените на своё
```
Или в `newrelic.yml` (блок common):

```yaml
log_file_path: stdout
license_key: '0123456789-123456789-123456789-123456789'
app_name: MY_AWESOME_APP
host: gmonit-collector.<DOMAIN>.ru
```
Comment on lines +42 to +47

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

а зачем

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Потому что ниже по документации, буквально в трех строчках ниже, именно такой формат записи. И документация, без этих строк, не позволяет установить инфра агент с помощью файла конфига, т.к. непонятно какие параметры указывать.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

при чем тут инфра агент?
в каких случаях вообще нужна установка с конфигом?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Да, ошибся, не инфра, а апм джава. В случаях, когда установка через переменные окружения невозможна.


2. **Если используются самоподписанные сертификаты**
Необходимо явно указать путь до бандла сертификатов (через `newrelic.yml` или переменную окружения):

```bash
NEW_RELIC_CA_BUNDLE_PATH=/gmonit/ssl/rootCA.crt #Путь до файла с бандлом сертификатов
```
Или в `newrelic.yml`:
Или в `newrelic.yml` (блок common):

```yaml
ca_bundle_path: /gmonit/ssl/rootCA.crt
Expand Down
2 changes: 1 addition & 1 deletion examples/pilot-letsencrypt/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ x-loggin: &logging
services:
clickhouse:
restart: unless-stopped
image: clickhouse/clickhouse-server:23.3
image: clickhouse/clickhouse-server:24.8
environment:
CLICKHOUSE_USER: gmonit
CLICKHOUSE_PASSWORD: ${CLICKHOUSE_PASSWORD}
Expand Down
2 changes: 1 addition & 1 deletion examples/pilot/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ x-loggin: &logging
services:
clickhouse:
restart: unless-stopped
image: clickhouse/clickhouse-server:23.3
image: clickhouse/clickhouse-server:24.8
environment:
CLICKHOUSE_USER: gmonit
CLICKHOUSE_PASSWORD: ${CLICKHOUSE_PASSWORD}
Expand Down